httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CSN <cool_screen_name90...@yahoo.com>
Subject [users@httpd] mod_rewrite turning // into /
Date Thu, 14 Oct 2004 21:37:37 GMT
I want to have urls like this:
/link/http://www.apache.org

rewritten to:
/link.php?url=http://www.apache.org

Here's my mod_rewrite line:
RewriteRule ^link/(.+)$ /link.php?url=$1 [QSA,L]

It appears that "url" is getting the // changed to a
single / i.e. "http:/www.apache.org". Any help?

Thanks,
CSN


		
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com

---------------------------------------------------------------------
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