LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2003, 04:12 PM   #1
bmh.01
LQ Newbie
 
Registered: May 2003
Location: UK
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
Apache And CGI


I'm pretty much new to linux so sorry if this is a stupid question.

Is it possible to setup apache so that it will execute perl scripts in any folder on the server, not just cgi-bin ?
If so could someone tell me how to.

Thanks In Advance
 
Old 05-31-2003, 05:31 AM   #2
bmh.01
LQ Newbie
 
Registered: May 2003
Location: UK
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
bump
 
Old 05-31-2003, 11:52 AM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
If the folder is in your document root then add "ExecCGI" to the Options directive for that folder or one of its parents.

If the folder is not in your document root then create a copy of the ScriptAlias directive to mirror the settins for your other directory.
 
  


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
CGI and Apache Sevoma Linux - Software 7 02-06-2005 05:55 PM
about Apache and CGI kpachopoulos General 1 11-17-2004 04:23 PM
apache v2.0.44 + cgi ; securing cgi-support in apache markus1982 Linux - General 0 01-20-2003 01:03 PM
apache-cgi j-ray Linux - Software 1 12-12-2002 03:31 PM
About cgi , pl. in apache.... raymond Linux - General 1 11-11-2002 09:22 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration