Location/locationmatch on Windows install

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

 



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