httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s7r <...@sky-ip.org>
Subject [users@httpd] Need help for setup rewrite rule
Date Tue, 24 Apr 2012 22:27:03 GMT
Hello,

I need some help in setting up a Rewrite condition & Rule in .htaccess

My goal:
I want all requests which contain "@" to be forwarded to another path. 
Clear example:
Let's say I own domain.com
I would like all requests like domain.com/ss@sada.ss or 
www.domain.com/ss@sada.ss to be forwarded (or 301 permanently moved I 
don't know how it is best for performance) to the following path:
domain.com/uploads/list.php?email=ss@sada.ss (or whatever the string 
after domain.com/ is)

so: http://domain.com/$1 to http://domain.com/uploads/list.php?email=$1

Thanks in advance for your help!

s7r

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message