Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 01:59:04 +0100
From:      "Dott. Andrea Riela" <andrea.riela@poste.it>
To:        <freebsd-questions@freebsd.org>
Subject:   freebsd 4.9 stable and qmailadmin-devel (1.2.1)
Message-ID:  <000101c404a8$8d7972a0$1611a8c0@Avatar>

next in thread | raw e-mail | index | archive | help
HI folks,

I need your support about qmailadmin and freebsd 4.9.
I've installed qmailadmin-devel from ports (with some differences, like
--enable-spam-command, but I've tried with the original port, the same
problem), and when I try to connect with web interface, I can login, but
when I try to use a link (for "new account", or whatever), I logout
automatically.

this is my make conf:

make CGIBINDIR=3Dwww/data/sites/nesys.it/cgi-bin WEBDATADIR=3Dwww/data
WITH_MODIFY_QUOTA=3Dyes WITH_DOMAIN_AUTOFILL=3Dyes WITH_HELP=3Dyes
WITHOUT_IPAUTH=3Dyes
(WITH_ANTISPAM=3Dyes ANTISPAM_COMMAND=3D"| maildrop /etc/mailfilter"
WITH_USERPERPAGE=3Dyes USERPERPAGE=3D50)

that is:

./configure --enable-htmldir=3D/usr/local/www/data
--enable-htmllibdir=3D/usr/local/share/qmailadmin
--enable-cgibindir=3D/usr/local/www/data/sites/nesys.it/cgi-bin
--enable-cgipath=3D/cgi-bin/qmailadmin =
--enable-imageurl=3D/qmailadmin/images
--enable-imagedir=3D/usr/local/www/data/images/qmailadmin
--enable-modify-quota=3DY --enable-domain-autofill=3DY --enable-help
--disable-ipauth
(--enable-maxusersperpage=3D50 --enable-modify-spam=3DY =
--enable-spam-command=3D"|
maildrop /etc/mailfilter")

I've seen my fstab (because qmailadmin needs "nosuid"):

/dev/ad0s1g		/usr	ufs	rw	2	2

I've tried with source, but same problem (that is: isn't a qmailadmin
problem).
I've checked my apache conf (default ServerRoot "/usr/local" + virtual
hosts). An example of vh:

[...]

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

[...]

<VirtualHost 192.168.1.11:80>
ServerName www.nesys.it
ServerAdmin webmaster@nesys.it
SSLDisable
Port 80  =20
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=3Dpermanent]
ScriptAlias /cgi-bin/ "/usr/local/www/data/sites/nesys.it/cgi-bin/"
   <Directory "/usr/local/www/data/sites/nesys.it">
               Options -Indexes=20
               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 webmaster@nesys.it
Port 443
DocumentRoot /usr/local/www/data/sites/nesys.it
RewriteEngine on
RewriteRule ^/cgi-bin/qmailadmin - [S=3D1]
RewriteRule ^(.*) http://www.nesys.it/$1 [R=3Dpermanent] 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=20
               Allow from all  =20
   </Directory>
</VirtualHost>=20

vpopmail and qmail are ok, I've used vqadmin to add domains, withou
problems.
I've tried to install qmailadmin with --disable-ipauth too, but nothing.

What could I do? Have you got any advice for me?
I hope you could help me.
thanks for your support
Regards
Andrea



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101c404a8$8d7972a0$1611a8c0>