Thread xampp und mod_perl und cgi-perl (5 answers)
Opened by MartinR at 2010-11-09 16:59

GwenDragon
 2010-11-09 17:11
#142591 #142591
User since
2005-01-17
14746 Artikel
Admin1
[Homepage]
user image
Klar, nimm Verzeichnis-Aliase.

Apacheconf
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
Alias /cgi-bin/ /var/www/vhosts/meins/cgi-bin/
<Location /cgi-bin>
SetHandler cgi-script
Options +execCGI
</Location>

Alias /perl/ /var/www/vhosts/meins/perl/
<Location /perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Location>


Ginge auch über die Dateiendung.
.pl = CGI, .plx = mod_perl.

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
# mod_perl
<Files ~\.plx$>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Files>
# CGI
<Files ~\.pl$>
SetHandler cgi-script
Options +execCGI
</Files>

Last edited: 2010-11-09 17:15:06 +0100 (CET)

View full thread xampp und mod_perl und cgi-perl