www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Haase-Thomas <...@meome-ag.de>
Subject mod_rewrite/9449: unary flags (-f/ -s) don't work anymore
Date Fri, 11 Jan 2002 11:32:35 GMT

>Number:         9449
>Category:       mod_rewrite
>Synopsis:       unary flags (-f/ -s) don't work anymore
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Jan 11 03:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     mht@meome-ag.de
>Release:        1.3.22 + mod_caucho
>Organization:
apache
>Environment:
Linux 2.2.19pre17 Debian i686 
>Description:
I am trying to configure apache for delivery of static html files in case they exist. 
(These files - if they exist - have been exported before.) However, the following lines
in httpd.conf don't work with 1.3.22:

# these two lines work, they are put here just for a better understanding:
RewriteCond %{REQUEST_FILENAME} !/html/
RewriteRule (.*/)dyn(/.*) $1html$2 [NS,C,QSA]   # dyn is handled by mod_caucho
# this line fails:
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} -s

Please note, that I thoroughly checked the logs and all permissions. There
are no typos whatsoever. 
Example: There is an existing file named 
'/home/application/html/portal_jsp/50765.html', all permissions are ok. 
However, the rewrite_log reports:  => not matched
I think this is a bug.

>How-To-Repeat:
see above
>Fix:
should be quite simple ;)
>Release-Note:
>Audit-Trail:
>Unformatted:
 [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!     ]
 
 


Mime
View raw message