Need help for setup rewrite rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx or www.domain.com/ss@xxxxxxx 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@xxxxxxx (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@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]

  Powered by Linux