John Biddle
John Biddle

Reputation: 2682

WAMP icon colors

I'm running Wamp 3.0.0 64bit on Windows 10. In past versions the icon was either red, orange or green depending on status. Now the green version has a red dot in it, and the background color is pale yellow rather than clear as it is on the red and orange versions.

Does anyone know the significance of the background color or the red dot?

Upvotes: 0

Views: 1231

Answers (1)

RiggsFolly
RiggsFolly

Reputation: 94642

It seems I gave you some wrong advice above in my comments.

The icon you speak about is in fact a new Icon I had forgotten about.

This image enter image description here indicates that you have set WAMPServer Online i.e. you have used the Online/Offline menu and set Apache to be Online.

NOTE: It is not necessary to have set Apache Online for normal development activity. Online only means that Apache can be accessed by any IP Address in the universe.

In other words when Online the httpd.conf file contains this parameter in the

<Directory "D:/wamp/www/">

section on httpd.conf

#   onlineoffline tag - don't remove
Require all granted

when normally it has

#   onlineoffline tag - don't remove
Require local

Unless you are actually trying to access your site from the internet it is not required to be Online.

Additional info after clarification

Ok, so if you are just trying to open up to connections from your local network then you have to do this. WAMPServer3 added the use of localhost as a Virtual Host by default. So now you should leave the httpd.conf files as

#   onlineoffline tag - don't remove
Require local

Now edit \wamp\bin\apache\apache{version}\conf\extra\httpd-vhost.conf and add your access requirements to that like this

The default is this

<VirtualHost *:80>
    ServerName localhost
    DocumentRoot c:/wamp/www
    <Directory  "c:/wamp/www/">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require local
    </Directory>
</VirtualHost>

So just add requirements like this

<VirtualHost *:80>
    ServerName localhost
    DocumentRoot c:/wamp/www
    <Directory  "c:/wamp/www/">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require local

        Require ip 192.168.0.1
        Require ip 192.168.0.2
    </Directory>
</VirtualHost>

Or add this for any ip in your local network

<VirtualHost *:80>
    ServerName localhost
    DocumentRoot c:/wamp/www
    <Directory  "c:/wamp/www/">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require local

        Require ip 192.168.0
    </Directory>
</VirtualHost>

Upvotes: 1

Related Questions