httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject Re: svn commit: r1132802 - in /httpd/httpd/trunk/docs/manual: mod/mod_setenvif.xml rewrite/access.xml rewrite/intro.xml rewrite/rewritemap.xml ssl/ssl_faq.xml ssl/ssl_howto.xml vhosts/examples.xml
Date Thu, 09 Jun 2011 06:58:37 GMT
On Thursday 09 June 2011, Ruediger Pluem wrote:
> On 06/07/2011 12:09 AM, sf@apache.org wrote:
> > Author: sf
> > Date: Mon Jun  6 22:09:22 2011
> > New Revision: 1132802
> > 
> > URL: http://svn.apache.org/viewvc?rev=1132802&view=rev
> > Log:
> > purge some useless uses of '.*'
> > 
> > Modified:
> >     httpd/httpd/trunk/docs/manual/mod/mod_setenvif.xml
> >     httpd/httpd/trunk/docs/manual/rewrite/access.xml
> >     httpd/httpd/trunk/docs/manual/rewrite/intro.xml
> >     httpd/httpd/trunk/docs/manual/rewrite/rewritemap.xml
> >     httpd/httpd/trunk/docs/manual/ssl/ssl_faq.xml
> >     httpd/httpd/trunk/docs/manual/ssl/ssl_howto.xml
> >     httpd/httpd/trunk/docs/manual/vhosts/examples.xml


> > -RewriteRule .* - [F]
> > +RewriteRule . - [F]
> 
> Can we have empty URLs? If yes the above change changes the result
> of rule for those.

No, I don't think so. But I could change the regexp to ^ if you want.

> >  #   Allow Network Access and/or Basic Auth
> >  Satisfy              any
> > 
> > Modified: httpd/httpd/trunk/docs/manual/vhosts/examples.xml
> > URL:
> > http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/vhost
> > s/examples.xml?rev=1132802&r1=1132801&r2=1132802&view=diff
> > ================================================================
> > ============== ---
> > httpd/httpd/trunk/docs/manual/vhosts/examples.xml (original) +++
> > httpd/httpd/trunk/docs/manual/vhosts/examples.xml Mon Jun  6
> > 22:09:22 2011 @@ -562,7 +562,7 @@
> > 
> >          # primary vhost<br />
> >          DocumentRoot /www/subdomain<br />
> >          RewriteEngine On<br />
> > 
> > -        RewriteRule ^/.* /www/subdomain/index.html<br />
> > +        RewriteRule . /www/subdomain/index.html<br />
> 
> Can we have URLs not starting with /? If yes the above change
> changes the result of rule for those.

Not in server-context (which this example is about). But since I think 
we can have URLs not starting with / in directory context, maybe I 
should change that back to "^/".

Mime
View raw message