|
|||||||
|
|
|
![]() |
|
|
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: Jan 2006
Città: Pisa
Messaggi: 2503
|
Su winzozz si modifica il file httpd.conf nella directory conf di Apache. Nel file c'è la direttiva document_root, e cambi quella.
Non so se su linux sia uguale, magari prova. Ciao
__________________
|
|
|
|
|
|
#3 | |
|
Senior Member
Iscritto dal: Nov 2005
Città: TO
Messaggi: 5206
|
Quote:
__________________
Andrea, SCJP 5 (91%) - SCWCD 5 (94%) |
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Jan 2002
Città: VENICE
Messaggi: 1241
|
il file http.conf è dentro etc/apache2 ...mi sembrava quello infatti il file ma c'è scritto solo questo:
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
come mai ora è vuoto? come rimedio? o.O
__________________
...Fight with your heart, and you're Destined For Glory But fight without soul and you will loose it all... Ultima modifica di MetalMassacre : 13-03-2006 alle 14:18. |
|
|
|
|
|
#5 |
|
Senior Member
Iscritto dal: Jan 2006
Città: Pisa
Messaggi: 2503
|
Anche io andando ora su linux ho trovato solo quello...
Mah, prova a entrare come root, cerca la cartella di Apache e apri il file, magari poi si vede. Posta anche nella sezione di linux cmq, li sanno sicuro come si fa. Ciao, Alex
__________________
|
|
|
|
|
|
#6 | |
|
Senior Member
Iscritto dal: Jan 2002
Città: VENICE
Messaggi: 1241
|
Quote:
ma io lo apro da root..e non c'è proprio na riga!
__________________
...Fight with your heart, and you're Destined For Glory But fight without soul and you will loose it all... |
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 05:48.



















