1. edit /etc/apache2/sites-available/default and add an alias
Alias /demos/ "/home/// / /"
/home/// / /" >
Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all
Alias /demos/ "/home/
Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all
2. make yourself sure that all the rights are correctly assigned on each of the directories
chmod -R a+rx /home/
chmod -R a+rx /home/
chmod -R a+rx /home/
chmod -R a+rx /home/
3.restart apache
sudo service apache2 restart
* Remember that the tomcat configuration file is
/etc/tomcat6/tomcat6.conf
No comments:
Post a Comment