Basically followed guidelines here.
The main thing I had to do was to create my own public_html directory, and create an apache config file pointing to it.
1) Create config file at /etc/apache2/sites-available/ (copy /etc/apache2/sites-available/default config file)
2) edit config file to point to created public_html directory
3) create public_html/cgi-bin directory if needed and modify ScriptAlias section of config file to point to created directory
4) disable apache default site: sudo a2dissite default
5) enable new site: sudo a2ensite
6) restart apache server: sudo /etc/init.d/apache2 restart
No comments:
Post a Comment