+ Responder ao Tópico



  1. #1
    max_mori
    Visitante

    Padrão erro no virtual host

    apachectl restart
    Re-creating /etc/httpd/extramodules
    Shutting down httpd-perl: [ OK ]
    Re-creating /etc/httpd/extramodules
    Starting httpd-perl: [ OK ]
    Starting httpd2: httpd2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Mon Nov 14 10:47:49 2005] [error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
    [Mon Nov 14 10:47:49 2005] [warn] NameVirtualHost athlon2000.com.br:0 has no VirtualHosts
    (98)Address already in use: make_sock: could not bind to address [::]:443
    no listening sockets available, shutting down
    Unable to open logs
    [FALHOU]
    [[email protected] arquivos-de-conf]#



    iptables
    $iptables -A INPUT -i $ilocal -p tcp --dport 443 -j ACCEPT #sagu
    $iptables -A FORWARD -i $ilocal -p tcp --dport 443 -j ACCEPT #sagu
    $iptables -A INPUT -i $ilocal -p udp --dport 443 -j ACCEPT #sagu
    $iptables -A FORWARD -i $ilocal -p udp --dport 443 -j ACCEPT #sagu
    $iptables -A OUTPUT -i $ilocal -p tcp --dport 443 -j ACCEPT #sagu apache
    $iptables -A OUTPUT -i $ilocal -p udp --dport 443 -j ACCEPT #sagu apache

    resolv.conf
    search MSHOME.NET local athlon2000 athlon2000.com.br
    nameserver 127.0.0.1
    nameserver 192.168.0.250
    nameserver 192.168.0.254
    nameserver 200.142.79.10 #silicom
    nameserver 200.232.124.133 #silicom

    # ppp temp entry

    host
    192.168.0.250 athlon2000.com.br
    127.0.0.1 athlon2000 localhost



    vhost.conf
    NameVirtualHost 192.168.0.250

    <VirtualHost 192.168.0.250>
    ServerAdmin [email protected]
    DocumentRoot /usr/local/sagu/html
    ServerName www.athlon2000.com.br
    # ErrorLog logs/host.some_domain.com-error_log
    # CustomLog logs/host.some_domain.com-access_log common
    </VirtualHost>

    NameVirtualHost athlon2000.com.br

    <VirtualHost athlon2000.com.br>
    ServerAdmin [email protected].br
    DocumentRoot /usr/local/sagu/html
    ServerName athlon2000.com.br
    ServerAlias www.athlon2000.com.br
    # ErrorLog logs/host.some_domain.com-error_log
    # CustomLog logs/host.some_domain.com-access_log common
    </VirtualHost>

    NameVirtualHost *

    <VirtualHost *>

    ServerAdmin [email protected]
    DocumentRoot /usr/local/miolo/html
    ServerName localhost
    ErrorLog logs/miolo.develop.error_log
    CustomLog logs/miolo.develop.access_log common

    <Directory "/usr/local/miolo/html">
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    </VirtualHost>

  2. #2
    max_mori
    Visitante

    Padrão erro no virtual host

    NameVirtualHost 192.168.0.250

    <VirtualHost 192.168.0.250>
    ServerAdmin [email protected]
    DocumentRoot /usr/local/miolo/html
    ServerName www.miolo.com.br
    DirectoryIndex index.htm
    #ErrorLog logs/miolo.develop.error_log
    #CustomLog logs/miolo.develop.access_log common

    <Directory /usr/local/miolo/html>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from 192.168.0.250 192.168.0.254 192.168.0.1 192.168.0.2 192.168.0.3
    </Directory>