Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [inne]Apache na świat - problem z konfiguracją, Zewnetrzne IP
MateuszS
post
Post #1





Grupa: Zarejestrowani
Postów: 1 429
Pomógł: 195
Dołączył: 6.10.2008
Skąd: Kraków/Tomaszów Lubelski

Ostrzeżenie: (0%)
-----


Witam, mam problem z konfiguracją apache2 pod Linux Mint. Przy starcie serwera dostaję:

Kod
* Starting web server apache2                                                                              
: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/apache2.conf:227
(99)Cannot assign requested address: AH00072: make_sock: could not bind to address 89.73.25.244:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.


apache2.conf
Kod
ServerName 89.73.25.244:80

# Ensure that Apache listens on port 80
Listen 89.73.25.244:80

# Listen for virtual host requests on all IP addresses
NameVirtualHost 89.73.25.244:80


<VirtualHost 89.73.25.244:80>
    # ServerName mateuszpc

    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

   <Directory  "/var/www/html/development">
        AllowOverride All

        Require local
        Allow from all

    </Directory>
</VirtualHost>


Na 127.0.0.1 działa OK. Pozdrawiam

Ten post edytował MateuszS 20.12.2014, 12:16:04
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 14.10.2025 - 05:53