Images not loading
Posted by: Missingbit (---.bltmmd.fios.verizon.net)
Date: June 03, 2014 02:08AM

Hello, I am running a windows 7 computer and these are the stats:
Wamp 2.5
Apache 2.4.9
PHP 5.5.12
MySQL 5.6.17

When i created a forum website using simple machines forum I am not able to view images or css from other computers. I can see it on the host but not on the client (Both are in LAN) I have a fresh install so i did not change anything except the www directory for which the forum is in. the wamp icon is green so there are no errors.

Are there any steps I should take to fix this?

Thanks!

Options: ReplyQuote
Re: Images not loading
Posted by: RiggsFolly (---.as13285.net)
Date: June 03, 2014 10:45AM

Did you set your forum up in a Virtual Host?

If not read this and try doing that.

WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Hosts

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Images not loading
Posted by: Missingbit (---.bltmmd.fios.verizon.net)
Date: June 03, 2014 10:37PM

RiggsFolly Wrote:
-------------------------------------------------------
> Did you set your forum up in a Virtual Host?
>
> If not read this and try doing that.
>
> [url=http://forum.wampserver.com/read.php?2,124482
> ]WAMPServer 2.5 The Homepage, Your Projects Menu
> and the need for Virtual Hosts [/url]


I have done that and now I get a forbidden message on other computers on the network, although I fixed it for the host computer...
What do I do now?

Options: ReplyQuote
Re: Images not loading
Posted by: Missingbit (---.bltmmd.fios.verizon.net)
Date: June 04, 2014 02:39AM

I am not seeing images anymore as well as it blocks the entire webpage

Options: ReplyQuote
Re: Images not loading
Posted by: RiggsFolly (---.as13285.net)
Date: June 04, 2014 09:53AM

Well you now need to modify the definition of the virtual host so it is allowed to accept connections from your internal network.


So in your vhost definition for the site in question add the first 3 quartiles of the subnet to the access conditions like so for example.

    Require ip 192.168.0


Run a command prompt then do this

ipconfig

And look at the line labeled IPV4 address and use the first 3 numbers in the above command

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.