LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-19-2006, 11:57 PM   #1
ethnicme
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Rep: Reputation: 0
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?
 
Old 07-20-2006, 01:33 AM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1
Posts: 506
Blog Entries: 1

Rep: Reputation: 38
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.
 
Old 07-20-2006, 06:07 AM   #3
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,284

Rep: Reputation: 172Reputation: 172
RTFM

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

look under the FAQ

Last edited by bigearsbilly; 07-20-2006 at 06:08 AM.
 
Old 07-20-2006, 01:59 PM   #4
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1
Posts: 506
Blog Entries: 1

Rep: Reputation: 38
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.
 
Old 07-21-2006, 03:39 AM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,284

Rep: Reputation: 172Reputation: 172
ooh get her!

OK
read the flipping manual
 
Old 07-21-2006, 03:50 AM   #6
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
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

Last edited by spooon; 07-21-2006 at 03:53 AM.
 
Old 07-21-2006, 04:02 AM   #7
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,284

Rep: Reputation: 172Reputation: 172
exactly,
I think the little gave the clue of how I meant it in a light hearted manner.
 
  


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
Of Perl CGI scripts and Sendmail Chrax Programming 2 06-06-2005 04:21 PM
does apache support cgi scripts and how to run them abhis_mail2002 Fedora 3 03-15-2005 04:37 AM
Cant run CGI scripts on Apache! mylo2003 Linux - General 5 11-09-2004 09:22 AM
have apache deliver the output of perl cgi scripts immidiately fibbi Linux - Software 2 07-13-2004 12:17 PM
Apache 2.0.43 will not run cgi scripts RobbieRoy Linux - Networking 5 09-04-2003 02:56 PM


All times are GMT -5. The time now is 08:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration