redhat:web-server-redhat:virtual-hosts-redhat

Differences

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

Link to this comparison view

Next revision
Previous revision
redhat:web-server-redhat:virtual-hosts-redhat [2018/01/19 11:06] – created michaelredhat:web-server-redhat:virtual-hosts-redhat [2018/01/19 11:14] (current) michael
Line 13: Line 13:
 <sxh bash> <sxh bash>
 <VirtualHost *:80> <VirtualHost *:80>
-ServerAdmin [email protected]_domain.com +    ServerAdmin email@your_domain.com 
-DocumentRoot "/var/www/html/your_domain/" +    DocumentRoot "/var/www/html/your_domain/" 
-ServerName your_domain.com +    ServerName your_domain.com 
-ServerAlias www.your_domain.com +    ServerAlias www.your_domain.com 
-ErrorLog "/var/log/httpd/your_domain.com-error_log" +    ErrorLog "/var/log/httpd/your_domain.com-error_log" 
-CustomLog "/var/log/httpd/your_domain.com-access_log" combined+    CustomLog "/var/log/httpd/your_domain.com-access_log" combined
  
-<Directory "/var/www/html/your_domain/"> +    <Directory "/var/www/html/your_domain/"> 
-DirectoryIndex index.html index.php +        DirectoryIndex index.html index.php 
-Options FollowSymLinks +        Options FollowSymLinks 
-AllowOverride All +        AllowOverride All 
-Require all granted +        Require all granted 
-</Directory>+    </Directory>
 </VirtualHost> </VirtualHost>
 </sxh> </sxh>
  • redhat/web-server-redhat/virtual-hosts-redhat.1516356378.txt.gz
  • Last modified: 2018/01/19 11:06
  • by michael