different default apache directory

Gabriel M Dragffy dragffy at yandex.ru
Mon Sep 11 10:07:30 UTC 2006


On Sun, 2006-09-10 at 19:48 +0200, Dieter Schicker wrote:
> If you are using Apache2, have a look in
> "/etc/apache2/sites-available/default" and change the "DocumentRoot"
> entry according to your needs. Then restart Apache:
> sudo /etc/init.d/apache2 restart.
> 
> Hope that helps
> Dieter
> 

Hi thanks for that, i never would have found it.  I was following
instructions from the rather excellent ubuntuguide.org and it told me
to:
	gksudo gedit /etc/apache2/conf.d/alias

	Alias / /home/ftp/public_html/

	<Directory /home/ftp/public_html/>
	  Options Indexes FollowSymLinks
 	 AllowOverride All
 	 Order allow,deny
 	 Allow from all
	</Directory>

Then restart apache, but it was throwing up some errors about a bad
alias.





More information about the ubuntu-users mailing list