Give us the output from apache2ctl -S instead.

Frank

On Mon, Sep 7, 2009 at 12:32 PM, RicardoCh<rac...@hotmail.com> wrote:
> I have a web-file-router-proxycache-firewall server (ALL ON THE SAME
> MACHINE) Debian Lenny Squid 2.7-Apache 2-Samba 3-iptables.
>
>
> I'm going more crazy that ever!!!
>
> The problem is VirtualHost and the warnings like:
>
>
>
> [warn] _default_ VirtualHost overlap on port 80, the first has precedence
>
> [warn] _default_ VirtualHost overlap on port 80, the first has precedence
>
> httpd not running, trying to start
>
> (98)Address already in use: make_sock: could not bind to address [::]:80
>
> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
>
> no listening sockets available, shutting down
>
> Unable to open logs
>
>
>
> Settings of apache2:
>
> ports.conf: *: 80, Listen 80
>
> httpd.conf: in blank
>
> sites-available/mysite:
>
>
>
> ----------paste----------------
>
>
>
> <VirtualHost *:80>
>
> <------>DirectoryIndex index.html
>
> <------>ServerAdmin webmas...@mail.com
>
> <------>ServerName *.mydomain.com
>
> <------>ServerAlias www.mydomain.com
>
> <------>DocumentRoot /var/www
>
> <------><Directory />
>
> <------><------>Options FollowSymLinks
>
> <------><------>AllowOverride None
>
> <------></Directory>
>
> <------><Directory /var/www/>
>
> <------><------>Options FollowSymLinks MultiViews
>
> <------><------>AllowOverride None
>
> <------><------>Order allow,deny
>
> <------><------>allow from all
>
> <------><------># This directive allows us to have apache2's default start
> page
>
>                 # in /apache2-default/, but still have / go to the right
> place
>
> <------><------>#RedirectMatch ^/$ /apache2-default/
>
> <------></Directory>
>
> <------>ErrorLog /var/log/apache2/error.log
>
> </VirtualHost>
>
>
>
> <VirtualHost *:80>
>
> <------>DirectoryIndex index.html
>
> <------>ServerAdmin webmas...@mail.com
>
> <------>ServerName *.otherdomain.com
>
> <------>ServerAlias www.otherdomain.com
>
> <------>DocumentRoot /var/www
>
> <------><Directory />
>
> <------><------>Options FollowSymLinks
>
> <------><------>AllowOverride None
>
> <------></Directory>
>
> <------><Directory /var/www/>
>
> <------><------>Options FollowSymLinks MultiViews
>
> <------><------>AllowOverride None
>
> <------><------>Order allow,deny
>
> <------><------>allow from all
>
> <------><------># This directive allows us to have apache2's default start
> page
>
>                 # in /apache2-default/, but still have / go to the right
> place
>
> <------><------>#RedirectMatch ^/$ /apache2-default/
>
> <------></Directory>
>
> <------>ErrorLog /var/log/apache2/error.log
>
> </VirtualHost>
>
>
>
> <VirtualHost *:80>
>
> <------>DirectoryIndex index.html
>
> <------>ServerAdmin webmas...@mail.com
>
> <------>ServerName *.anotherdomain.com
>
> <------>ServerAlias www.anotherdomain.com
>
> <------>DocumentRoot /var/www
>
> <------><Directory />
>
> <------><------>Options FollowSymLinks
>
> <------><------>AllowOverride None
>
> <------></Directory>
>
> <------><Directory /var/www/>
>
> <------><------>Options FollowSymLinks MultiViews
>
> <------><------>AllowOverride None
>
> <------><------>Order allow,deny
>
> <------><------>allow from all
>
> <------><------># This directive allows us to have apache2's default start
> page
>
>                 # in /apache2-default/, but still have / go to the right
> place
>
> <------><------>#RedirectMatch ^/$ /apache2-default/
>
> <------></Directory>
>
> <------>ErrorLog /var/log/apache2/error.log
>
> </VirtualHost>
>
>
>
> -------------end paste------------------------------------------------
>
>
>
> Sites-enabled/@000-mysite
>
>
>
> /etc/hosts file:    127.0.0.1     mynameserver.mydomain.com     mynameserver
>
>
>
> Iptables:
>
> $IPTABLES -t nat -A PREROUTING -i $LAN_IFACE -s $LAN_IP_RANGE -d !
> $LAN_IP_RANGE -p tcp --dport 80 -j REDIRECT --to-ports 3128
>
>
>
> Squid 2.7:
>
>
>
> http_port 192.168.0.1:3128 transparent
>
> http_port IPtoInternet:80 accel defaultsite=mysite.com vhost
>
> cache_peer 127.0.0.1 parent 80 0 no-query originserver name=Linux
>
>
>
>
>
> Help please, thanks in advance
>
> Regards
>
> Ricardo
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to