LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-06-2003, 08:20 AM   #1
foop37
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, 09:34 AM   #2
zovres
Member
 
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:
su
chown apache:apache name_of_your_script.cgi

I hope that will help
 
  


Reply


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 10:29 AM
php running as CGI twk Programming 1 05-25-2004 08:26 AM
Apache CGI Problem : Browser not running script Zaknafien Linux - Software 3 12-31-2003 01:16 PM
apache v2.0.44 + cgi ; securing cgi-support in apache markus1982 Linux - General 0 01-20-2003 01:03 PM
Need help for running perl/cgi... raymond Linux - General 2 11-20-2002 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:01 PM.

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