Message-ID: <AA1E32BC8A58D411A2CB0050DACEDA43010CB108@raptor> From: "Carson, Chuck" <ccarson@ebuilt.com> Date: Tue, 26 Dec 2000 17:37:25 -0800 Subject: RE: [SLE] APACHE HTTPD.CONF The default httpd.conf file has CGI enabled, but if I remember correctly, the printenv CGI app that comes with Apache needs to have the execution bit set. (chmod 755 printenv) Once you have tested this, remove the execution bit (chmod 600 printenv), this is a dangerous script to have lying around. Then access http://localhost/cgi-bin/printenv <http://localhost/cgi-bin/printenv> If this fails, post more info and we can help from there. As for your other problem, make sure you DISPLAY environment variable is set. If using bash, add this to your .profile or .bashrc export DISPLAY=localhost:0.0 Also add this to be sure: export MOZILLA_HOME=/path/to/netscape_directory Note: This is the path to the directory containing netscape, do not include the netscape executable itself in this variable Also make sure the user you are trying to run netscape as has a writable home directory. If these don't fix your problem, post more info. -Chuck -----Original Message----- From: Jeff Barnes [mailto:hoctopus@netzero.net] Sent: Tuesday, December 26, 2000 2:06 PM To: suse-linux-e@suse.com Subject: [SLE] APACHE HTTPD.CONF <p>I am trying to view cgi programs on my machine. If anyone has a httpd.conf and access.conf files that I can use as examples please send them to me. thanks also I noted that my Netscape in my suse 6.4 only seems to be working in the root account. How does one fix that?
Message-ID: <3A496E02.C26FF52@new.rr.com> Date: Tue, 26 Dec 2000 22:20:18 -0600 From: "Dana J. Laude" <dlaude@new.rr.com> Subject: Re: [SLE] APACHE HTTPD.CONF Would you PLEASE post messages to this list in plain text format vs HTML. Not only is this a standard practice, but also the majority of the list will ignore these messages, even if they have an answer. Thanks! ;-) Dana
"Carson, Chuck" wrote:
The default httpd.conf file has CGI enabled, but if I remember correctly, the printenv CGI app that comes with Apache needs to have the execution bit set. (chmod 755 printenv) Once you have tested this, remove the execution bit (chmod 600 printenv), this is a dangerous script to have lying around.
Then access http://localhost/cgi-bin/printenv
If this fails, post more info and we can help from there.
As for your other problem, make sure you DISPLAY environment variable is set. If using bash, add this to your .profile or .bashrc
export DISPLAY=localhost:0.0
Also add this to be sure:
export MOZILLA_HOME=/path/to/netscape_directory
Note: This is the path to the directory containing netscape, do not include the netscape executable itself in this variable
Also make sure the user you are trying to run netscape as has a writable home directory.
If these don't fix your problem, post more info.
-Chuck
-----Original Message----- From: Jeff Barnes [mailto:hoctopus@netzero.net] Sent: Tuesday, December 26, 2000 2:06 PM To: suse-linux-e@suse.com Subject: [SLE] APACHE HTTPD.CONF
I am trying to view cgi programs on my machine. If anyone has a httpd.conf and access.conf files that I can use as examples please send them to me. thanks
also I noted that my Netscape in my suse 6.4 only seems to be working in the root account. How does one fix that?
-- Linux / OpenBSD - Ain't life grand! :)
participants (2)
-
ccarson@ebuilt.com
-
dlaude@new.rr.com