re-write rule
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
:
users@xxxxxxxxxxxxxxxx
Subject
: re-write rule
From
: Tonu Mikk <
tmikk@xxxxxxx
>
Date
: Thu, 6 Dec 2012 10:27:57 -0600
Reply-to
:
users@xxxxxxxxxxxxxxxx
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
Follow-Ups
:
Re: re-write rule
From:
Pete Houston
Prev by Date:
Re: Android device ID not show on access_log
Next by Date:
Re: re-write rule
Previous by thread:
Android device ID not show on access_log
Next by thread:
Re: re-write rule
Index(es):
Date
Thread
[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]