Solved

Local browing only WAMP/Drupal

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
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 …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now