The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Trying to use mod_rewrite on cpanel for php get is giving me a internal server error.

Discussion in 'General Discussion' started by housefire, Mar 8, 2009.

  1. housefire

    housefire Member

    Joined:
    Jun 24, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    My .httacess file looks like this:



    RewriteEngine on
    RewriteLog /home/myuser/reDirectLogs/log.txt
    RewriteLogLevel 1


    RewriteCond %{QUERY_STRING} id=([^&;]*)
    RewriteRule ^/$ http://%{SERVER_NAME}/stores/%1/? [R]
    RewriteRule ^/([^/]*)/?$ /index.php?id=$1 [L]




    Anyone got ideas why its not working?
     
Loading...

Share This Page