Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Wade Burgett
This is working for me. I do some aliasing of mod_perl directories outside of the section for stuff that all my hosts need to share so my httpd.conf is not all perl, but I do have some aliasing going on. There's some stuff there to pull my records out of a database but basically the $Co

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Dave Baker
> Has anyone successfully built a fully perl conf file with multiple virtual > hosts on the same IP? I'm giving it my best, but just can't quite get it to > work. I'm stuck on aliases. The Eagle book and the mod_perl guide have > both been of great help getting this far, but I can't find an exa

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
Got it. So far, everything appears to be working like a dream. Here's the changes I made: # OLD and BREAKY Location => { '/' => { SetHandler => 'perl-script', PerlInitHandler => 'Apache::StatINC', P

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
tt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 07, 2001 12:38 PM > To: Veatch, David W > Cc: [EMAIL PROTECTED] > Subject: Re: Perl Sections, NameVirtualHost, and Aliases > > > > However, now I'm getting this: > > > > : PerlSetVar takes

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Benjamin Trott
> However, now I'm getting this: > > : PerlSetVar takes two arguments, Perl config var and value. I don't think PerlSetVar likes this line: [ Auth_DBI_pwd_whereclause => '"user_usertype>0"' ], You could try taking out the quotes and see if that helps, cause it did for me (though I didn't c

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
That was my conclusion as well... PerlSetVar is the same data structure (as far as mod_perl is concerned), so it makes sense to use the same syntax. However, now I'm getting this: : PerlSetVar takes two arguments, Perl config var and value. If you have ideas, feel free, but I'm not going to wai

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Benjamin Trott
I think that this: > PerlSetVar => { > Auth_DBI_data_source => 'dbi:Pg:dbname=reckdb', > Auth_DBI_username => 'dvicci', > Auth_DBI_pwd_table => 'user_profile', > Auth_DBI_uid_field => 'user_username', > Auth_DBI_pwd_field => 'user_password', > Auth_DBI_pwd_whereclause => '"user_usertype>0"', > A

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
e Alias problem fixed, I'm feeling much better about it. Thanks! Perhaps an Alias example could be added to the docs somewhere? > -Original Message- > From: Jason Terry [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 07, 2001 11:53 AM > To: G.W. Haywood; Veatch, Dav

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Jason Terry
I use this code to pull my domains from a VERY simple mySQL db - Original Message - From: "G.W. Haywood" <[EMAIL PROTECTED]> To: "Veatch, David W" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, February 07, 2001 10:04 AM Subject: R

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
I haven't no, but I will. I'm doing this at home in preparation for implementing it at work, where I hesitate to throw yet another module into the mix (we already have a pretty rich set of compile time modules in there). Thanks! :) > From: G.W. Haywood <[EMAIL PROTECTED]> > > Dunno if it will w

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread G.W. Haywood
Hi there, On Wed, 7 Feb 2001, Veatch, David W wrote: > Has anyone successfully built a fully perl conf file with multiple virtual > hosts on the same IP? Dunno if it will work for you in those circumstances, but have you looked at mod_macro? I used it last year and it was fine for an ordinary

Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
Yo, Has anyone successfully built a fully perl conf file with multiple virtual hosts on the same IP? I'm giving it my best, but just can't quite get it to work. I'm stuck on aliases. The Eagle book and the mod_perl guide have both been of great help getting this far, but I can't find an exampl