Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: bunches of perl ppm's in httpd.conf file |
|
Author |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Wed 06 Dec '06 19:45 Post subject: bunches of perl ppm's in httpd.conf file |
|
|
I have taken this code from the apache-asp.org/ page:
Code: | PerlModule Apache::ASP
<Files ~ (\.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>
|
I am in the process of getting AS MANY PPM's as possible.
Now in the example above it gives PerlHandler Apache::ASP. I've noticed in windows that it's not :: instead it's dash (-) and that linux is :: Which one do I type in in configuring apache?
I need to know how do I type in a boat load of'em? As many as will install? How and were do I config that at? I have seen somewhere's back in the days someone had a .txt file loading up perl modules stuck in there htdocs folder. Can I do that? *thinking* I think that was XAMP or something like that. I had ran it first b4 I came across apachelounge. I can't think of it off the top of my head right now but it was apache with everything coded on it already php, mysql,perl, etc. Anyways they had a txt file with loaded up perl modules already in it. It there a way to do that? What it the code for that? How & Were do I type that in at? By the time I get done with these things man that file is gonna be huge : ) and probably gonna a long process in coding but welcome to real world in webserver land. Basically what i'm asking is how do I code in a lot of'em? |
|
Back to top |
|
pnllan
Joined: 05 Dec 2005 Posts: 221
|
Posted: Thu 07 Dec '06 7:53 Post subject: |
|
|
I think what you want is to pre-load a series of modules. If this is the case and you are using Mod_Perl, look at the PerlRequire sub-section (extra.pl) in the Description section in the below link:
http://perl.apache.org/docs/2.0/os/win32/config.html |
|
Back to top |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Fri 08 Dec '06 3:52 Post subject: |
|
|
pnllan wrote: | I think what you want is to pre-load a series of modules. If this is the case and you are using Mod_Perl, look at the PerlRequire sub-section (extra.pl) in the Description section in the below link:
http://perl.apache.org/docs/2.0/os/win32/config.html |
Yes exactly what I am looking for thankx.
Now I have read that and it gives :: and not - (dash). Which one do I use when coding the extra.pl file? Sorry for the confusion but in windows ppm gui it gives dash instead of :: So which one do I use when coding extra.pl? |
|
Back to top |
|
pnllan
Joined: 05 Dec 2005 Posts: 221
|
Posted: Fri 08 Dec '06 8:06 Post subject: |
|
|
If you noticed, it is titled "Configuring mod_perl 2.0 for Win32". Do what they say, remember that the PL file is a script and not the PPM GUI. Be brave...be bold...It's not like your system is going to explode over a syntax error in a script file.
In the hope of removing further confusion on your part, when in Perl (scripts or modules)(regardless of platform) use :: (colon colon), when in the PPM (Win32 GUI) use - (hyphen).
The PPM (Perl Package Manager) GUI is just that - a Graphical User Interface. It helps you manage (install, update, or remove) the PM's (PERL Modules) on your system.
The extra.pl is a file that happens to contain PERL script - aka script file.
Definitely heed the LoadFile note. It should come BEFORE all the LoadModule declarations. |
|
Back to top |
|
|
|
|
|
|