httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Mehler <dave.meh...@gmail.com>
Subject [users@httpd] redirect vs. rewrite
Date Mon, 26 Jun 2017 19:16:18 GMT
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message