On Sat, 6 Apr 2002, Bill Crawford wrote:

>  Look for this part:
> 
>     #
>     # AddHandler allows you to map certain file extensions to "handlers",
>     # actions unrelated to filetype. These can be either built into the server
>     # or added with the Action command (see below)
>     #
>     # If you want to use server side includes, or CGI outside
>     # ScriptAliased directories, uncomment the following lines.
>     #
>     # To use CGI scripts:
>     #
>     #AddHandler cgi-script .cgi
> 
> and uncomment the line at the bottom.  Then give your scripts the .cgi
> extension and make sure they're executable.
> 

I did see this when reviewing the apache documentation. In this case the 
scripts are part of a package called tsmon (terminal server monitor) so 
re-writing or renaming the scripts is not an option.






>  Also, be extremely careful when writing scripts.

Aye laddie.


> 
>  You'll need to make sure any files to be accessed by your script can
> be accessed by the apache user.
>
>  A much safer way around this is probably to allow PHP pages and turn
> on the safe_mode option in /etc/php.ini.

But this is apropos for PHP pages only?





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to