koristim ubuntu lucid, apache 2.2
Podesio sam vhost za 2-3 sajta i radilo je, medjutim kada sam sutra probao ne rade.
evo jedno podesavanja mada su ista za sve sajtove
Code:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/sve-vesti.info
ServerName sve-vesti.info
ServerAlias *.sve-vesti.info
<Directory "/var/www/sve-vesti.info/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
AllowOverride FileInfo
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/sve-vesti.info
ServerName sve-vesti.info
ServerAlias *.sve-vesti.info
<Directory "/var/www/sve-vesti.info/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
AllowOverride FileInfo
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
Kada se ukuca adresa odgovor je prazan.. Gde moze da se krije greska?