issue with rewrite rule with .htaccess
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
All,
I have a site hosted at 1and1 where it is a simple PHP site configured on Apache, while I am trying to write a rewriterule like below.
RewriteRule ^Feature/(.*)?$ Page_Feature.php?kfname=$1 [R=301,NC,L]
The result always returns the flag with .php as parameter.
C:\>wget www.test.com/Feature/whoweare
--14:28:47-- http://www.test.com/Feature/whoweare
=> `whoweare.2'
Resolving www.test.com... x.x.x.x.
Connecting to www.test[*]:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.test.com/Page_Feature.php?kfname=.php/whoweare [followin
g]
Any advice ?
--
Best Regards,
Arun Janarthanan
http://www.linkedin.com/in/arunjanarthanan
http://www.facebook.com/arun.janarthanan
http://twitter.com/#!/ArunJanarthanan
[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]