tags:

views:

12

answers:

2

Hi everyone,

I'm Working on a developpement server where i've set a Virtualhost in order to make Zend Framework work has it's meant to.

Problem is, I'm working with people who have dynamic ips: so I can't restrict (allow from) specific access for everyone. I've installed an OpenVPN server then, which gives every client an ip like 10.8.0.1/128 on tun0 interface. So i'de like to set my VHost conf in order to allow access only to VPN connected users.

Tried this in my vhost conf:

Order        deny,allow
Deny from    all
Allow from   10.8.0.0 ::1/128

But doesn't seem to work, any ideas?

+1  A: 
Order deny,allow
Deny  from all
Allow from   10.8.
Allow from   ::1
Allow from   127.0.0.1
Wrikken
A: 

Thank you for your answer! Unfornately, this didn't made the trick... Any other ideas guys? :-)

oleiade