Thread Mal wieder Probleme: MySQL und ModPerl (47 answers)
Opened by GwenDragon at 2006-04-11 15:33

GwenDragon
 2006-04-13 14:52
#30031 #30031
User since
2005-01-17
14563 Artikel
Admin1
[Homepage]
user image
ScriptAlias /perl/ "/home/httpd/vhosts/resultado5.de/cgi-bin/" gehört aber zu mod_cgi und mod_alias und stellt ein, dass alles als normale CGI ausgeführt werden.
Und dann nimmst du wieder Location /perl und machst es zu einem mod_perl-Skript!??
Ja was denn nun? "normales" CGI oder mod_perl?

Quote
ScriptAlias

The ScriptAlias directive tells Apache that a particular directory is set aside for CGI programs. Apache will assume that every file in this directory is a CGI program, and will attempt to execute it, when that particular resource is requested by a client.
http://localhost/manual/howto/cgi.html#scriptalias
Quote
ScriptAlias directive

Syntax: ScriptAlias URL-path file-path|directory-path
Context: server config, virtual host
Status: Base
Module: mod_alias

The ScriptAlias directive has the same behavior as the Alias directive, except that in addition it marks the target directory as containing CGI scripts that will be processed by mod_cgi's cgi-script handler.
http://localhost/manual/mod/mod_alias.html#scriptalias

Da wirfst du so einiges durcheinander wie mir scheint.

Die mod_perl-Konfiguration ist nicht trivial.

Du willst also folgendes:
Alles was im Verzeichnis /perl/ und /cgi-perl/ ist soll als CGI unter mod_perl laufen und manch andere als normales CGI?

So ganz verstehe ich das nicht.\n\n

<!--EDIT|GwenDragon|1144926362-->
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread Mal wieder Probleme: MySQL und ModPerl