in reply to Apache startup file on virtual host

I'm a little confused. If you're hosting in a shared environment, it's unlikely the provider will allow mod_perl.

If you're hosted on a dedicated server, there's no reason why you shouldn't be able to edit httpd.conf

If it's a maintained box, you could create a directory for apache boot includes, eg:

/home/username/apachestart
dump the startup file in there, then ask the ISP to add the line:
Include /home/username/apachestart/*
to the httpd.conf file (I think that's the correct syntax).

Then add in Apache configuration directives as you see fit to call whatever you need at startup.

But, I have a feeling you're talking shared hosting, in which case you're out of luck :)

.02

cLive ;-) </code>

Replies are listed 'Best First'.
Re^2: Apache startup file on virtual host
by bugsbunny (Scribe) on Dec 17, 2004 at 08:54 UTC
    Thanx all for the answers... if some is interested, here is my solution to bootstraping problem (in CGI environment, not tested will this work under mod_perl)
    BEGIN { my ($ROOT) = $ENV{DOCUMENT_ROOT} =~ m!(^.+)/!; unshift @INC, "$ROOT/lib"; }