Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2003, 09:20 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
cgi running on apache

I am trying to get apache to run cgi scripts but when I try to view them it says that I don't have permission. I did uncomment the line
AddHandler cgi-script .cgi
and add
Options +ExecCGI
AllowOverride Limit
to a parent directory of my web space.
I did this all in my httpd.conf file. Is there anything else I have to do. What should my .htaccess files look like? I am trying to get bugzilla working on a linux machine.
Old 08-06-2003, 10:34 AM   #2
Registered: Sep 2002
Posts: 184

Rep: Reputation: 30
have you tried to chown the scripts to apache:apache, I had the same kind of permission problem with apache (not with cgi scripts however) and that's how I solved it

if you don't know the exact command:
chown apache:apache name_of_your_script.cgi

I hope that will help


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Probs running .jar file via CGI script under Apache blimbo Programming 1 07-22-2004 11:29 AM
php running as CGI twk Programming 1 05-25-2004 09:26 AM
Apache CGI Problem : Browser not running script Zaknafien Linux - Software 3 12-31-2003 02:16 PM
apache v2.0.44 + cgi ; securing cgi-support in apache markus1982 Linux - General 0 01-20-2003 02:03 PM
Need help for running perl/cgi... raymond Linux - General 2 11-20-2002 09:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration