|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Jan 2002
Città: VENICE
Messaggi: 1241
|
Apache2
Ciao, vorrei sapere come posso fare affinchè la directory di base in cui piazzo il mio index.html non sia più /var/www ma /home/username/public_html
Grazie
__________________
...Fight with your heart, and you're Destined For Glory But fight without soul and you will loose it all... |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Feb 2003
Città: Formia
Messaggi: 1545
|
vedi il valaore di DocumentRoot
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Jan 2001
Città: Milano
Messaggi: 5707
|
non basta, occorre modificare anche il valore del tag <Directory> che punta alla root del web.
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Jan 2002
Città: VENICE
Messaggi: 1241
|
Scusate non ho precisato che il file è vuoto, mi trovo solo il commento
Codice:
# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so
__________________
...Fight with your heart, and you're Destined For Glory But fight without soul and you will loose it all... |
|
|
|
|
|
#5 |
|
Senior Member
Iscritto dal: Jan 2002
Città: VENICE
Messaggi: 1241
|
ragazzi ho risolto, o meglio raggirato il problema con apache v1 per intenderci...resta il fatto che ora voglio far funzionare apache2, anche se nn capisco che abbia di diverso..
...a parte quel file htpd.conf vuoto!
__________________
...Fight with your heart, and you're Destined For Glory But fight without soul and you will loose it all... |
|
|
|
|
|
#6 |
|
Senior Member
Iscritto dal: Jan 2004
Città: Torino
Messaggi: 826
|
Io modifico in /etc/apache2/default-server.conf la default-root e directory e via.
Suse 10. Però httpd.conf non è vuoto... |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 13:05.











...a parte quel file htpd.conf vuoto!








