try this
cd /pathtoqmailamin
tar zxvf qmailadmin-1.2.9.tar.gz
cd qmailadmin-1.2.9
./configure --enable-cgibindir=/var/www/cgi-bin
--enable-htmldir=/var/www/html [--disable-ezmlm-mysql depends on how
you compiled vpopmail]
make && make install-strip
cd /var/www/html
echo '<html>' >> qmailadmin.html
echo ' <script language="JavaScript">' >> qmailadmin.html
echo "
setTimeout('location.href=\"/cgi-bin/qmailadmin\"',0);" >>
qmailadmin.html
echo ' </script>' >> qmailadmin.html
echo ' <head>' >> qmailadmin.html
echo ' <title>Mail Admin' >> qmailadmin.html
echo ' </title>' >> qmailadmin.html
echo ' </head>' >> qmailadmin.html
echo '<body bgcolor=white>' >> qmailadmin.html
echo '</body>' >> qmailadmin.html
echo '</html>' >> qmailadmin.html
cd /etc/httpd/conf/
echo "" >> httpd.conf
echo "<VirtualHost YOURIPOR*:80>" >> httpd.conf
echo 'DocumentRoot /var/www/html' >> httpd.conf
echo 'ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"' >> httpd.conf
echo 'ServerName YOURSERVERNAME' >> httpd.conf
echo 'DirectoryIndex qmailadmin.html' >> httpd.conf
echo 'ErrorLog /var/log/httpd/qmailadmin_error.log' >> httpd.conf
echo 'CustomLog /var/log/httpd/qmailadmin_access.log "combined"' >> httpd.conf
echo '</VirtualHost>' >> httpd.conf
echo "" >> httpd.conf
2008/5/1 D. Hilbig <[EMAIL PROTECTED]>:
> Where can I find a good how-to for configuring qmailadmin under apache? I'd
> like a document that provides some technical insights with respect to the
> apache configuration including any security concerns. I'm also wondering
> about an possible issues with SELinux in targeted mode. I'm using CentOS
> v5.1 with apache v2.2.3. Any help is appreciated.
>
>
>
>
>
--
mr
!DSPAM:481ad6a2120501128411945!