1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Proxy Server Auto-detection
(1 viewing) 1 Guest
Go to bottomPage: 123
TOPIC: Proxy Server Auto-detection
#40341
Proxy Server Auto-detection 1 Year ago  
Hello,

I am using Community-6.2 in gateway mode.

I'm trying to configure Proxy Server Auto-detection via this guide in the Howtos.

The guide states that ... The wpad.dat file should go into the /var/webconfigs/htdocs on the ClearOS system
I have the Web server installed and when I open a terminal session on the ClearOS host I cannot locate /var/webconfig directory.

Should I be creating this directory structure or is the Howto out-of-date?

Thanks

VW
Vaughan Wickham
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40367
Re: Proxy Server Auto-detection 1 Year ago  
Hi, that Howto is for 5.2...the webconfig has changed to a new framework in 6.2 so the setup will be different (everything is stored in /usr/clearos/)
Tim Burgess
Moderator
Posts: 5800
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40770
Re: Proxy Server Auto-detection 1 Year ago  
I am having the same problem. however, (everything is stored in /usr/clearos/) , doesn't really tell us how to enable the auto proxy in 6.2. Are we to create the same file as in 5.2 (wpad.dat), and are we just to drop it into the /var/clearos directory??
gary boyce
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40781
Re: Proxy Server Auto-detection 1 Year ago  
Yes, /usr/clearos is the new root directory. When you put your file in that directory, you should be able to access it by typing:

http:<lan_ip>:82/wpad.dat
DaveBurkholder
Expert Boarder
Posts: 134
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40782
Re: Proxy Server Auto-detection 1 Year ago  
I did that. I isnt working. any suggestions?
gary boyce
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40788
Re: Proxy Server Auto-detection 1 Year ago  
Okay, A little clarification. I did:
nano /var/clearos/wpad.dat

ENTERED:
function FindProxyForURL(url, host)
{
return "PROXY 192.168.2.1:3128";
}

crtl o to write the file then ctrl x to exit nano.
Restarted the machine.
once machine rebooted I entered 192.168.2.1:82/wpad.dat and hit enter.
Got: the webpage cannot be displayed.
I used port 3128 because thats what my browser told me to use.
gary boyce
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40800
Re: Proxy Server Auto-detection 1 Year ago  
Ok, my bad. I was sure I had tested it before I posted...

Try:
/usr/clearos/framework/htdocs/wpad.dat

Do files in that directory load in your browser?
DaveBurkholder
Expert Boarder
Posts: 134
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40812
Re: Proxy Server Auto-detection 1 Year ago  
No. /usr/clearos doesn't exist.
/var/clearos/framework exists but there isn't an htdocs in that directory. I tried placing wpad.dat in the framework directory but that didn't work either.


EDIT:
I must have typed something wrong the first time. /usr/clearos.framework/htdocs is there and if i place wpad.dat into htdocs then I can navigate to it. However, the auto proxy isn't working. When ever I try to navigate anywhere I get a page that says... clearOS Community Web Proxy Configuration
Please enable the proxy server settings with the following values:\
IP Address - 192.168..2.1
Port - 3128

Any suggestions??
gary boyce
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/05/04 10:02 By modsbyus.
The administrator has disabled public write access.
 
#40887
Re: Proxy Server Auto-detection 1 Year ago  
Have you setup the local DNS as per the guide?
www.clearfoundation.com/docs/howtos/proxy_server_auto-detection

You will need to create an entry for wpad.example.com so that your web browser can connect and download the settings automatically

What happens when you try and access wpad.example.com?
Tim Burgess
Moderator
Posts: 5800
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40976
Re: Proxy Server Auto-detection 1 Year ago  
I have setup DNS as best as I understand to, but I still haven't gotten it to work.
IP Address: 192.168.2.1
Hostname: gateway.lan
Alias#1: gateway.gateway.lan
gary boyce
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/05/07 08:40 By modsbyus.
The administrator has disabled public write access.
 
Go to topPage: 123
  get the latest posts directly to your desktop