mbenam Posted June 4, 2005 Report Share Posted June 4, 2005 Hello, I am trying to check whether mod_rewrite is working on my installation or not. I have ensured that mod_rewrite is not commented out in the http.conf at \usr\local\apache2\conf. At docroot I have two files test.html and test2.html. I tried to access http://localhost/test.html using the following .htaccess file and get a 403 forbidden error. Order Deny,AllowDeny from allAllow from 127.0.0.1 RewriteEngine OnRewriteRule ^test.html$ /test2.html [R=301] If I delete the first 3 lines then I get a 500 Internal Server Error. Can anyone please help me out here? Thanks. mbenam. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.