perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <...@as-guides.com>
Subject Re: same handler with different port
Date Wed, 18 Feb 2009 09:51:09 GMT
valerio crini schrieb:
> Sorry, i 'had typo errors. I managed in this way:
>
> <VirtualHost *:12200>
>  <Location "/rufus/query">
>      SetHandler              perl-script
>      PerlResponseHandler Dada::Rufus::Handler
>  </Location>
>
> </VitualHost>

Another typo here.

> <VirtualHost *:12300>
>  <Location "/rufus/query">
>     PerlSetVar          Login true
>     SetHandler              perl-script
>     PerlResponseHandler Dada::Rufus::Handler
>  </Location>
> </VitualHost>

Same typo once more.

> So i can pass different params only by changing port number: according
> to you is it the right way?

Yes. In addition to this, you only need the following:

Listen 12200
Listen 12300
PerlModule Dada::Rufus::Handler

But you knew that.

Michael Ludwig

Mime
View raw message