Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring directories mod_perl

Status
Not open for further replies.

FreeBASE

Programmer
May 3, 2002
39
US
Hello all, I have a question for ya..

THE SCENARIO::

I have 4 Virtual Hosts (/ / etc, etc)

I would like to use the Apache::Registry, but I have more than one
directory to configure it to. I know I could just use--

<Files *.cgi>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
</Files>

and configure mod_perl to run anywhere on my server, the problem is
by doing this, any compiled .cgi's that I have running on my server fail.

THE QUESTION::

Do have have to set-up a seperate directive (in the httpd.conf) for each
directory that I wish to configure for mod_perl for.

And if so, how can I configure mod_perl to see .cgi instead of .pl
If not, is there any way about going about this.

MY GUESS::
To use--

<Files *.mpl> <--- Creating a totally booty file extension
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
</Files>


I thank you for your time...

N-

buck_perl.gif


&quot;My eyes are on fire, its time to goto sleep...&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top