forked from resnostyle/mediafrontpage
-
Notifications
You must be signed in to change notification settings - Fork 8
Apache install
Mar2zz edited this page Aug 19, 2011
·
2 revisions
sudo apt-get install apache2 php5
A site is now listening @ http://localhost/.
Website-folders/files must be located in /var/www/ (owned by root) so mediafrontpage must be in /var/www/mediafrontpage (for example). That specific site will be listening @ http://localhost/mediafrontpage.
The default user Apache is called www-data. Give write-access to www-data by chowning /var/www/website, for example:
sudo chown -R www-data /var/www/mediafrontpage
This way files can be edited by the website, for example add values to a config.ini.