Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rewrite failure - clash with 303?

Status
Not open for further replies.

RobBroekhuis

Technical User
Oct 15, 2001
1,971
0
0
US
I'm trying to put a rewrite rule in place - for a specific file for now, to be broadened more generally when the specific one works. I have in plants/.htaccess:

Code:
RewriteEngine on
RewriteBase /plants
RewriteRule ^AcantMolli$ AcantMolli.php

A request for /plants/AcantMolli fails with a 404. If I change the rule to
Code:
RewriteRule ^AcantMollis$ AcantMolli.php

a request for /plants/AcantMollis produces the expected result. Is the rewrite engine clashing with other Apache mechanisms for disambiguating mis-spelled requests?

Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top