Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Mod ReWrite

  1. #1
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts

    Mod ReWrite

    Code:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator, cfWEBADMIN and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    
    More information about this error may be available in the server error log.
    from the code.
    Code:
    Options +FollowSymlinks
    RewriteEngine on
    
    RewriteRule ^contact/(.+)/?$ contact.php?subject=$1
    and link www.jamiewest.org.uk/contact/advertising
    Last edited by rafiki; 03-12-2008 at 08:09 PM.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    1) Its possible the server doesn't allow htaccess
    2) Your rewriterule is likely incorrect. I don't know enough htaccess to help you though but I think the rule is incorrect.
    Actually try this
    Code:
    RewriteEngine on
    RewriteRule ^contact/([A-Za-z0-9-]+)/?$ contact.php?subject=$1  [L]
    Last edited by _Aerospace_Eng_; 03-12-2008 at 10:13 PM.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts
    I think your right, my host doesn't support .htaccess


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •