Leser: 1
4 Einträge, 1 Seite |
If you will be creating your own cgi-bin, you will want to comment out: ScriptAlias /cgi-bin/ "E:/Apache2/cgi-bin/" so it becomes #ScriptAlias /cgi-bin/ "E:/Apache2/cgi-bin/"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
LoadFile "C:/xampp/perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so
PerlRequire "C:/xampp/apache/conf/extra/startup.pl"
#### Only for NT + w2k + XP Professional ####
<Files *.pl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Files>
<Files ~ (\.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir "C:/xampp/tmp"
</Files>
###########################################
Alias /perl "C:/xampp/htdocs/modperl/"
<Directory "C:/xampp/htdocs/modperl/">
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Directory>
<Files *.pl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Files>
PerlModule Apache::ASP
Alias /asp "C:/xampp/htdocs/modperlasp/"
<Directory "C:/xampp/htdocs/modperlasp/">
SetHandler perl-script
PerlResponseHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir "C:/xampp/tmp"
</Directory>
1
2
3
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
AddHandler cgi-script .cgi .pl
If you if you uncommented (removed the # symbol) the line AddHandler cgi-script .cgi in step #4, then create a file in your document_root called hello.cgi and put these three lines in it
QuoteIst es irgendwie möglich, dass ich Apache beibringe die Module der bereits installierten Perl-Version zu benutzen?
4 Einträge, 1 Seite |