From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 16:59:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C064116A4CE for ; Sun, 7 Mar 2004 16:59:07 -0800 (PST) Received: from vsmtp12.tin.it (vsmtp12.tin.it [212.216.176.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53D3043D39 for ; Sun, 7 Mar 2004 16:59:07 -0800 (PST) (envelope-from andrea.riela@poste.it) Received: from Avatar (80.180.15.12) by vsmtp12.tin.it (7.0.019) id 4045A165000CFD95 for freebsd-questions@freebsd.org; Mon, 8 Mar 2004 01:59:05 +0100 From: "Dott. Andrea Riela" To: Date: Mon, 8 Mar 2004 01:59:04 +0100 Message-ID: <000101c404a8$8d7972a0$1611a8c0@Avatar> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: freebsd 4.9 stable and qmailadmin-devel (1.2.1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 00:59:08 -0000 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/" Options Indexes MultiViews AllowOverride None Order allow,deny =20 Allow from all =20 [...] 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/" Options -Indexes=20 AllowOverride All Order allow,deny Allow from all Options ExecCGI -Indexes AllowOverride All Order allow,deny Allow from all 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 Options ExecCGI -Indexes +FollowSymLinks AllowOverride All Order allow,deny=20 Allow from all =20 =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