Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

want to give access only to web app not to my local host page (1 reply)

$
0
0
hello
i am using wamp server 3.0.5
i have create virtual host of my web application which is perfectly working on my LAN but i want to give access to my users only for my web application not to my local host page
when they enter 192.168.10.11:81 they can access to my localhost page
i want to limit them to 192.168.10.11:81/pos/index.php

my httpd-vhosts.conf is like this


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


<VirtualHost *:81>
ServerName pos
DocumentRoot "c:/wamp/www/opensourcepos-2.4"
<Directory "c:/wamp/www/opensourcepos-2.4/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Require ip 192.168.10
</Directory>
</VirtualHost>

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>