Apache + virtual host
Z wiki linux-user
Linia 9: | Linia 9: | ||
<tt> | <tt> | ||
− | NameVirtualHost *:80 | + | NameVirtualHost *:80 |
− | ServerAdmin admin @ domena1.pl | + | ServerAdmin admin @ domena1.pl |
− | DocumentRoot /var/www/domena1.pl/htdocs | + | DocumentRoot /var/www/domena1.pl/htdocs |
− | ServerName domena1.pl | + | ServerName domena1.pl |
− | TransferLog /var/log/httpd/access_log.domena1.pl | + | TransferLog /var/log/httpd/access_log.domena1.pl |
− | ErrorLog /var/log/httpd/error_log.domena1.pl | + | ErrorLog /var/log/httpd/error_log.domena1.pl |
− | ServerAdmin admin @ domena2.pl | + | ServerAdmin admin @ domena2.pl |
− | DocumentRoot /var/www/domena2.pl/htdocs | + | DocumentRoot /var/www/domena2.pl/htdocs |
− | ServerName domena2.pl | + | ServerName domena2.pl |
− | TransferLog /var/log/httpd/access_log.domena2.pl | + | TransferLog /var/log/httpd/access_log.domena2.pl |
− | ErrorLog /var/log/httpd/error_log.domena2.pl | + | ErrorLog /var/log/httpd/error_log.domena2.pl |
</tt> | </tt> | ||