Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] apache2 problema di configurazione strano
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Laux
n00b
n00b


Joined: 25 Apr 2007
Posts: 44
Location: Monkey Island

PostPosted: Sun Sep 30, 2007 10:58 am    Post subject: [Risolto] apache2 problema di configurazione strano Reply with quote

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
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Sun Sep 30, 2007 12:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Laux
n00b
n00b


Joined: 25 Apr 2007
Posts: 44
Location: Monkey Island

PostPosted: Sun Sep 30, 2007 1:03 pm    Post subject: Reply with quote

Tutto risolto: GRAZIE! :wink:
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Sun Sep 30, 2007 2:01 pm    Post subject: Reply with quote

Laux wrote:
Tutto risolto: GRAZIE! :wink:

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
View user's profile Send private message
Laux
n00b
n00b


Joined: 25 Apr 2007
Posts: 44
Location: Monkey Island

PostPosted: Mon Oct 01, 2007 3:06 pm    Post subject: non proprio fino in fondo Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum