[mod_python] Mod_Python and RewriteRule

Nathan C. Tresch nathan at yapta.com
Wed Apr 11 18:30:52 EDT 2007


We're using Myghty and Mod_Python.  The following RewriteRule produces a
404:

RewriteRule /trip-([0-9]*)/.*/ /user/trip.myt\?tab=airlines&id=$1 [L]

Previously, before we converted to PHP, the rule looked like this:

RewriteRule /trip-([0-9]*)/.*/ /user/trip.php\?tab=airlines&id=$1 [L]

This worked.

Can anyone tell me what gives?






-- 
Nathan C. Tresch
Software Engineer
YapTA! Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070411/7705d3c0/attachment.html


More information about the Mod_python mailing list