RE: Location/locationmatch on Windows install

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

 



Ok, I added RewriteLog and RewriteLogLevel 9 and have a rewrite log now.

When I hit that URL I get:

(3) [per-dir /htdocs/] applying pattern '^/(.*)$' to uri
'd:/oas10gr2/apache/apache/htdocs//testfororacle/index.html'
(1) [per-dir /htdocs/] pass through
d:/oas10gr2/apache/apache/htdocs//testfororacle/index.html 

I don't understand that, but does it confirm what you were thinking?
What should I change it to for a test?

Todd


-----Original Message-----
From: Eric Covener [mailto:covener@xxxxxxxxx] 
Sent: Monday, November 10, 2008 8:32 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Location/locationmatch on Windows install

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


---------------------------------------------------------------------
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