Hi all,
reading along internet the huge amount of docs found about mod_perl
and mass hosting, I didn't find examples or solutions for what I am
trying to do: I found the way to realize a dynamic vhost conf file,
but I understood that this conf will be generated during startup.
Instead I need a
Hello,
I have added the following configuration in httpd.conf file to insert an output
filter handler into the output filters chain for processing .html files before
sending them to the client.
...
PerlRequire /usr/local/libexec/perl/startup.pl
PerlModule Apache::CustomFilterTitle
Files ~
On Fri, Mar 28, 2008 at 8:30 AM, Valerio [EMAIL PROTECTED] wrote:
Instead I need a solution that allow adding a vhost to the database
without need of restarting apache.
This is not usually done with mod_perl because there are
lighter-weight solutions available. There's some info on vhosts
On Fri 28 Mar 2008, woinshet abdella wrote:
PerlRequire /usr/local/libexec/perl/startup.pl
PerlModule Apache::CustomFilterTitle
Files ~ *\.html
PerlOutputFilterHandler Apache::CustomFilterTitle
/Files
...
This is working as expected.
My question is, I need to find a way to invoke
I'm curious, how would this be
possible with mod_perl? The below will fail as:
$r-add_config() has failed: VirtualHost not allowed here
and when $r-add_config is changed to $r-server-add_config it will fail as:
Can't run '$s-add_config' after server startup
In /etc/hosts
127.0.0.1
On Fri, Mar 28, 2008 at 11:36 AM, Ryan Gies [EMAIL PROTECTED] wrote:
I'm curious, how would this be possible with mod_perl?
I'd probably use mod_vhost_alias and make a mod_perl handler that just
checks whether the current IP or hostname is legit.
- Perrin
Ahem, sorry folks about the HTML email
Ryan Gies wrote:
I'm curious, how would this be possible with mod_perl? The below will
fail as:
$r-add_config() has failed: VirtualHost not allowed here
and when $r-add_config is changed to $r-server-add_config it will
fail as:
Can't run
Thanks for the reply.
I know it is possible to do it inside the handler. However, for performance
reasons, we want to prevent the handler from running on every request by
configuring Apache.
Thanks again
Woinshet
- Original Message
From: Torsten Foertsch [EMAIL PROTECTED]
To:
Hi all,
thank you so much for you help :)
I will try to use other solutions a part from mod_perl
(mod_vhost_alias for example)
but I managed to do quite what I want by this way:
Perl
package My::Trans;
use Apache2::Const -compile = qw(OK DECLINED);
use DBI;
use
On Fri 28 Mar 2008, Valerio wrote:
I set both document_root and filename: can I set just only the
filename or the document-root or I have to set both them?
filename is just enough. You need to set docroot only if you have CGI scripts
or similar that use it. You can also set only docroot and
Hello Folks,
OpenCA tells me I need IO:Socket::SSL which apparently needs Net::SSLeay.
Installing Net::SSLeay from the interactive CPAN utility fails. So I
downloaded Net-SSLeay-1.32. At the top of the README for Net-SSLeay-.32 is the
following:
README - Net::SSLeay Perl module for
Am Freitag, den 28.03.2008, 12:23 -0500 schrieb [EMAIL PROTECTED]:
Hello Folks,
OpenCA tells me I need IO:Socket::SSL which apparently needs
Net::SSLeay. Installing Net::SSLeay from the interactive CPAN
utility fails. So I downloaded Net-SSLeay-1.32. At the top of the
README for
Hi Torsten,
if my page contains relative paths (for example for images), I suppose
that I have to set document root and return DECLINED. It is correct?
It seems to work using this solution
thank you
Valerio
2008/3/28, Torsten Foertsch [EMAIL PROTECTED]:
On Fri 28 Mar 2008, Valerio wrote:
On Mar 27, 2008, at 8:43 PM, Colin Wetherbee wrote:
Hm. Yep. ResponseHandler can interpret the ::ResponseHandler part
as being a function within Handler.pm, but that does *not* work for
InitHandler.
i have it set up using
PerlFixupHandler
PerlResponseHandler
Jonathan Vanasco wrote:
On Mar 27, 2008, at 8:43 PM, Colin Wetherbee wrote:
Hm. Yep. ResponseHandler can interpret the ::ResponseHandler part as
being a function within Handler.pm, but that does *not* work for
InitHandler.
i have it set up using
PerlFixupHandler
On Mar 28, 2008, at 3:11 PM, Colin Wetherbee wrote:
Care to add one, just to see what happens? :)
You know you've been working too much on the Business Side when you
stop testing stuff like that automatically. sigh...
ok...
it works if i have
package MyApp;
sub handler {}
sub
16 matches
Mail list logo