Posted on: 2007/1/11 4:09
Re: Can't access xoops test site from another computer in local network!
I'm trying XOOPS again and the install using WAMP was perfect. I'm trying to access my XOOPS test site on the webserver from other computers in my local network. I can get to a XOOPS login screen but there are no graphics.
Looks like you installed XOOPS specifying "http://localhost"
as your site name.
Edit your mainfile.php, and change the XOOPS_URL value, replacing "localhost" by the name or ip address you use to access your site remotely.
You may also need to delete all the .php files in the templates_c folder after that to ensure everything show up correctly.
I believe the WAMP install is intended for localhost access and not intended to be accessed remotely.
It's not entirely right... WAMP works when used remotely, it's just that by default most people just access it using http://localhost/
coz they don't know any other way... and as a result XOOPS uses this when you install it.
Now, if you want you can give your computer a real name:
- Go to "Control panel/system" in Windows
- Go to the page "Computer name"
- Click "change"
- Enter a nice name for your computer, for instance: "bedroom" (just letters or numbers, no spaces or hypens)
- Click OK to close all, and reboot
From now on, you'll be able to access your WAMP installed on the "bedroom" computer by going to http://bedroom/
(and this should work locally, but also from all computers on your local network).