httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilesh Govindarajan <>
Subject Re: [users@httpd] Default program for CGI
Date Sun, 14 Feb 2010 12:46:55 GMT
On 02/14/2010 05:58 PM, Maciej Piechotka wrote:
> Is it possible to specify a handler for files in CGI?
> I.e. have:
> SomeDirectiveCGI .pl /usr/bin/perl
> I'd like to install a PHP script on server where PHP is available only
> through SuExec due to security reasons. And adding such option
> to .htaccess would be much simpler to maintain then adding to each file
> (especially that I don't know how does it react with php include):
> #!/path/to/php
> I haven't found anything similar in documentation but before submitting
> bug I prefer to ask here.
> Regards

You may want to check out this article-

After a lot of struggling I was able to do this. Also its better to use 
FastCGI over standard CGI for performance reasons.

Nilesh Govindarajan
Site & Server Adminstrator

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message