LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   setting lynx variables (https://www.linuxquestions.org/questions/linux-general-1/setting-lynx-variables-10892/)

sancho5 12-31-2001 09:00 AM

setting lynx variables
 
Greetz all,
Has anyone successfully used the Lynx www browser with a proxy server before? I was looking at the docs and see that (apparently) the proxy is set with an envionmental variable of "PROTOCOL_PROXY", so in my case, "http_proxy=address:port". What I have run then is:
Code:

http_proxy=proxy.server.address:8080
Code:

export http_proxy
This is run from BASH; have I properly set the variable, and should lynx at this point recognize and accept that variable?

After doing this, I try to open a page in Lynx and get:
"# lynx www.yahoo.com

Looking up www.yahoo.com first
Can't Access `http://www.yahoo.com/'
Alert!: Unable to access document.

lynx: Can't access startfile

Any ideas?

bluecadet 12-31-2001 09:39 AM

try setting the right line in the /etc/lynx.cfg file:

http_proxy:http://some.server.dom:port/


All times are GMT -5. The time now is 07:11 AM.