httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] Location/locationmatch on Windows install
Date Mon, 10 Nov 2008 13:31:39 GMT
On Mon, Nov 10, 2008 at 8:14 AM, Randall, Todd
<todd.randall@itec.suny.edu> wrote:
> Thanks Andre,
>
> I'm all for trying anything at this point, no matter how far of a long shot it is.
>
> Here was my latest test:
>
> <VirtualHost *:81>
>    ServerName yippidy.doodaa.com
>    DocumentRoot "D:/oas10gR2/Apache/Apache/htdocs/testfororacle"
>    DirectoryIndex index.htm
>    Alias /htdocs D:/oas10gR2/Apache/Apache/htdocs/
>
>    <Location /htdocs>
>        order deny,allow
>        allow from all
>        RewriteEngine On
>        RewriteRule ^/(.*)$ http://yippidy.doodaa.com/index.html.en [L,R]
>    </Location>
>
> </VirtualHost>
>
> I then tried going to the url http://yippidy.doodaa.com/htdocs/testfororacle/index.html
hoping it would rewrite to http://yippidy.doodaa.com/index.html.en, but alas, it did not :-(

Doesn't "^/" always fail to match when used inside Location/Directory
just like in htaccess?

See RewriteLog.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message