www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Jones <ho...@thingy.com>
Subject mod_rewrite/5733: "On-the-fly Content-Regeneration" will not work as described.
Date Thu, 10 Feb 2000 12:53:06 GMT

>Number:         5733
>Category:       mod_rewrite
>Synopsis:       "On-the-fly Content-Regeneration" will not work as described.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          doc-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Feb 10 05:00:01 PST 2000
>Originator:     howie@thingy.com
>Release:        1.3.11
Redhat Linux 6.1 fresh install (kernel 2.2.12)
"RewriteCond %{REQUEST_FILENAME}   !-s
RewriteCond ^page\.html$          page.cgi   [T=application/x-httpd-cgi,L]"

1) The second RewriteCond should be a RewriteRule.
2) the -s and -f checks seem  to just do a stat() on what they are given, anyway, so unless
your documentroot is / then the file will never exist?
3) Under what conditions *would* this work? :)
Subst RewriteCond for RewriteRule in second line.
Add note, or additional info into file-test section to clarify if they check URIs or files
(this example implies URIs, the docs says 'file').
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message