mod_rewrite and .htaccess
by "Mark Harvey" <mark.harvey(at)bigfoot.com>
|
| Date: |
Thu, 30 Aug 2001 20:30:53 +0100 |
| To: |
<hwg-servers(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
Hi,
Can anyone help me with .htaccess and mod_rewrite on Apache?
I'm trying to use mod_rewrite to intercept calls for pages with .htm or
.html and serve a .php page instead. I don't want to just change the page
names because of the search engines and any users who have bookmarked the
page.
I have followed the example in the Apache manual and while it works ok in
the root html directory on my Mandrake 8.0 test box, subdirectories cannot
be accessed and if I upload it to the server, NO pages are served up just
blocked/bad gateway.
My .htaccess file correctly handles error 404 to a custom page.
Please - I'm tearing my hair out! (and I didn't have much left before!)
Many thanks in advance,
Mark Harvey
--
For information on Newquay and it's surrounding area,
http://www.Newquay-Plus.co.uk
HWG: hwg-servers mailing list archives,
maintained by Webmasters @ IWA