Re: Location/locationmatch on Windows install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 10, 2008 at 8:14 AM, Randall, Todd
<todd.randall@xxxxxxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux