Menu

#16 install.cgi fails (Gentoo Linux)

open
nobody
5
2006-11-12
2006-11-12
Nick
No

unpacked the 1.1.0 zip file into my /var/www/shop/
folder, and gave that to apache as my webroot

I edited my config.txt and manually created a blank
DB called "neshop". When I ran teh install.cgi I got

Can't connect to data source dbi:mysql
:database=neshop
;host=localhost;, no database driver specified and
DBI_DSN env var not set at /var/www/shop/cgi-
bin/install.cgi line 34

My section from vhost.conf

<VirtualHost *:80>
ServerAdmin grimm@nickellson.com
ServerName shop.nickellson.com
DocumentRoot /var/www/shop
ErrorLog /var/www/shop/logs/error_log
TransferLog /var/www/shop/logs/transfer_log
Options ExecCgi Includes Indexes
FollowSymLinks
<Directory "/var/www/shop/htdocs">
AllowOverride
Options ExecCGI +Indexes
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin /var/www/shop/cgi-
bin/shopcms
<Directory "/var/www/shop/cgi-
bin/shopcms/">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

</VirtualHost>

Discussion


Log in to post a comment.

MongoDB Logo MongoDB