Marty J. Rogers wrote:

>[snip]
>>From httpd.conf:
>
>PerlModule Apache::DBI CGI DBD::mysql \
>Apache::AuthenDBI
>PerlRequire /path/to/startup.pl
>
>Alias /perl/ /path/to/perl
>PerlModule Apache::Registry
><Location /perl>
>SetHandler perl-script
>PerlHandler Apache::Registry
>Options ExecCGI
>allow from all
>PerlSendHeader On
></Location
>
>
>and from startup.pl:
>
>use DBI();
>
    use Apache::DBI(); # !! :)

>
>use DBD::mysql();
>.
>.
>.
>DBI->connect_on_init("DBI:mysql:dbname",
>        "user","pass",
>        {Options here}
>
>
>Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at 
>http://www.eudoramail.com
>


Reply via email to