Solved

Local browing only WAMP/Drupal

Posted on 2011-09-05
4
315 Views
Last Modified: 2012-05-12
I have Win 7 and Virtual PC installed.  In VPC I have a Win2003 virtual machine with IIS not enabled.  I installed WAMP on 2003 and can see the default web pages using localhost on the VM.   I installed Drupal and can browse the app on the win2003 VM using localhost.  My problem is I get a forbidden page when I try to get to it from the Win7 host.  Seems like a rights issue but I have not been able to find what exact Windows rights need to be on the WAMP folder.  I have tried to open it up to  anything and everyone but still get forbidden.  
0
Comment
Question by:jchri66
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 5

Expert Comment

by:wmadrid1
ID: 36484845
A virtual machine uses a virtual network card, try looking for the ip assigned
You can do it easy, Home / Run / cmd
ipconfig

And try accesing the apache in win2003 from win 7 using the ip via http
0
 
LVL 1

Author Comment

by:jchri66
ID: 36484898
The VM is configured correctly.  It picks up it's own IP and I can browse to the VM file system from multiple machines.  It appears to be something with Drupal or WAMP.  I suspect WAMP or Windows file rights.  I threw a basic web file in the www root and I get a 403 forbidden error from remote machines.  Works fine from the VM ocalhost.
0
 
LVL 1

Accepted Solution

by:
jchri66 earned 0 total points
ID: 36485277
I figured it out.  It was Apache ACL settings.  The httpd.conf file.  The rights for www folder in that file showed:

Deny from alll
Allow from 127.0.0.1

Changed to:
Allow from all

Restarted Apache.  good.
0
 
LVL 1

Author Closing Comment

by:jchri66
ID: 36515682
It's the right solution
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question