hwg-servers archives | Aug 2001 | new search | results | previous | next |
mod_rewrite and .htaccessby "Mark Harvey" <mark.harvey(at)bigfoot.com> |
|
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