Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-30-2003, 05:12 PM   #1
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, 06:31 AM   #2
LQ Newbie
Registered: May 2003
Location: UK
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Old 05-31-2003, 12:52 PM   #3
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.


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

All times are GMT -5. The time now is 04:07 AM.

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