[LUGOS] perl-cgi apache virtual host
Fredi Najžar
fredi.najzar at siol.net
Wed Jan 22 09:44:37 CET 2003
Martin wrote:
> Tu je se definicija virtualhost cointainerja.
> "
> <VirtualHost 213.143.XX.XX>
> ServerAdmin root at krneki.si
> DocumentRoot /home/bb/
> ServerName www.virtualhost.com
> # ErrorLog logs/fsdfsdafsad.com-error_log
> CustomLog logs/bfsfsdafasd.com-access_log combined
> ScriptAlias /cgi-bin/ /home/bb/cgi-bin/
> Options ExecCGI
> </VirtualHost>
> "
AddHandler cgi-script cgi pl
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Probaj dodati še tole (je vzeto iz .htaccess - zato moraš prilagoditi
format, če želiš dati v httpd.conf)).
Mislim da sem imel podobne težave, ko sem hotel definirati dodatni
cgi-bin dir, pa sem dodal tole in je potem delovalo.
Lp FRedi
--
Fredi Najžar <fredi.najzar at siol.net>
http://members.fortunecity.de/fredek/
More information about the lugos-list
mailing list