ProxyPass generating 403

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 2
Joined: 09 Jul 2013, 17:58

ProxyPass generating 403

09 Jul 2013, 18:11

I can't seem to figure out why this rule (in the top level httpd.conf file) is giving me a 403 error for this url:

example.com/Industry/Home/86/89/Google%20Chrome.jpg

Code: Select all
<Location /Industry/Home/>
   ProxyPass http://cdn.mailoutinteractive.com/Home/
</Location>


However, the following works correctly for example.com/Industry/Xyz/86/89/Google%20Chrome.jpg

Code: Select all
<Location /Industry/Xyz/>
   ProxyPass http://cdn.mailoutinteractive.com/Home/
</Location>


The only difference is the "/Home" directory. I don't see any conflicting rules in the child .htaccess file either.

They both have the same log entry in the debug log:

[7/9/2013 3:02:56 PM] [proxy] (8) [/Industry/Xyz/86/89/Google Chrome.jpg] request to http://cdn.mailoutinteractive.com/Home/ ... Chrome.jpg
[7/9/2013 3:03:09 PM] [proxy] (8) [/Industry/Home/86/89/Google Chrome.jpg] request to http://cdn.mailoutinteractive.com/Home/ ... Chrome.jpg

Any idea what I'm doing wrong? I'm using Helicon Ape 3.1.0.110 on IIS 7 on Windows Server 2008.

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: ProxyPass generating 403

10 Jul 2013, 09:42

Hello,

Can you show the .htaccess you have in /Home/ folder.
Also, please enable logging in httpd.conf by putting

RewriteLogLevel debug

And provide rewrite.log records for request to example.com/Industry/Home/86/89/Google%20Chrome.jpg

User avatar
Posts: 2
Joined: 09 Jul 2013, 17:58

Re: ProxyPass generating 403

10 Jul 2013, 13:27

Hi Anton,

I finally was able to get this working by using this instead:

RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^Home/(.*) http://cdn.mailoutinteractive.com/Home/$1 [P,L]


In practical terms I'm not sure if this is any different, but it seems to function.

Thanks,

-Mike

Anton wrote:Hello,

Can you show the .htaccess you have in /Home/ folder.
Also, please enable logging in httpd.conf by putting

RewriteLogLevel debug

And provide rewrite.log records for request to example.com/Industry/Home/86/89/Google%20Chrome.jpg

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 0 guests