[users@httpd] Problems using RewriteRules in .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux