Making Your WAMP (Apache) available from Outside of the computer

Posted at

easy!



by default, you will have a limitaion on access to the server, allowing only connections from 127.0.0.1 (your own localhost, also known as "your PC"),
it  can be modified turning your computer or any machine into a server, use your ip or dns (if you are in another network that gave your computer a nice nick-name)



click wamp icon,

under sub-menu "apache" select httpd.conf

(you can can open it in an editor of your choice, its on the latest wamp version it is in C:\\wamp\\bin\\apache\\apache2.2.22\\conf\\httpd.conf )

scroll or search allow

when you will get a block saying:

Order Deny,Allow
Deny from all
Allow from 127.0.0.1

replace it with:

Order Allow,Deny
Allow from all

 

and restart all your WAMP services.

 

here is the complete block of configuration:

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

#

# Possible values for the Options directive are "None", "All",

# or any combination of:

# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

#

# Note that "MultiViews" must be named *explicitly* --- "Options All"

# doesn't give it to you.

#

# The Options directive is both complicated and important. Please see

# http://httpd.apache.org/docs/2.2/mod/core.html#options

# for more information.

#

Options Indexes FollowSymLinks

 

#

# AllowOverride controls what directives may be placed in .htaccess files.

# It can be "All", "None", or any combination of the keywords:

# Options FileInfo AuthConfig Limit

#

AllowOverride all

 

#

# Controls who can get stuff from this server.

#

 

# onlineoffline tag - don't remove

Order Allow,Deny

#Allow from 127.0.0.1

Allow from all

 

</Directory>