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
Solved

Local browing only WAMP/Drupal

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
000webhost.com default error log 1 40
PHP strings vs array errors 13 32
Dynamic Dropdowns 15 32
form validation - make sure at least 1 checkbox is selected 18 29
In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

860 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