4,199
edits
Changes
no edit summary
=== Apache ===
We are going to install Apache HTTP Server: <pre>sudo apt-get install apache2 apache2-mpm-prefork </pre> After installation, we are going to make some configurations: <pre lang="php">mkdir /home/<user>/web</pre> We create that folder called web to store all the web files.
Now we are going to change some basic Apache configuration, edit: /etc/apache2/sites-available/default Search line: '''DocumentRoot /var/www/''' Replace by: '''DocumentRoot /home/<user>/web/''' Search line: '''Directory /var/www/''' '''Options Indexes FollowSymLinks MultiViews''' Replace by: '''Directory /home/<user>/web/''' ''' Options FollowSymLinks''' Search line: '''AllowOverride None''' Replace by: '''AllowOverride all''' <br> /etc/init.d/apache2 restart <br> <br> <br> Under construction
=== PHP ===