Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Apache Proxy HTTP/1.1 and IE issues?

  • 09-11-2002 2:14am
    #1
    Registered Users, Registered Users 2 Posts: 3,889 ✭✭✭


    Hi, I'll cut to the chase ..
    Windows XP Pro
    Apache 1.3.24 (Win32) listening on port 80
    IIS 5.1 on port 8080.
    Both servers point to same folders, and can serve html/perl cgi fine.
    IE 6

    I want Apache to proxy requests for any asp pages through to my IIS (so that IIS is only used for ASP pages), and without a 302. Works fine (with config below) for GET requests. However, it stalls for about 30 secs and simply returns "0" for any POST requests.

    I have solved this by using the BrowserMatch downgrade-1.0 directive for my browser. Or I can use untick "Use HTTP/1.1" in IE. I'm just curious as to whether I've misconfigured IE, Apache or IIS. Normally, I'd let this go, but I couldn't find anything at all on google other than references to IE4's buggy HTTP/1.1 implementation, so I figured it must be me!

    So, does anyone know if this is a known issue (again, I couldn't see on apache's site, or google), or can anyone spot what I'm doing wrong. Below is the relevant bits of my httpd.conf. Any more info needed, just shout. The mod_proxy config is commented out, as I just tried this to make sure it wasn't a mod_rewrite misconfig. The ProxyPass is too restrictive in that it passes all requests in that folder to IIS (I just want ASP pages proxied, the rest served as normal by apache).

    Relevant parts ...
    <IfModule mod_proxy.c>
    # below was on when using this solution
    ProxyRequests off
    <Directory proxy:*>
    Order deny,allow
    Deny from all
    Allow from localhost home.cg
    </Directory>
    #ProxyRemote *.asp http://localhost:8081/
    #ProxyPass /asp-area/ http://localhost:8080/cs/
    #ProxyPassReverse / http://localhost:8080/cs/
    #ProxyVia Off
    </IfModule>

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteLog logs/rewrite.log
    RewriteLogLevel 8
    RewriteRule ^/(.*\.asp) http://localhost:8080/$1 [P]
    </IfModule>


Advertisement