You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Kevin Old <ke...@gmail.com> on 2005/05/04 18:21:15 UTC

Client denied by server configuration when using Apache::DBI

Hello everyone,

I'm getting the following errors when uncommenting this Apache::DBI
statement, on a site the works flawlessly when I comment out this
Apache::DBI connection:

# From http://kold.homelinux.com/startup.pl.txt
#Apache::DBI->connect_on_init
#  ('dbi:ODBC:ivr',
#   'uavracks','uavracks',
#  {
#    PrintError => 1, # warn() on errors
#    RaiseError => 0, # don't die on error
#    AutoCommit => 1, # commit executes immediately
#    LongReadLen => 6000, # commit executes immediately
#   }
#  );

Here are the errors:

[Wed May  4 11:50:58 2005] [error] [client 172.16.1.180] client denied
by server configuration: /var/www/html/mason/uavracks_prod
[Wed May  4 11:50:58 2005] [error] [client 172.16.1.180] client denied
by server configuration: /var/www/html/mason/uavracks_prod
[Wed May  4 11:51:00 2005] [error] [client 172.16.1.180] client denied
by server configuration: /var/www/html/mason/uavracks_prod/favicon.ico
[Wed May  4 11:51:00 2005] [error] [client 172.16.1.180] client denied
by server configuration: /var/www/html/mason/uavracks_prod/favicon.ico
[Wed May  4 11:51:01 2005] [error] [client 172.16.1.180] client denied
by server configuration: /var/www/html/mason/uavracks_prod
[Wed May  4 11:51:01 2005] [error] [client 172.16.1.180] client denied
by server configuration: /var/www/html/mason/uavracks_prod
[Wed May  4 11:51:01 2005] [error] [client 172.16.1.180] client denied
by server configuration: /var/www/html/mason/uavracks_prod/favicon.ico
[Wed May  4 11:51:01 2005] [error] [client 172.16.1.180] client denied
by server configuration: /var/www/html/mason/uavracks_prod/favicon.ico

I'm not able to access anything on the uavracks.com (under
/var/www/html/mason/uavracks_prod) site.  My httpd.conf is located at
http://kold.homelinux.com/httpd.conf.txt.

I'm not changing anything in the httpd.conf.  All I'm doing is
uncommenting the Apache::DBI statement for that database (ODBC).  I
have another (mysql) databse that uses an Apache::DBI connection on
the same server with no problem.  My ODBC connection works fine
through regular DBI.

I've googled and searched the mailing list, but can't find anything to
help me out.

I'm using Apache/1.3.27 (Unix)  (Red-Hat/Linux) mod_ssl/2.8.7
OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2.

Any help is appreciated!

Kevin

-- 
Kevin Old
kevinold@gmail.com

Re: Client denied by server configuration when using Apache::DBI

Posted by Kevin Old <ke...@gmail.com>.
On 5/4/05, Philip M. Gollucci <pg...@p6m7g8.com> wrote:
> Kevin Old wrote:
> 
> >Hello everyone,
> >
> >I'm getting the following errors when uncommenting this Apache::DBI
> >statement, on a site the works flawlessly when I comment out this
> >Apache::DBI connection:
> >
> ># From http://kold.homelinux.com/startup.pl.txt
> >#Apache::DBI->connect_on_init
> >#  ('dbi:ODBC:ivr',
> >#   'uavracks','uavracks',
> >#  {
> >#    PrintError => 1, # warn() on errors
> >#    RaiseError => 0, # don't die on error
> >#    AutoCommit => 1, # commit executes immediately
> >#    LongReadLen => 6000, # commit executes immediately
> >#   }
> >#  );
> >
> >
> As you posted your database username AND password to half the internet,
> I suggest you change
> them ASAP.

Those aren't the real passwords, and the databases are only accessable
from inside the firewall from a select set of IP's.

Thanks for the heads up though.
-- 
Kevin Old
kevinold@gmail.com

Re: Client denied by server configuration when using Apache::DBI

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Kevin Old wrote:

>Hello everyone,
>
>I'm getting the following errors when uncommenting this Apache::DBI
>statement, on a site the works flawlessly when I comment out this
>Apache::DBI connection:
>
># From http://kold.homelinux.com/startup.pl.txt
>#Apache::DBI->connect_on_init
>#  ('dbi:ODBC:ivr',
>#   'uavracks','uavracks',
>#  {
>#    PrintError => 1, # warn() on errors
>#    RaiseError => 0, # don't die on error
>#    AutoCommit => 1, # commit executes immediately
>#    LongReadLen => 6000, # commit executes immediately
>#   }
>#  );
>  
>
As you posted your database username AND password to half the internet, 
I suggest you change
them ASAP.

-- 
END
-----------------------------------------------------------------------------
Philip M. Gollucci
Senior Developer - Liquidity Services Inc.
Phone:  202.558.6268 (Direct)
E-Mail: pgollucci@liquidation.com
Web:    http://www.liquidation.com