Re: Problem with mod_rewrite proxy for .asp DirectoryIndex

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

 



On May 15, 2009, Eric Covener (nospam-covener@xxxxxxxxxxxx) typed:

Eric:>  On Fri, May 15, 2009 at 11:34 AM, S.A. Birl
Eric:>  <sbirl+Apache-List@xxxxxxxxxxxxxxxxxx> wrote:
Eric:>  > Hello all:
Eric:>  > 1) If I browse to http://127.0.0.0/sbirl/ASP/  I get the ASP source
Eric:>  >   code
Eric:>
Eric:>  Is this because the ASP also lives in your Apache docroot?


Actually, yes, all of the ASP(, HTML, etc) files reside on the
127.0.0.1   The IIS server sees all of the 127.0.0.1 files via samba.

(It's long story involving historical ASP data -- already tried
mod_mono)



Eric:>  > 2) If I browse to http://127.0.0.1/sbirl/ASP/default.asp, it proxies
Eric:>  >   like it should
Eric:>
Eric:>  >
Eric:>  > Without NoSubReq
Eric:>  >
Eric:>  > 3) If I browse to http://127.0.0.0/sbirl/  mod_rewrite tries to proxy
Eric:>  >   http://127.0.0.0/sbirl/ASP/default.asp  as
Eric:>  >   http://192.168.166.120/sbirl/default.asp -- giving back a proper 404
Eric:>
Eric:>  Can you elabaorate on where the "ASP" in the path comes from and why
Eric:>  it's (properly?) dropped?


The ASP path is a valid folder underneath /sbirl/
Apache is (improperly?) dropping the folder name when I try to
directory browse /sbirl/  (as there are no DirectoryIndex files
present on purpose)

Why Apache is dropping it, I assume is due to a combination of
'Options Indexes' and the mod_rewrite proxy of ASP files.
Which is why I added NoSubReq to RewriteRule.





Thanks
 S.A. Birl
 http://concept.temple.edu/

Please do not CC me responses to my own posts. I'll read the responses
from the list.

Apache archives  http://mail-archives.apache.org/mod_mbox/httpd-users/


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