PDA

View Full Version : Problema con apache2............


stefanoxjx
13-03-2006, 12:46
Ciao a tutti, perchè sono costretto a mettere le pagine del mio sito su apache2-default?
Non c'è verso di fargli vedere le pagine su /var/www.

Cosa sto sbagliando secondo voi?

Grazie.
Ciao.

Maestro
13-03-2006, 13:23
Questo è perchè stai usando il VirtualHost di default del pacchetto Debian.

Se vuoi continuare a fare così e non dover posizionare i files dentro apache2-default, fai così:


cd /etc/apache2/sites-enabled
nano 000-default


poi cerca


RedirectMatch ^/$ /apache2-default/


commentalo e riavvia Apache2 con:


/etc/init.d/apache2 restart



Ciao

stefanoxjx
13-03-2006, 13:46
Perfetto, funziona!!!
Avevo pensato già ad una soluzione simile, però non ero sicuro che andasse bene eliminare o modificare quella riga.

Grazie dell'aiuto.

:cincin:

Hardware Upgrade Forum Database Error
Database Error Database error
The Hardware Upgrade Forum database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.hwupgrade.it home page, then try to open another page.
  • Click the Back button to try another link.
The www.hwupgrade.it forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.