Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache on linux and cgi

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have installed the Apache Server on my machine which is running Red Hat Linux 6.2 and I was able to load regular html pages from the server but I can't seem to be able to load cgi scripts.
The scriptalias in the httpd.conf file points to the right cgi-bin location and I have modified the access.log file and added the following :

<Directory /usr/local/apache/cgi-bin>
Options ExcecCGI
AddHandler cgi-script .cgi .pl
</Directory>

Any help would be appreciated!
 
What happens when you try to load a cgi script?
Do you get an internal server error, permission denied, or does it display it as text on the browser or try to download it?

have you given your scripts the proper permissions?
they will need to be marked as executable by all users, and should not be owned by root.(not always a requirement but a good idea anyways)

Regards,
Gerald


 
Is the text you have titled:

&quot;ExcecCGI&quot;

a misprint?

It should be ExecCGI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top