phplinkdirectory url rewrite

Discussion in 'Site & Server Administration' started by Solicitors Mortgages, Feb 12, 2006.

  1. #1
    i am having an issue getting the url rewrite to work with phpLD,
    can anyone suggest a fix for this? anyone have an issue with this before?

    It's all installed as per instructions (4 times :D ), and i even did the cmod that creates 3 different extentions if you want them off/classic/dot html.... but the server just won't pull the pages :confused: I just get error500.

    some of you must have got it working...:eek:
     
    Solicitors Mortgages, Feb 12, 2006 IP
  2. stuw

    stuw Peon

    Messages:
    702
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try posting in the phpld forum?
     
    stuw, Feb 12, 2006 IP
  3. Solicitors Mortgages

    Solicitors Mortgages Well-Known Member

    Messages:
    2,217
    Likes Received:
    139
    Best Answers:
    0
    Trophy Points:
    103
    #3
    yep... no beans there so far.

    more info

    if i have .htaccess i get 'internal server error 500'
    if i change it to .htaccess_bak i get a '404 error'

    (don't know if that helps) also have tried it on both mysql 4 and 5 :(
     
    Solicitors Mortgages, Feb 12, 2006 IP
    bentong likes this.
  4. stuw

    stuw Peon

    Messages:
    702
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #4
    sounds like an error in your .htaccess file then. Pm me it and I'll compare it to mine
     
    stuw, Feb 12, 2006 IP
  5. Solicitors Mortgages

    Solicitors Mortgages Well-Known Member

    Messages:
    2,217
    Likes Received:
    139
    Best Answers:
    0
    Trophy Points:
    103
    #5
    thanks for trying Stuw.

    let's try another angle..is there anyone out there running phplinksdirectory who is hosted with 1and1 ?

    if so...how are you getting it to apply the url-rewrite? it doesn't seem to want to work :(
     
    Solicitors Mortgages, Feb 13, 2006 IP
  6. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #6
    S_M: Do you have FrontPage server extensions installed for your site? If so, are you using them or can they be uninstalled? It seems that there are problems on some server configurations getting mod_rewrite to work with FP extensions, even if mod_rewrite is enabled.

    If no, have you asked 1-and-1 if they have mod_rewrite enabled?
     
    minstrel, Feb 13, 2006 IP
  7. best-p4u

    best-p4u Peon

    Messages:
    229
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It seems the problem of your apache config..

    I have the same experence before...

    Do you maintain the web server yourself??
     
    best-p4u, Feb 13, 2006 IP
  8. Solicitors Mortgages

    Solicitors Mortgages Well-Known Member

    Messages:
    2,217
    Likes Received:
    139
    Best Answers:
    0
    Trophy Points:
    103
    #8
    hey best p4u :) I saw you had the same problem (saw your post in the phpLD forum) and i actually emailed you through your site 2 days ago :D ..no reply yet :p LOL what did you do to fix it? I an keen to know.
    It is not my server, it's shared hosting on 1and1

    Minnie... I think mod rewrite is enabled as i already have put a 301 up there and it works fine.... this would mean it's enabled for all insatances?

    i don't use FP extentions on the site, but it may well be installed on the server and sitting there redundant.

    Is there a way i can make Just 1 simple page, upload it...and then do a rewrite for it ...to kind of test if it works? (i have never tried a url rewrite before...so humour me)

    TIA....
     
    Solicitors Mortgages, Feb 14, 2006 IP
  9. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #9
    Not necessarily. If you used "Redirect 301" for the redirection rather than mod_rewrite, that will work even if mod_rewrite is not enabled, because it's a different command/module.
     
    minstrel, Feb 14, 2006 IP
  10. stuw

    stuw Peon

    Messages:
    702
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I'd check with 1and1 about mod rewrite being enabled
     
    stuw, Feb 15, 2006 IP
  11. jimkarter

    jimkarter Notable Member

    Messages:
    5,168
    Likes Received:
    347
    Best Answers:
    0
    Trophy Points:
    235
    #11
    Just give it a try.

    Some server hosts don't allow some specific tags into .htaccess files and "Options" is one of them. If you are using "Options +Indexes" in your .htaccess try removing it and adding "RewriteBase /" (or whatever the directory path is) into it.

    Do let us know if this works. It worked for my similar directory which i installed.
     
    jimkarter, Feb 15, 2006 IP
  12. jimkarter

    jimkarter Notable Member

    Messages:
    5,168
    Likes Received:
    347
    Best Answers:
    0
    Trophy Points:
    235
    #12
    Also if you are not using "Options" tag at all just try adding "RewriteBase /" tag.
     
    jimkarter, Feb 15, 2006 IP