httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Problems using RewriteRules in .htaccess
Date Fri, 20 Oct 2006 11:52:46 GMT
> -----Original Message-----
> From: nocturnal [mailto:nocturnal@swehack.se] 
> Sent: Friday, October 20, 2006 10:55 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] 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: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
 
 
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message