httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall, Todd" <todd.rand...@itec.suny.edu>
Subject RE: [users@httpd] Location/locationmatch on Windows install
Date Mon, 10 Nov 2008 13:42:40 GMT
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@gmail.com] 
Sent: Monday, November 10, 2008 8:32 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Location/locationmatch on Windows install

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


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