Jump to content
php.lv forumi

apache virtual host no Ubuntu uz CentOS 5.3


Recommended Posts

Šādi izskatās uz CentOS ,strādā ,bet met ārā

 

[Tue Jul 21 21:41:52 2009] [warn] NameVirtualHost *:80 has no VirtualHosts

 

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin 	xxxx@gmail.com
ServerName 	www.uoc.lv
ServerAlias	uoc.lv
DirectoryIndex 	index.php
DocumentRoot	/home/www/under_construction/
ErrorLog 	/var/log/httpd/error.log
LogLevel 	warn
</VirtualHost>

 

Uz Ubuntu man bija šādi ,bez nekādiem 80 un NameVirtualHost *:80

<VirtualHost *>
ServerAdmin 	xxx@gmail.com
ServerName 	www.uoc.lv
ServerAlias	uoc.lv
DirectoryIndex 	index.php
DocumentRoot	/home/www/uoc.lv/
ErrorLog 	/var/log/apache2/error.log
LogLevel 	warn
</VirtualHost>

 

Īsti nesaprotu atšķirību un vai to warnu ņemt vērā ?

Edited by Wuu
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...