Apache a skripty

Juraj Lutter otis at wilbury.sk
Mon Nov 25 16:30:54 CET 2002


On Mon, Nov 25, 2002 at 04:25:40PM +0100, Martin Salač wrote:
> Ahoj.
> 
> Mam trosku problem s vykonanim cgi (perl) skriptiku pod apachem.
> Rekneme, ze skriptik mam v /usr/local/www/data/skript/muj.pl
> 
> Do httpd.conf jsem pridal nasledujici direktivu:
> <Directory "/usr/local/www/data/skript">
>          Options +ExecCGI
> </Directory>

Este by to chcelo nieco ako:

AddHandler cgi-script .pl

pripadne:

<Directory "/usr/local/www/data/skript">
SetHandler cgi-script
</Directory>

V tom druhom pripade bude kazdy subor z daneho adresaru povazovany za
skript a apache sa bude snazit ho spustit.

otis

-- 
Juraj Lutter
http://wilbury.sk/
bgpd eats bugs for breakfast.



More information about the Users-l mailing list