Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users
issue with rewrite rule with .htaccess
 

Index | Next | Previous | View Flat


arunkumar.webadmin at gmail

Apr 30, 2012, 11:32 AM


Views: 103
Permalink
issue with rewrite rule with .htaccess

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

Subject User Time
issue with rewrite rule with .htaccess arunkumar.webadmin at gmail Apr 30, 2012, 11:32 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.