Welcome Guest, Not a member yet? Register   Sign In
Use wamp localhost in other device
#2

If you by wamp mean WampServer 3.0 or later, you activate the "online" feature this way:
1. Left-click => Apache => httpd-vhost.conf
2. Add "Require ip 192.168.0" or whatever your ip-range are to your virtualhost for CI. 

This example are for the document root (not recommended). You should have a virtualhost for CI and have your mobile access the ServerName instead.
Code:
<VirtualHost *:80>
    ServerName localhost
    ServerAlias localhost
    DocumentRoot c:/wamp/www
    <Directory  "c:/wamp/www/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require local
        Require ip 192.168.0 #This is your ip-range
    </Directory>
</VirtualHost>
Reply


Messages In This Thread
RE: Use wamp localhost in other device - by jreklund - 11-05-2017, 12:28 PM
RE: Use wamp localhost in other device - by Narf - 11-07-2017, 08:54 AM
RE: Use wamp localhost in other device - by Narf - 11-08-2017, 03:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB