View previous topic :: View next topic |
Author |
Message |
Laux n00b
Joined: 25 Apr 2007 Posts: 44 Location: Monkey Island
|
Posted: Sun Sep 30, 2007 10:58 am Post subject: [Risolto] apache2 problema di configurazione strano |
|
|
Salve a tutti,
questo è il mio primo post di richiesta, ho cercato in giro e chiedo venia se clone, ma non ho trovato soluzione al mio problema:
Code: |
localhost laux # /etc/init.d/apache2 start
* Caching service dependencies ... [ ok ]
* WARNING: netmount is scheduled to start when net.eth0 or net.eth1 has started.
* WARNING: apache2 is scheduled to start when net.eth0 or net.eth1 has started.
|
Il punto è che stranamente se avvio il mio portatile con il cavo di rete inserito e router attivo il server funziona, finchè ho il cavo inserito...
Ecco il mio file: /etc/apache2/httpd.conf
Code: |
#ServerRoot "/usr/lib64/apache2"
#ServerName localhost
ServerName localhost:80
#DocumentRoot /var/www/localhost/htdocs
#<Directory "/var/www/localhost/htdocs">
# Options FollowSymLinks
# AllowOverride None
# Order Allow,deny
# Allow from all
#</Directory>
#Listen 127.0.0.1:80
|
Nel file /etc/conf.d/apache2 ho questi parametri:
Code: |
#-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5"
|
Da notare che la prima riga commentata è la vecchia impostazione che conservo perchè "non si sa mai!"
Idee su come posso risolvere dato che vorrei usare il server apache per sviluppare in php senza attaccarmi al cavetto???
Last edited by Laux on Wed Oct 03, 2007 2:16 pm; edited 3 times in total |
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Sun Sep 30, 2007 12:14 pm Post subject: |
|
|
devi cambiare la variabile RC_NET_STRICT_CHECKING in /etc/conf.d/rc e impostarla a no o a lo. _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
Laux n00b
Joined: 25 Apr 2007 Posts: 44 Location: Monkey Island
|
Posted: Sun Sep 30, 2007 1:03 pm Post subject: |
|
|
Tutto risolto: GRAZIE! |
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Sun Sep 30, 2007 2:01 pm Post subject: |
|
|
Laux wrote: | Tutto risolto: GRAZIE! |
aggiungi [Risolto] al titolo del thread, editando il primo post allora _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
Laux n00b
Joined: 25 Apr 2007 Posts: 44 Location: Monkey Island
|
Posted: Mon Oct 01, 2007 3:06 pm Post subject: non proprio fino in fondo |
|
|
Il problema di base è stato risolto, ma c'è un altro piccolo giallo:
Usando il dhcp su scheda wireless nell'ufficio di un amico mi si cambia il nome del mio host: da "localhost" a "dhcppc1", e di conseguenza il server apache non parte più.....
Siccome navigo mentre uso anche il server avrei bisogno di un altro piccolo aiuto per poter mettere la tag [Risolto] |
|
Back to top |
|
|
|