Solved

WAMP Apache resolves to localhost but not IP address

Posted on 2013-10-30
2
734 Views
Last Modified: 2013-11-15
Hi,

I'm running WAMP 2.4 on a Win 7 machine and while it resolves to localhost if I type the IP address into the browser I get 404 not found.

I also can't see Apache from other machines on the LAN although when I scan the port it shows:

HTTP/1.1 404 Not Found..Date: Wed, 30 Oct 2013 12:08:19 GMT..Server: Apache/2.4.4 (Win32) PHP/5.4.16..Connection: close..Conten

So it's definitely spotting Apache on 80

In my http.conf I've added "Allow from all" to

DocumentRoot "e:/wamp/www"
<Directory "e:/wamp/www">
 
/~~~~~
</Directory>

and Apache is listening on 80 rather than a specific IP.

My Windows Firewall is off.

Have I missed anything really basic?


Thanks.

Ok...


I've just change my VirtualHost setting from:

# Digital Essence Vhost configurations
<VirtualHost *:80>
    ServerAdmin localhost.admin
    DocumentRoot "E:\wamp\www"
    ServerName localhost
</VirtualHost>

to

# Digital Essence Vhost configurations
<VirtualHost *:80>
    ServerAdmin localhost.admin
    DocumentRoot "E:\wamp\www"
    ServerName 192.168.19.15
</VirtualHost>

and I can now see it both locally and on the lan.
0
Comment
Question by:Letterpart
2 Comments
 
LVL 26

Accepted Solution

by:
arober11 earned 500 total points
ID: 39612992
Have you got a:

Listen 80

or:

Listen 192.168.19.15:80

entry outside of the Virtual host definitions?

If not add one and restart Apache.
0
 
LVL 1

Author Comment

by:Letterpart
ID: 39650622
Hi,

I managed to fix this but can't remember how as it's been more than a few weeks and my goldfish brain has a terrible memory.

I'm going to award you the points anyway as you took the time to reply which I appreciate.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

10 Experts available now in Live!

Get 1:1 Help Now