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

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 work

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: Re: Perl Sections, NameVirt

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
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, David W Cc: [EMAIL PROTECTED] Subject: Re: Perl Sections, NameVirtualHost, and Aliases I use

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_usertype0"',

Re: Perl Sections, NameVirtualHost, and Aliases

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

RE: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Veatch, David W
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: Perl: PerlSetVar takes two arguments, Perl config var and value. I don't think PerlSetVar likes this line

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',

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

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 perl 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