Hello , I am testing a PHP proxy script and the script seems to work fine , but there seems to be a problem with the site. If I visit the site by typing http://www.proxysite.com and surf the script works fine , but if I type http://proxysite.com and surf I end up with the error: URL Error (22): An error has occured while trying to browse through the proxy. Failed to connect to the specified host. Possible problems are that the server was not found, the connection timed out, or the connection refused by the host. Try connecting again and check if the address is correct. I have no idea what could cause this problem.
Why don't you redirect http to www ? put this in your .htaccess : RewriteEngine On ## Custom Direct all to www RewriteCond %{HTTP_HOST} ^privacysurfer\.com$ [NC] RewriteRule ^(.*)$ http://www.privacysurfer.com/$1 [R=301,L] Code (markup):
If you want to hide your options, you can use <div> layers to do so and it'll still make your proxy work as normal. ie. meaning the options will still be in the php source, just can't see/view it in the browser
That was really really funny made my day (should I rep them for trying?) Oh, and you can remove the options from phproxy safely. check my site: http://adirects.com/proxy works fine
<div style="display: none"> options thingy goes here. </div> I use this on my proxies to hide out the options.
I'm aware of the style="display: none" or style="visibility: hidden" tags... Any other way by which bobby9101 does it?