Mijn Plesk-server blijft .pls files maar executen als Perl-files. In httpd.conf en perl.conf en andere include-files staat geen .pls
.pls => Winamp Playlist
MIME type text/plain leek ook niet te helpen dmv .htaccess
.pls => Winamp Playlist
MIME type text/plain leek ook niet te helpen dmv .htaccess
code:
1
2
3
| [Fri Feb 13 16:27:03 2004] [error] 14346: ModPerl::Registry: syntax error at /home/httpd/vhosts/xxx.nl/httpdocs/playlist.pls line 2, near "]!numberofentries"! |
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| [root@server02 conf.d]# cat perl.conf # # Mod_perl incorporates a Perl interpreter into the Apache web server, # so that the Apache web server can directly execute Perl code. # Mod_perl links the Perl runtime library into the Apache web server # and provides an object-oriented Perl interface for Apache's C # language API. The end result is a quicker CGI script turnaround # process, since no external Perl interpreter has to be started. # LoadModule perl_module modules/mod_perl.so # This will allow execution of mod_perl to compile your scripts to # subroutines which it will execute directly, avoiding the costly # compile process for most requests. # #Alias /perl /var/www/perl #<Directory /var/www/perl> # SetHandler perl-script # PerlHandler ModPerl::Registry::handler # PerlOptions +ParseHeaders # Options +ExecCGI #</Directory> [root@server02 conf.d]# |