Page 1 of 1

Invalid URL from Squid Proxy

PostPosted: 15. July 2016 04:08
by TLing
Hello, I have an application on xmapp, but when I enter it, it will show a 404 page from Squid Proxy, the xmapp are hosted in my server.
ERROR

The requested URL could not be retrieved

The following error was encountered while trying to retrieve the URL: /

Invalid URL

Some aspect of the requested URL is incorrect.

Some possible problems are:

Missing or incorrect access protocol (should be http:// or similar)

Missing hostname

Illegal double-escape in the URL-Path

Illegal character in hostname; underscores are not allowed.

Your cache administrator is Welcome_to_use_OpenVPN_For_www.sbwml.cn.


Generated Fri, 15 Jul 2016 02:50:53 GMT by TD-LTE/FDD-LTE(www.sbwml.cn) (squid/3.1.23)


I checked my computer and I do not use proxy, I also try to enter my website from other devices such as my mobile phone, also checked in 3G/4G mode, It return the same error.
So I searched the entire xmapp folder, and made all the modules about proxy not to load.
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_express_module modules/mod_proxy_express.so
#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_html_module modules/mod_proxy_html.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so

But still same errors, how to solve it?

Re: Invalid URL from Squid Proxy

PostPosted: 15. July 2016 11:00
by Nobbie
a) it is "XAMPP" not "XMAPP"

b) the error is not an Xampp error, it is issued by www.sbwml.cn, you should know what that means.

Re: Invalid URL from Squid Proxy

PostPosted: 15. July 2016 11:24
by TLing
Nobbie wrote:a) it is "XAMPP" not "XMAPP"

b) the error is not an Xampp error, it is issued by http://www.sbwml.cn, you should know what that means.

typing mistake.
www.sbwml.cn is just a squid proxy server, I want to know why the request cross the proxy, another virtual host on my xampp can work properly.

Re: Invalid URL from Squid Proxy

PostPosted: 15. July 2016 12:11
by Altrea
I would guess that the request is not reaching your Apache server or something redirects the request so that your browser thinks it has to use the proxy.

Re: Invalid URL from Squid Proxy

PostPosted: 16. July 2016 06:36
by TLing
solved.

Re: Invalid URL from Squid Proxy

PostPosted: 16. July 2016 11:09
by Nobbie
TLing wrote:solved.


And?

It was nothing with Xampp, either the script itself or a misconfigured environment.