RE: Location/locationmatch on Windows install

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

 



Eric,

Ok, I can do the pastebin thing, but I don't think we need to.  New code
tested is:

<VirtualHost *:81>
    ServerName yippidy.doodaa.com
    DocumentRoot "D:/oas10gR2/Apache/Apache/htdocs/testfororacle"
    DirectoryIndex index.htm
    ServerAdmin delhi@xxxxxxxxx
    Alias /htdocs D:/oas10gR2/Apache/Apache/htdocs/
    RewriteLog
"D:/oas10gR2/Apache/Apache/logs/testfororacle_rewrite.log"
    RewriteLogLevel 9

    #<Location /htdocs>
       # order deny,allow
        #allow from all
        RewriteEngine On
        RewriteRule ^/(.*)$ http://yippidy.doodaa.com/index.html.en
[L,R]
   # </Location>

</VirtualHost>

Applicable rewritelog entries are at
http://testfororacle.pastebin.com/m7540a23.

The rewrite works just fine.  I'm sorry if you didn't get a chance to
read all the way into my first post, but that's consistent with what I
posted.

The issue the whole time is why locationmatch / location is hitting and
works fine on Linux and not on a Windows install.  I need a
LocationMatchLog or LocationLog file!!  :)

Todd
-- 
Todd Randall 
Sr. Programmer/Analyst - Oracle DBA
SUNY ITEC 
1300 Elmwood Ave 
TR 200 
Buffalo, NY 14222 
Work: 716-878-4832 (receptionist/to leave a message) 
Work: 716-878-3128 (Direct) 
Cell: 716-863-7097


-----Original Message-----
From: Randall, Todd [mailto:todd.randall@xxxxxxxxxxxxx] 
Sent: Monday, November 10, 2008 8:58 AM
To: users@xxxxxxxxxxxxxxxx
Subject: RE:  Location/locationmatch on Windows install

It's not the rewrite I'm having the issue with.  If I remove the
locationmatch or location directives it rewrites perfectly fine.  For
whatever reason, I cannot get the locationmatch or location directives
to "kick in" on a windows platform install.  Any unix/linux platform
install with the same exact code works perfectly fine.

I will have to google pastebin as I have no idea what that is.

Thanks again, and willing to try anything,
Todd 


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

On Mon, Nov 10, 2008 at 8:42 AM, Randall, Todd
<todd.randall@xxxxxxxxxxxxx> wrote:
> 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?

No -- I am surprised that it's testing against something that looks
like an absolute filesystem path instead of a partial URL.  To
simplify, don't put your Rewrite directives inside any
Location/Directory containers. Maybe you could pastebin the entire
log?

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


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