From: Andrea R. <ml...@ne...> - 2003-12-03 13:24:34
|
Hi folks, With the default configs, qmailadmin 1.0.30 works fine, no problems. But I've to do that: 1- change directory for html, lang and images: all in /var/www/htdocs/qmailadmin 2- use qmailadmin only from specific virtual hosts. To do that, I would install qmailadmin in a cgi-bin dir in one vh, and then create symlinks for the vh that use qmailadmin. This is my config: ./configure --enable-htmldir=/var/www/htdocs --enable-htmllibdir=/var/www/htdocs/qmailadmin/ --enable-cgibindir=/var/www/htdocs/sites/nesys.it/cgi-bin --enable-cgipath=/cgi-bin/qmailadmin --enable-imageurl=/qmailadmin/images --enable-imagedir=/var/www/htdocs/qmailadmin/images --enable-modify-spam=Y --enable-spam-command="| maildrop /etc/mailfilter" --enable-domain-autofill=Y In my httpd.conf, I've added: In general configuration ------------------------ Alias /qmailadmin/images/ "/var/www/htdocs/qmailadmin/images/" <Directory "/var/www/htdocs/qmailadmin/images"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> In the main vh for qmailadmin ----------------------------- <VirtualHost 192.168.1.11:80> ServerName www.nesys.it ServerAdmin web...@ne... SSLDisable Port 80 DocumentRoot /var/www/htdocs/sites/nesys.it ErrorLog logs/nesys.it-error_log CustomLog logs/nesys.it-access_log combined ScriptAlias /cgi-bin/ "/var/www/htdocs/sites/nesys.it/cgi-bin/" <Directory "/var/www/htdocs/sites/nesys.it"> Options -Indexes AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> The problem is: I connect to www.nesys.it/cgi-bin/qmailadmin But when I try to connect with an account, the message is: Invalid Login (198) Why? Have you got any advices for me? Thanks Andrea |