I used vmware to create a guest OS in vmware.The IP of Guest Ubuntu is 192.168.43.129 and that of host Ubuntu is 192.168.1.3
Here is apache log when I access the site on machine where it actually is (guest os) as
http://localhost
the apache log shows
Quote:
127.0.0.1 - - [04/Feb/2011:22:18:29 +0530] "GET /some/templates/default/images/ButtonsBack.gif HTTP/1.1" 304 - "http://localhost/some/templates/default/delos.css" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8"
|
but if I try to access site from host Ubuntu in browser as
http:////192.168.43.129/some/
I do not see any entry in /var/log/apache2/access.log .
I checked
it was perfectly working.So at least port 80 of guest is not blocked I am assured of this situation.What more do I need to check here is my vhost (on guest os ) configuration.
Quote:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName localhost
DocumentRoot /var/www/
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
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
</VirtualHost>
|
what can I check?