> -----Original Message----- > From: nocturnal [mailto:[EMAIL PROTECTED] > Sent: Friday, October 20, 2006 10:55 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Problems using RewriteRules in .htaccess > > Hi > > I've used mod_rewrite in my vhost before but now i need to move the > rules into a .htaccess file so i read the 2.2 manual and took the > following steps. Made sure FollowSymLinks was in Options in > the vhost, > made sure i had AllowOverride FileInfo and then i simply placed > RewriteEngine on and my RewriteRules in my .htaccess files. I > got no 500 > errors as you do when the .htaccess file is wrong but the > rules simply > refused to work. I find no errors at all in error_log that > tell me why > the rules are not working. They worked just fine when i had > them in my > vhost. > > What steps have i missed?
Are you sure the .htaccess file is really being read? Put a deliberate error in it and check the error is detected... Switch on the rewrite log and look in there (see docs for details). Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > This is everything i have in one of the .htaccess files i'm trying to > get working. > > RewriteEngine on > RewriteRule ^/([A-Za-z\-\_]+)$ /podwiki.pl?page=$1 [PT] > -- > > > > Med vänliga hälsningar > > Stefan Midjich aka nocturnal > [Swehack] http://swehack.se > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP > Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]