Παρασκευή, 7 Μαρτίου 2008

Remove apache's default redirection Debian

Remove apache's default redirection
http://localhost/ redirects to http://localhost/apache2-default/

To remove it just edit /etc/apache2/sites-available/default and comment out the following line:
RedirectMatch ^/$ /apache2-default/

Then restart Apache:

/etc/init.d/apache2 reload

Δεν υπάρχουν σχόλια: