November 17, 2011 | In: Programovanie
Apache hosts
Host v apache na debiane nefunguje
skusil som zmazat defaultny localhost a pridat rovno hosty ktore potrebujem a zistil ze kym nebudem mat pridane aj localhosty tak moj dalsi alias nebude fungovat =O amerika…
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerAlias test1.l
ServerName test1.lDocumentRoot /var/www/test1
<Directory /var/www/test1/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>ErrorLog ${APACHE_LOG_DIR}/errorTest.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warnCustomLog ${APACHE_LOG_DIR}/accessTest.log combined
</VirtualHost>
Comments are closed.