I have made a successfull debian installation, with the newest webmin, usermin, and virtualmin, and stable debian, and apache2.
However, the apache configuration, refuses to have a line with listen *:80 both its primary address and 0.0.0.0 fails to add the socket.
Everytime i add a new virtual server, it will add a line saying listen *:80, wich means apache cant restart.
I am also unable to get suexec working, but i believe thats a limitation of the standard apache2 package?
Any suggestions to fix this, is apache2 from the debian packages supported? or should i remove it, and compile my own ?
Thanks for any suggestions, help.
-cut & paste httpd.conf-
Listen 81.X.145.200:8080
Listen *:80
KeepAlive on
This is here for backwards compatability reasons and to support
installing 3rd party modules directly via apxs2, rather than
through the /etc/apache2/mods-{available,enabled} mechanism.
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so
#LoadModule mod_suexec /usr/lib/apache2/modules/mod_suexec.so
NameVirtualHost 81.X.145.200:80
<VirtualHost 81.X.145.200:80>
ServerName domainA.dk
ServerAlias www.domainA.dk
DocumentRoot /home/domainA.dk/public_html
ErrorLog /home/domainA.dk/logs/error_log
CustomLog /home/domainA.dk/logs/access_log combined
ScriptAlias /cgi-bin/ /home/domainA.dk/cgi-bin/
<Directory /home/domainA.dk/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/domainA.dk/cgi-bin>
allow from all
</Directory>
</VirtualHost>
<VirtualHost 81.X.145.200:80>
ServerName domainB.dk
ServerAlias www.domainB.dk
DocumentRoot /home/userB/public_html
ErrorLog /home/userB/logs/error_log
CustomLog /home/userB/logs/access_log combined
ScriptAlias /cgi-bin/ /home/userB/cgi-bin/
<Directory /home/userB/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/userB/cgi-bin>
allow from all
</Directory>
</VirtualHost>