freebsdrocks.net was started originally as nospam.mine.nu.
# cd ~root
# tar xzf ~root/qmail/vqadmin-2.3.7.tar.gz
# cd vqadmin-2.3.7
# chown -R root:wheel .
# patch -p1 < ~root/qmail/vqadmin-2.3.7_20150829.patch
# ./configure --enable-qmaildir=/var/qmail --enable-cgibindir=/usr/local/www/apache24/cgi-bin/ --enable-htmldir=/usr/local/www/apache24/data
# make
# make install-strip
1) NOTE: DO NOT PUT VQADMIN DIR INTO VHOSTS - PUT RIGHT BELOW THIS IN HTTPD.CONF:
# vi /usr/local/etc/apache24/httpd.conf
existing lines:
<Files ".ht*">
Require all denied
</Files>
<Directory "/usr/local/www/apache24/cgi-bin/vqadmin/">
Options +ExecCGI
AllowOverride AuthConfig
</Directory>
<IfModule mpm_prefork_module>
LoadModule cgi_module libexec/apache24/mod_cgi.so
</IfModule>
AddHandler cgi-script .cgi
# /usr/local/etc/rc.d/apache24 restart
# cd /usr/local/www/apache24/cgi-bin/vqadmin
# chown root:wheel vqadmin.cgi
# chmod 644 .htaccess
# vi .htaccess
AuthType Basic
AuthUserFile /usr/local/vqadmin.passwd
AuthName vQadmin
require valid-user
# /usr/local/bin/htpasswd -bc /usr/local/vqadmin.passwd admin your-web-password