Solved

Local browing only WAMP/Drupal

Posted on 2011-09-05
4
295 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
  • 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

773 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