1
deepak267
WAMP configuration setting for Virtual machine
  • 2010/10/8 18:44

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


Hi,

I installed xoops on WAMP server ( on a Virtual Machine)


it work fine for Localhost and 127.0.0.1 but it does not work for my local IP address ( 192.168.1.6).

when i try to access from the host machine ashttp://192.168.1.6/.... it gives the following error :

---------------
Forbidden

You don't have permission to access / on this server.

-----------------

I guess its a simple permission issue or DNS issue, but can't figure it out.

Any idea?

Thanks in advance

Deepak
A member of www.AquariumHomeCare.com

2
deepak267
Re: WAMP configuration setting for Virtual machine
  • 2010/10/9 15:12

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


I found a solution so thought of posting it here.

I made 2 changes:

1. On the windows firewall ( of VM) added port 80 to exception (both TCP & UDP).


2. on the server_root\htdocs\mainfile.php(43):

define('XOOPS_URL', 'http://localhost/xoops-root/htdocs');

change the reference of "localhost" to your server(or machine) name

define('XOOPS_URL', 'http://your_server_name/xoops-root/htdocs');


There may be other solution, but the above worked for me.

Deepak
A member of www.AquariumHomeCare.com

Login

Who's Online

165 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 165


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits