Many thanks all,
I've phone to a local Sysop who give me a VirtualHost solution.
I'll take a look at mod-perl2 for some future project.
Antoine
--
View this message in context:
http://www.nabble.com/Perl-section-and-request-object-tf4479522.html#a12804695
Sent from the mod_perl
antoine7 wrote:
> I've an SVN server on the same machine, at each commit the svn server update
> the changes to a local directory /www with this structure
>
> [...]
>
> I've all working, except I don't know what Host is asked by the developper
> on the apache server,
You mean, $r->hostname ?
e solution to read the /www directory and generate dynamicly some
VHost but the server will have to be restarted each time a directory is
added to /www ... it's not a good option in my point of view
antoine
--
View this message in context:
http://www.nabble.com/Perl-section-and-request-obje
On Wednesday 19 September 2007 4:43:25 am antoine7 wrote:
>
> use Apache2::RequestUtil ();
> my $r = Apache2::RequestUtil->request;
> [...]
>
>
> But when I restart the server I get the following error message
> etch:~# /etc/init.d/apache2 restart
> Forcing reload of web
I've just test, changing the directive to a section in apache
conf, but I've always the same error.
--
View this message in context:
http://www.nabble.com/Perl-section-and-request-object-tf4479522.html#a12774905
Sent from the mod_perl - General mailing list archive at Nabble.com.
or on line 7 of
> /etc/apache2/sites-enabled/999-vhost:
> \t(in cleanup) Global $r object is not available. Set:\n\tPerlOptions
> +GlobalRequest\nin httpd.conf at /etc/apache2/sites-enabled/999-vhost line
> 9.\n
> failed!
>
> But I've already add PerlOptions +GlobalRequest
cleanup) Global $r object is not available. Set:\n\tPerlOptions
+GlobalRequest\nin httpd.conf at /etc/apache2/sites-enabled/999-vhost line
9.\n
failed!
But I've already add PerlOptions +GlobalRequest ...
Has anyone got an idea ?
Thanks
--
View this message in context:
http://www.nabble.com/P