I'd greatly appreciate some help with a very basic htaccess problem. I am trying to use htacces to display the page www.mydomain.uk.com/home.php whenever someone types in www.mydomain.uk.com I have been trying to run a test, as soon as I upload a htaccess file and try and run the homepage I get this error Forbidden You don't have permission to access /home.php on this server. Apache/1.3.34 Server at www.mydomain.uk.com Port 80 I have stripped all the code out of the htaccess file to see which line caused the problem and it seems that as soon as I upload a page with the RewriteEngine on command this error occurs. Can anyone shed some light on this novices problem?
How about post your .htaccess file? As for making home.php index file in every directory, did you try the directoryindex directive? DirectoryIndex home.php Code (markup):
Well the htaccess file I was running was just a test file, but basically it went like this RewriteEngine on RewriteRule ^rewrite1.html$ rewrite2.html I tried removing all but the first line and the problem still arose,so basically as soon as I implement rewriteengine on then none of the pages on the server will display, the same error message appears for all of them