Any one running PHPLD on 1AND1?

Discussion in 'Directories' started by nsmchris, Nov 16, 2006.

  1. #1
    I've switched hosting to 1and1 and I'm trying to setup PHPLD 3.06. I got everything over and it runs fine without url rewrite. However, with url rewrite I get 404's. I've read everything I can about the problem, but have banged my head for 4 hrs with no success.

    1and1 assures me that I have mod_rewrite access. Does anybody on 1and1 have a .htaccess file that works?

    thanks,

    chris...
     
    nsmchris, Nov 16, 2006 IP
    irka likes this.
  2. nsmchris

    nsmchris Active Member

    Messages:
    350
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    68
    #2
    I should have waited 4hrs and 35mins before I posted. I finally got it to work by hobbling several suggestions together. So if you are on 1and1 using PHPLD in a subdirectory this is what worked for me.

    commented out the options lines and added a RewriteBase / with the subdir.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /subdir
    ....

    Good Luck,

    Chris...
     
    nsmchris, Nov 16, 2006 IP
  3. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #3
    1. add a website
    2. send me your ftp info. (host/user/pswd)
    3. turn url rewrite on for me.
     
    an0n, Nov 16, 2006 IP
  4. EveryQuery

    EveryQuery Well-Known Member

    Messages:
    2,039
    Likes Received:
    366
    Best Answers:
    0
    Trophy Points:
    180
    #4
    1and1 is a fine host but for some reason the standard .htaccess of phpLD has never worked for me either, as I have several directories hosted there. Glad you got it working.
     
    EveryQuery, Nov 16, 2006 IP
  5. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #5
    RewriteBase /

    isn't always the solution. trust me on that. glad its working for you with only that addition though.
     
    an0n, Nov 16, 2006 IP
  6. -Achilles-

    -Achilles- Banned

    Messages:
    166
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I use 1and1 with phpLD and I haven't run into any problems yet.
     
    -Achilles-, Nov 17, 2006 IP
  7. WTM

    WTM Peon

    Messages:
    500
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #7
    There is one more trick you have to do if using 1and1 hosting otherwise "link details" page may not work.

    This is how beginning of your .htaccess file has to look for all features to work with 1and1 server:
    # enable mod_rewrite
    Options -MultiViews
    
    RewriteEngine on
    RewriteBase /
    Code (markup):
    If your directory is installed in subfolder than change:
    RewriteBase /Subfolder_Name/
    Code (markup):
     
    WTM, Nov 18, 2006 IP
    nsmchris likes this.
  8. Searchnology.com

    Searchnology.com Peon

    Messages:
    451
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #8
    How deep does the URL rewrite suppose take place?

    For me the rewrite happens for the top level categories only. Are sub categories suppose to rewrite to SEO friendly URLs as well?

    Same question for details pages.

    My site is www.searchnology.com

    Thanks,

    Kevin
     
    Searchnology.com, May 6, 2007 IP