httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall, Todd" <>
Subject [users@httpd] Location/locationmatch on Windows install
Date Fri, 07 Nov 2008 12:44:19 GMT
Hi All,

I've searched and searched and can't find any pertinent info.  Please
believe me, I'm sending to this list as my last resort.

Is there some trick to location or locationmatch syntax on an Apache on
Windows installation vs. an Apache on Unix / Linux installation?  I
suppose I should also tell you this is Apache built into the Oracle
Application Server, which is an older version,  I also have
a support ticket open with Oracle for a good week now.

I have this code, at the very end of the httpd.conf file, on a Linux
installation, and it works perfectly fine:

<LocationMatch ^.*/pls/test.*>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^8543$
    RewriteRule ^/(.*)${REQUEST_URI}

The same exact version/installation of Apache on a Windows XP Server,
same code, same place in the httpd.conf file, will not work.  I can
comment out the LocationMatch, and the rewrite kicks in and works fine,
but for the life of me I cannot get the LocationMatch to kick in.  I've
even just tried a Location test (using just http in case https was
buggy) on a simple directory like this:

<VirtualHost *:81>
    DocumentRoot "D:\oas10gR2\Apache\Apache\htdocs\testfororacle"
    DirectoryIndex index.htm
    Alias /htdocs D:\oas10gR2\Apache\Apache\htdocs/

<Location /htdocs/testfororacle>
   RewriteEngine On
   RewriteRule ^/(.*)$ [L,R]

Works perfect when converted to Linux, will not kick in on Windows.
Unfortunately, I cannot change this Windows install to Linux.  What
could I possibly be missing on the Windows side?

Many thanks in advance,

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message