Hallo, ich habe Probleme Perl-Skripte unter Apache auszuf�hren. Beim Versuch ein Skript auszuf�hren bekomme ich die Meldung: "You don�t have permission to access /perl/ on this server." Sogar als root!? Ich habe es folgenderma�en eingerichtet.Unter '/usr/local/http/' sind zwei Verzeichnisse f�rs Austesten der Skripte/Dateien: drwxr-xr-x 2 name root --- perl drwxr-xr-x 5 name root --- www
Unter 'www' liegen html und php-Dateien. Das funktioniert alles, nur mit 'perl' klappt es eben nicht. 'mod-perl' ist geladen. Die entsprechenden Abschnitte in der 'httpd.conf' sehen so aus: --------------------------------------------------------- ... ServerRoot "/usr/local/httpd" ... DocumentRoot "/usr/local/httpd/www" ... <Directory "/usr/local/httpd/htdocs"> ... ScriptAlias /cgi-bin/ "/usr/local/httpd/cgi-bin/" <IfModule mod_perl.c> # Provide two aliases to the same cgi-bin directory, # to see the effects of the 2 different mod_perl modes. # for Apache::Registry Mode ScriptAlias /perl/ "/usr/local/httpd/cgi-bin/" # for Apache::Perlrun Mode ScriptAlias /cgi-perl/ "/usr/local/httpd/cgi-bin/" </IfModule> # # "/usr/local/httpd/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/usr/local/httpd/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> </IfModule> # End of aliases. # # set /cgi-bin for CGI execution # <Location /cgi-bin> AllowOverride None Options +ExecCGI -Includes SetHandler cgi-script </Location> # # If mod_perl is activated, load configuration information # <IfModule mod_perl.c> Perlrequire /usr/include/apache/modules/perl/startup.perl PerlModule Apache::Registry # # set Apache::Registry Mode for /perl Alias # Alias /perl/ /user/local/httpd/perl/ ####Das ist von mir <Location /perl> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On </Location> # # set Apache::PerlRun Mode for /cgi-perl Alias # <Location /cgi-perl> SetHandler perl-script PerlHandler Apache::PerlRun Options ExecCGI PerlSendHeader On </Location> </IfModule> ... ------------------------------------------ Wei� vielleicht jemand wo der Fehler in der Konfiguration liegen k�nnte? Danke! Opa Nolle __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingelt�ne f�rs Handy bei http://sms.yahoo.de -------------------------------------------------------------------------- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an [EMAIL PROTECTED] sonstige Anfragen an [EMAIL PROTECTED] --------------------------------------------------------------------------
