Solved

Local browing only WAMP/Drupal

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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

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.
There is a massive demand for content on the web right now, and it doesn't look like it's going to stop any time soon. But, if you are running a business blog, it's not just enough to offer your audience lots of content. It needs to be high-quality…
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…
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 …

615 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