Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: mod_perl without separate config for static HTML?

by Mutant (Priest)
on Oct 26, 2004 at 13:45 UTC ( [id://402583]=note: print w/replies, xml ) Need Help??

in reply to Re^2: mod_perl without separate config for static HTML?
in thread mod_perl without separate config for static HTML?

Here's a fairly typical Apache::Registry config:

<Location /cgi/> SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI </Location>

Now, everything under the 'cgi' dir will be executed under Apache::Registry, and everything else (assuming you don't have other 'Location' etc. directives setup) will just be static.

You can even use the 'Alias' directive to make the cgi dir outside of your public directories (usually a good idea).

The ineffeciencies I metentioned just refered to the fact that I was using 'LocationMatch' which might not be necessary for what you're trying to do.

As someone else mentioned, look at the apache docs and mod_perl docs. Apache/mod_perl config is an art from in itself, and it's definitely something you want to have a handle on if you're worried about performance

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://402583]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-14 17:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found