redirect vs. rewrite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users <users@xxxxxxxxxxxxxxxx>
- Subject: redirect vs. rewrite
- From: David Mehler <dave.mehler@xxxxxxxxx>
- Date: Mon, 26 Jun 2017 15:16:18 -0400
- Reply-to: users@xxxxxxxxxxxxxxxx
Hello,
I'm using apache 2.4. What is the difference between these lines?
Redirect permanent / http://www.domain.com
RewriteRule ^/?(.*) http://www.domain.com/$1 [R,L]
They both redirect.
Thanks.
Dave.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-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]