httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapas Mishra <mightydre...@gmail.com>
Subject [users@httpd] rewrite rule tutorial on ask apache I could not understand syntax
Date Tue, 15 Jun 2010 12:42:46 GMT
http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html

 is a link to a tutorial which mentions following use of ReWriteRule is wrong.

RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.askapache\.com$ [NC]
RewriteRule .+ http://www.askapache.com%{REQUEST_URI}

I could not understand what is the mistake in the above rule?
Can some one point what is the error which the tutorial is trying to tell.

-- 
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message