LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How can I run a perl and cgi scripts in my apache.?. (https://www.linuxquestions.org/questions/programming-9/how-can-i-run-a-perl-and-cgi-scripts-in-my-apache-465770/)

ethnicme 07-19-2006 11:57 PM

How can I run a perl and cgi scripts in my apache.?.
 
What should I do to enable my apache server to execute perl and cgi scipts at any place in my root directory?

When I open it in my browser this usually comes out..
Code:

Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.

Error 403
pixelstream
Thu Jul 20 11:00:01 2006
Apache/2.2.0 (Linux/SUSE)

what shoudl I do?

xode 07-20-2006 01:33 AM

It isn't a good idea to open up your root directory (i.e. /) to your web server. Why do you want to? If you have the typical linux web server, your web server root should be /var/www and your perl and cgi scripts should be in /var/www/cgi-bin.

bigearsbilly 07-20-2006 06:07 AM

RTFM ;)

http://localhost/manual
http://localhost/manual/howto/cgi.html

look under the FAQ

xode 07-20-2006 01:59 PM

Quote:

From bigearsbilly

RTFM
Instead of RTFM (i.e. Read the F@@#ing Manual), an insulting profanity, why not PRTM (i.e Please Read the Manual), something which says the exact same thing, but without the insult or profanity.

bigearsbilly 07-21-2006 03:39 AM

ooh get her!

OK
read the flipping manual

spooon 07-21-2006 03:50 AM

and
Read The Friendly Manual
Read The Fine Manual
Read The Fantastic Manual
etc.

what it stands for is irrelevant; we all understand what it means

bigearsbilly 07-21-2006 04:02 AM

exactly,
I think the little ;) gave the clue of how I meant it in a light hearted manner.


All times are GMT -5. The time now is 07:59 PM.