Testings for Perl


Perl with MOD_PERL ...

... meant wait a minute, until the Apache HTTPD starts.The same procedure happens when the apache stops. To start Mod_Perl with all important perl extensions, that needs some time ... So, who wants to remove mod_perl opens the apache configuration "C: mpp\apache\httpd.conf " to deactivate the activated lines with #: After that, please (re)start apache.

### Please activate or deactivate MOD PERL here ###
### Bitte MOD PERL hier aktivieren oder deaktivieren ###
# LoadFile "/xampp/perl/bin/perl58.dll"
# LoadFile "/xampp/perl/bin/libxml2.dll"
# LoadModule perl_module modules/mod_perl.so
### Section MOD PERL end ###

CGI (*.cgi) should always function (however):

=> Test "Hello World" <=


Who want to use MOD_PERL effectively, please still considers these references

A: Perl-CGI with the endings .cgi and .pl will be execute overall under C: mpp\htdocs. Exception: C: mpp\htdocs\modperl and C: mpp\htdocs\modperlasp.
B: Perl with mod_perl will be execute under C: mpp\htdocs\modperl only. In this directory, all files are execute over mod_perl! So, the endings here are unimportantly. The HTTP Alias called \perl\.
C: Perl:ASP over mod_perl:asp will be execute under C: mpp\htdocs\modperlasp only. In this directory, all files are execute over perl:asp! So, the endings here are unimportantly. The HTTP Alias called \asp\.

But why this action? The reason is simple. Under win95|98|ME, file endings like .pl or .asp. are not running by the "connection" with mod_perl. Only the release of directories for mod_perl would function. For all users of NT, w2k or XP Professional, you can define some file endings for mod_perl. Please show for the "httpd.conf". There is a little example inside. And now the tests:
 
(1) CGI (Endings: .cgi or .pl)
Location: Overall C: mpp\htdocs except C: mpp\htdocs\modperl and C: mpp\htdocs\modperlasp
Perl Path into header: Necessarily, here => #! mpp\perl\bin\perl.exe
Example: C: mpp\cgi-bin est.cgi
Test "Hello World"
 
(2) Perl over mod_perl (Endings: ALL)
Location: Only C: mpp\htdocs\modperl
Perl Path into header: Not necessarily
Example: C: mpp\htdocs\modperl\datum.pl
Test "Date with Perl"
 
(3) Perl:ASP (Endings: ALL)
Location: Only C: mpp\htdocs\modperlasp
Perl Path into header: Not necessarily
Example: C: mpp\htdocs\modperlasp\loop.asp
Test "Numbers, which growing"
 

OK?