Dott. Andrea Riela wrote:
> Hi folks,
> 
> I've a problem. I've installed the qmailadmin-devel freebsd
> port (qmailadmin version 1.2.1), it works, I could use it,
> but when I try to add an user, I logout and I receive two error
> messages: 
> 
> 1. Error. Domain was not found in the assign file
> 2. Could not change to directory (in italian)

well, I think it's an apache problem, and not qmailadmin.
I've tried with source, the same thing.
Now I try to connect, I log, but whatever link I try, I log out.

I've installed my qmailadmin like that:

./configure --enable-htmldir=/usr/local/www/data
--enable-htmllibdir=/usr/local/share/qmailadmin/
--enable-cgibindir=/usr/local/www/data/sites/nesys.it/cgi-bin
--enable-cgipath=/cgi-bin/qmailadmin --enable-imageurl=/qmailadmin/images
--enable-imagedir=/usr/local/www/data/images/qmailadmin
--enable-modify-quota=Y --enable-maxusersperpage=50 --enable-modify-spam=Y
--enable-spam-command="| maildrop /etc/mailfilter"
--enable-domain-autofill=Y --enable-help

my apache conf is like that:

[...]

    Alias /qmailadmin/images/ "/usr/local/www/data/images/qmailadmin/"
    <Directory "/usr/local/www/data/images/qmailadmin">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny  
        Allow from all    
    </Directory>

[...]

<VirtualHost 192.168.1.11:80>
ServerName www.nesys.it
ServerAdmin [EMAIL PROTECTED]
SSLDisable
Port 80   
DocumentRoot /usr/local/www/data/sites/nesys.it
ErrorLog /var/log/apache/nesys.it-error_log
CustomLog /var/log/apache/nesys.it-access_log combined
RewriteEngine on
RewriteRule ^/cgi-bin/qmailadmin https://www.nesys.it/cgi-bin/qmailadmin
[R=permanent]
ScriptAlias /cgi-bin/ "/usr/local/www/data/sites/nesys.it/cgi-bin/"
   <Directory "/usr/local/www/data/sites/nesys.it">
               Options -Indexes 
               AllowOverride All
               Order allow,deny
               Allow from all
   </Directory>
   <Directory "/usr/local/www/data/sites/nesys.it/cgi-bin">
               Options ExecCGI -Indexes
               AllowOverride All
               Order allow,deny
               Allow from all
   </Directory>
</VirtualHost>

<VirtualHost 192.168.1.11:443>
ServerName www.nesys.it
ServerAdmin [EMAIL PROTECTED]
Port 443
DocumentRoot /usr/local/www/data/sites/nesys.it
RewriteEngine on
RewriteRule ^/cgi-bin/qmailadmin - [S=1]
RewriteRule ^(.*) http://www.nesys.it/$1 [R=permanent]
ScriptAlias /cgi-bin/ "/usr/local/www/data/sites/nesys.it/cgi-bin/"
SSLEngine on
SSLCertificateFile /usr/local/www/certs/nesys.crt
SSLCertificateKeyFile /usr/local/www/certs/nesys.key
ErrorLog /var/log/apache/nesys.it-error_log
CustomLog /var/log/apache/nesys.it-access_log combined
   <Directory "/usr/local/www/data/sites/nesys.it/cgi-bin">
               Options ExecCGI -Indexes +FollowSymLinks
               AllowOverride All
               Order allow,deny 
               Allow from all   
   </Directory>
</VirtualHost> 


I hope there's someone that could help me :)
thanks for your support
regards
Andrea

Reply via email to