Apache: Cant't run my own CGI-Scripts

Apache: Cant't run my own CGI-Scripts

Post by Christoph Klünte » Fri, 26 Feb 1999 04:00:00



Im running Apache 1.3 on a standalone Computer.
I can't run my cgi-scripts, because Apache says it's forbidden.
I can run scripts in Apaches own /http/cgi-bin directory, and I wrote
the same Directives for my own /cgi Directory in srm.conf and
access.conf but it doesn't work,
wht is wrong ????????
Thanx Christoph
 
 
 

Apache: Cant't run my own CGI-Scripts

Post by Bob McLare » Sat, 27 Feb 1999 04:00:00


I believe you need to CHMOD 755 the cgi script you are trying to run.
Effectivly what this does is allow outside users to "execute" your cgi
script. (the rights look like this rwxr-xr-x)
Hope this helps, this might be the first time I've actually helped
somebody rather than ask for help. ;)


> Im running Apache 1.3 on a standalone Computer.
> I can't run my cgi-scripts, because Apache says it's forbidden.
> I can run scripts in Apaches own /http/cgi-bin directory, and I wrote
> the same Directives for my own /cgi Directory in srm.conf and
> access.conf but it doesn't work,
> wht is wrong ????????
> Thanx Christoph

--
Bob McLaren
Network Administration
Financial Statement Services, Inc.
HTTP://WWW.FSSI-CA.COM

 
 
 

1. apache: give /home/mailman/cgi-bin permissions to run cgi-scripts.

Hey ho,
I try to install mailman on my server.
Now I have to give /home/mailman/cgi-bin permissions to run cgi-scripts.
How can I do this?
In the documentation of mailman s.th. like
Exec          /mailman/*      $prefix/cgi-bin/*
or
ScriptAlias   /mailman/       $prefix/cgi-bin/

is shown. Which one is right, or none?

Bye
 Jonas

--
Some people have told me they don't think a fat penguin really embodies the
grace of Linux, which just tells me they have never seen a angry penguin
charging at them in excess of 100mph.  They'd be a lot more careful about
what they say if they had.  -- Linus Torvalds, announcing Linux v2.0

2. XF86 3.3.3.1 problem with startx

3. Apache doesn't seem to run my cgi scripts

4. Solaris 2 TCP/IP Implementation

5. Apache: "Couldn't spawn child process" running CGI script

6. need pc card cage for a laptop

7. Apache CGI scripts download via web browser, and don't run?

8. Good kernel-docu

9. can't get cgi scripts to run in user's home directory

10. Apache-SSL CGI's won't run

11. apache problems: cant run c programs from scripts

12. apache problem: cant run c programs from scripts

13. Apache in mandrake 9.1, cant run scripts