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 [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, 1.3.31.0.0.  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 ^/(.*)$ https://yippidy.doodaa.com:8543%{REQUEST_URI}
[L,R]
</LocationMatch>

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>
    ServerName yippidy.doodaa.com
    DocumentRoot "D:\oas10gR2\Apache\Apache\htdocs\testfororacle"
    DirectoryIndex index.htm
    Alias /htdocs D:\oas10gR2\Apache\Apache\htdocs/
</VirtualHost>

<Location /htdocs/testfororacle>
   RewriteEngine On
   RewriteRule ^/(.*)$ http://yippidy.doodaa.com/index.html.en [L,R]
</Location>

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

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