httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonu Mikk <>
Subject [users@httpd] re-write rule
Date Thu, 06 Dec 2012 16:27:57 GMT
Hello, I have the following Virtual Host where I am trying to set rewrite

I have one specific page which I am trying to
redirect to location.
 All the other pages are redirected to a single page: .

I am having trouble redirecting the single page. Whenever I go to or /stuff.html I always get redirected to .  I tried clearing browser
cashes, but that didn't help.

Thanks for any suggestions.

DocumentRoot /var/www/html/contaodev
RewriteEngine on
RewriteRule ^stuff$[R=301,L]
RewriteRule ^(.*) [R=301,L]
#RewriteRule /.*
<Directory "/var/www/html/contaodev">
allow from all
Options +Indexes

Tonu Mikk

View raw message