apache??
Postano: 21 tra 2009, 13:33
Kod: Označi sve
<VirtualHost *>
ServerName stranica.xy.com
DocumentRoot /path/do/html/direktorija
ErrorLog /var/log/httpd/error_log_2
</VirtualHost>Možda nešto sa sintaksom ne valja, provjeri stigarrr je napisao/la: kada sam pisao direktno u httpd.conf nije se dao restartat forcing reload i onda failed
Kod: Označi sve
apachectl configtestKod: Označi sve
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>