Hello, I have the following Virtual Host where I am trying to set rewrite rules.
I have one specific page madev.oed.umn.edu/stuff.html which I am trying to redirect to https://diversity.umn.edu/disability/request/exam location. All the other pages are redirected to a single page: https://diversity.umn.edu/disability/dsredirect . I am having trouble redirecting the single page. Whenever I go to madev.oed.umn.edu/stuff or /stuff.html I always get redirected to https://diversity.umn.edu/disability/dsredirect . I tried clearing browser cashes, but that didn't help. Thanks for any suggestions. <VirtualHost 128.101.172.13:80> DocumentRoot /var/www/html/contaodev ServerName madev.oed.umn.edu RewriteEngine on RewriteRule ^stuff$ https://diversity.umn.edu/disability/request/exam[R=301,L] RewriteRule ^(.*) https://diversity.umn.edu/disability/dsredirect [R=301,L] #RewriteRule /.* https://diversity.umn.edu/disability/dsredirect <Directory "/var/www/html/contaodev"> allow from all Options +Indexes </Directory> </VirtualHost> -- Tonu Mikk