saifai
08-08-2006, 08:55 AM
My archive (http://www.saifai.co.uk/fanfic/index.php) uses PHP software. I added in an .htaccess file to make sure the index and 404 pages were set (I had set the index to a regular html file that used a redirect to get me to the PHP pages within the archive).
It didn't work and just brings up standard issue browser warnings for "forbidden" on the index and "page not found" for the 404 errors.
Without the .htaccess file, or a blank .htaccess file in place, the server tries to pull the index and 404 pages set for the root directory. If I visit the archive root (http://www.saifai.co.uk/fanfic), then it just throws me into a page using the html from my main index page (http://www.saifai.co.uk/). It's the same with the 404 page.
I can't figure out why the .htaccess file isn't working. No word yet from my servers.
My question: Is there a way for me to use me root .htaccess file to redirect requests to the proper pages?
It didn't work and just brings up standard issue browser warnings for "forbidden" on the index and "page not found" for the 404 errors.
Without the .htaccess file, or a blank .htaccess file in place, the server tries to pull the index and 404 pages set for the root directory. If I visit the archive root (http://www.saifai.co.uk/fanfic), then it just throws me into a page using the html from my main index page (http://www.saifai.co.uk/). It's the same with the 404 page.
I can't figure out why the .htaccess file isn't working. No word yet from my servers.
My question: Is there a way for me to use me root .htaccess file to redirect requests to the proper pages?