no images
Posted by: veni (---.83-200-24.mc.videotron.ca)
Date: March 23, 2008 05:17AM

Hello Folks'

Why is it that when I attempt to access my site withing my LAN I see no images, I see the layout but none of he images etc are displayed?

Options: ReplyQuote
Re: no images
Posted by: yfastud (Moderator)
Date: March 23, 2008 04:32PM

Make sure to follow step by step of my Setup Virtual Host guide on my personal website

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: no images
Posted by: veni (---.83-200-24.mc.videotron.ca)
Date: March 23, 2008 10:40PM

I have followed the Virtual Host guide to a T.

Here is my setup:

In the httpd.conf
I have enabled"" Include conf/extra/httpd-vhosts.conf""


My root dir is located at z:/www/ and the site is at z:/www/Movies

So, in my httpd-vhosts.conf file to create the virtual host, I did the following:

NameVirtualHost *:8080

<VirtualHost *:8080>
ServerName movies.local
ServerAlias movies
DocumentRoot z:/www/Movies
ErrorLog z:/www/Movies/logs/error.log
CustomLog z:/www/Movies/logs/access.log common
</VirtualHost>


<VirtualHost *:8080>
ServerName localhost
DocumentRoot Z:/www
ErrorLog Z:/www/logs/error.log
CustomLog Z:/www/logs/access.log common
</VirtualHost>


Then I edit the hosts file located at C:\WINDOWS\system32\drivers\etc
like this:

127.0.0.1 localhost
127.0.0.1 movies.local

Then I put the server online

The virtual host part seems to be working because I can access the site on my LAN using [movies.local] but the problem is, I don't see any images plus the links do not work.

Click on the link below to see what comes up on my Browser on my LAN machine #2

[img393.imageshack.us]


I really don't know what do do anymore Please help

Options: ReplyQuote
Re: no images
Posted by: yfastud (Moderator)
Date: March 24, 2008 01:03PM

Quote

I have followed the Virtual Host guide to a T.
Are you sure you follow it to a T, since I did NOT see what you put in other computers' host files as instructed in my guide???

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: no images
Posted by: veni (---.83-200-24.mc.videotron.ca)
Date: March 24, 2008 03:56PM

in Machine # 2, I edited the host file C:\WINDOWS\system32\drivers\etc
like this:

192.168.1.2 localhost
192.168.1.2 movies.local

I must tell you that if I test the site with a simple html page, I'm able to view pictures but when I try to view my oscommerce site, that's when I get no images and the links do not work.

When I look in the error log withing the dir, Apche says permission is denied for that dir. Looking around, some people say that you need to include this in the vhost file:

<Directory z:/www/Movies>
Allow from All
</Directory>


but that does not work either.

Options: ReplyQuote
Re: no images
Posted by: veni (---.83-200-24.mc.videotron.ca)
Date: March 25, 2008 04:46AM

Help anyone?

Options: ReplyQuote
Re: no images
Posted by: veni (---.83-200-24.mc.videotron.ca)
Date: March 26, 2008 02:36AM

I solved my problem, thanks anyways.

Options: ReplyQuote


Sorry, only registered users may post in this forum.