Changes

How to forge a local file system server with IGEPv2 Board

366 bytes added, 17:25, 9 November 2011
no edit summary
=== Apache ===
The Apache HTTP Server is an open-source HTTP server for modern operating systems including UNIX, Microsoft Windows, Mac OS/X and Netware.  We are going to install Apache HTTP Serverit:
<pre>sudo apt-get install apache2 apache2-mpm-prefork</pre>
After installation, we are going to make some configurations:
<pre>mkdir /home/&lt;user&gt;adminserver/web/</pre>
We create that folder called web to store all the web files.
Replace by:
<pre>DocumentRoot /home/&lt;user&gt;/web/</pre>
DocumentRoot is the root folder that contains our web pages.
 
Search line:
<pre>Directory /var/www/
Options FollowSymLinks</pre>
For security reasons, we are going to hide our files and folders.
 
Search line:
<pre>AllowOverride None</pre>
Replace by:
<pre>AllowOverride all</pre>
Allows a file .htaccess to override the options for the respective directory
 
Save and exit.
<pre>ServerSignature Off
ServerTokens Prod</pre>
For security reasons, this lines hide the version of Apache and Linux Distro.
 
Restart Apache:
<pre>sudo /etc/init.d/apache2 restart</pre>
Now we have a Apache with basic improved configuration.<br>  Under construction: Explain configuration
=== PHP ===
4,199
edits