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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    905
    Thanks
    23
    Thanked 5 Times in 5 Posts

    mod_rewrite causing 500 internal error.

    Hi There,

    I'm trying to get rid of the exstension for files in one of my directorys..

    For example if you type site.com/page2 it will display the content of site.com/page2.php without displaying the file ext... however I have got a 500 error... here.

    The code I'm using is
    Options +FollowSymLinks
    rewriteEngine On
    RewriteRule ^(.*) /$1.php
    rewriteLog /public_html/logs/rewrite.log
    I have removed the log line however that makes no difference so it rules out that.
    Any ideas? Cheers

    P

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Location
    UK
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Have you checked out your error log? It will normally say why the 500 error is occuring


  •  

    Posting Permissions

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