Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Nokia390 on September 29, 2010, 01:36:08 PM

Title: Proxypass Problem
Post by: Nokia390 on September 29, 2010, 01:36:08 PM
Hi
I set same site to "bypass" proxy, it work
But now a can´t do it any more
to the domain http://xxx.xxx.xxx.xxx i can get but i don´t if http://xxx.xxx.xxx.xxx/abc/efg
give me error 401 in browser

i do
db domains set proxypassdomain.com domain
db domains setprop proxypassdomain.com Nameservers internet
db domains setprop proxypassdomain.com ProxyPassTarget http://xxx.xxx.xxx.xxx/       
db domains setprop proxypassdomain.com TemplatePath ProxyPassVirtualHosts
signal-event domain-create proxypassdomain.com


sorry my english
Best regards
Nokia390
Title: Re: Proxypass Problem
Post by: janet on September 29, 2010, 03:21:43 PM
Nokia390

You can only proxypass a domain that is in the format  http://xxx.xxx.xxx.xxx/
(the trailing slash is required)

You CANNOT proxypass a domain in the format http://xxx.xxx.xxx.xxx/abc/efg

ie as per the command
db domains setprop proxypassdomain.com ProxyPassTarget http://xxx.xxx.xxx.xxx/       
Title: Re: Proxypass Problem
Post by: Nokia390 on September 29, 2010, 03:27:47 PM
Ok thanks
Title: Re: Proxypass Problem
Post by: Nokia390 on September 29, 2010, 03:38:52 PM
Solved


http://wiki.contribs.org/Firewall#Bypass_Proxy

Thanks
Title: Re: Proxypass Problem
Post by: janet on September 29, 2010, 04:07:18 PM
Nokia390

I do not understand how that could solve your stated original problem.

Proxypass (forwarding a domain to another server), has nothing to do with gaining web access by bypassing the transparent proxy server.