- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Server Mozilla auto-config for proxy-server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 07:20 AM
02-25-2004 07:20 AM
Server Mozilla auto-config for proxy-server
After loading Mozilla 1.4, I go in as root and add a couple of lines to the /opt/mozilla/defaults/pref/all.js file that set the network.proxy.autoconfig_url and network.proxy.type parameters to the appropriate settings for our company. But when I then run Mozilla, the browser is unable to reach outside the company. If I go into the preferences dialog, it shows the correct settings for the auto-load of the proxy-server. Once I click on the "Reload" button, everything works fine and I can reach external web sites. However each time I launch the browser after login, I have to go through the Reload step again in order for the browser to recognize the proxy server.
Has anybody run into this problem and figured out a fix?
Thank you.
--
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 07:28 AM
02-25-2004 07:28 AM
Re: Server Mozilla auto-config for proxy-server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 07:29 AM
02-25-2004 07:29 AM
Re: Server Mozilla auto-config for proxy-server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 01:07 AM
02-26-2004 01:07 AM
Re: Server Mozilla auto-config for proxy-server
This link has some information:
http://mozdoc.burlco.org/bowels.html
I did some simple changes to a local Mozilla 1.4 installation on HP-UX:
Steps:
mkdir /someplace/
cp /opt/mozilla/chrome/US.jar /someplace/
cd /someplace
unzip US.jar
cd ./locale/navigator-region
vi region.properties
Change:
homePageDefault=
browser.startup.homepage=
startup.homepage_override_url=
to the values you want...
Then, cd to the root of the directory you unpacked stuff in.
ex /someplace/
jar c0vf US.jar locale
(jar is a zip-like utility used by Java. I used the one in /opt/Java1.4/bin/, but your java installation may be different. You can use a real zip/unzip to do this).
Now:
cd /opt/mozilla/chrome
mv US.jar US.jar.orig
mv /someplace/US.jar .
chmod 644 US.jar
chown bin:bin US.jar
I believe that the entries that you want to change are:
network.proxy.ftp
network.proxy.ftp_port
network.proxy.http_port
network.proxy.http
...
You can extract these from your prefs.js by using grep for proxy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 03:36 AM
02-26-2004 03:36 AM
Re: Server Mozilla auto-config for proxy-server
In response to your suggestion I tried adding in a couple of new lines to the locale/US/navigator-region/region.properties file, setting the 'network.proxy.autoconfig_url' and 'network.proxy.type' parameters. (I'm trying to use the automatic proxy type (network.proxy.type=2) rather than setting them manually as your suggested parameters would seem to do.)
Unfortunately it appears that these revisions were not utilized by the browser when it came up, and they didn't appear in the configuration dialog. (Whereas when I set them in the all.js file, they at least showed up in the dialog.) So it doesn't look like those parameters were being read by the browser, although it does use the home page settings correctly.
Thank you.
--
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 05:00 AM
02-26-2004 05:00 AM
Re: Server Mozilla auto-config for proxy-server
I configured an HP-UX 11.11 system Mozilla 1.4 with a new all.js:
diff all.js all.js.orig
617,618c617,618
< pref("network.proxy.autoconfig_url", "http://autoproxy.hp.com/autoproxy/autoproxy");
< pref("network.proxy.type", 2);
---
> pref("network.proxy.autoconfig_url", "");
> pref("network.proxy.type", 0);
The diffs illustrate the difference between the original (all.js.orig) and the modified.
I created a new account and was immediately able to access the proxy server without reloading. I could tell because I could get through the company firewall to the default Mozilla start page.
Does the same thing happen for users who are manually configured to use the autoproxy? Or do all users who use the autoproxy have this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 04:06 AM
02-27-2004 04:06 AM
Re: Server Mozilla auto-config for proxy-server
I'm stumped.
--
Bob