Changeset 40976 for branches/eam_branches/ipp-20191011/Nebulous-Server/docs/apache2-mod_perl-startup.pl
- Timestamp:
- Oct 28, 2019, 12:00:30 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20191011/Nebulous-Server/docs/apache2-mod_perl-startup.pl
r23687 r40976 28 28 use Nebulous::Server; 29 29 30 my $dsn = 'DBI:mysql:database=nebulous:host= ipp019.ifa.hawaii.edu';30 my $dsn = 'DBI:mysql:database=nebulous:host=nebulous.ipp.ifa.hawaii.edu'; 31 31 my $dbuser = 'nebulous'; 32 my $dbpasswd = ' @neb@';32 my $dbpasswd = 'XXXX'; 33 33 34 34 #$Apache::DBI::DEBUG = 1; 35 35 #Apache::DBI->connect_on_init( $dsn, $dbuser, $dbpasswd ); 36 36 Apache::DBI->setPingTimeOut($dsn, 10); 37 Nebulous::Server::SOAP->new_on_init( 37 38 my $config = Nebulous::Server::Config->new( 39 trace => 'warn', 40 ); 41 $config->add_db( 42 dbindex => 0, 38 43 dsn => $dsn, 39 44 dbuser => $dbuser, 40 45 dbpasswd => $dbpasswd, 41 log_level => 'all', 42 ); 46 ); 47 48 Nebulous::Server::SOAP->new_on_init($config); 49 43 50 44 51 1;
Note:
See TracChangeset
for help on using the changeset viewer.
