Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:apache_virtualhost [2018/01/18 09:53] (current)
susta created
Line 1: Line 1:
 +====== Apache Virtualhost ======
 +----
 +<code apache>
 +<​VirtualHost *:80>
 +    ServerName _hostname_
 +    DocumentRoot /​home/​user/​public_html
  
 +    <​Directory /​home/​user/​public_html>​
 +        Options Indexes FollowSymLinks Includes
 +        AllowOverride All
 +        Order allow,deny
 +        allow from all
 +        Require all granted
 +    </​Directory>​
 +
 +    <​IfModule mpm_itk_module>​
 +        AssignUserId user user
 +    </​IfModule>​
 +
 +    ServerSignature Off|On
 +</​VirtualHost>​
 +</​code>​
 +
 +{{tag>​linux apache virtualhost mpm_itk serversignature}}