htaccess help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good Evening,
I'm trying to create a rule with the following scenario ... I have a server with two virtual hosts, it's the same ip.

Virtual host 1 = videos
Virtual host 2 = website

What I need is for vh2 to access the vh1 videos but not to be able to access the videos through the vh1 url.

I got the ip block if another server tries to play vh1 videos, but not your url access.


AuthType Basic
AuthName "Please enter your username and password"
AuthUserFile /var/www/.htpasswd
    
SetEnvIf Server_Addr  "22.33.44.55" allow

<RequireAny>
  Require env allow
  Require valid-user
</RequireAny>


Any suggestion... Thanks.

Atenciosamente, 
Yuri Fontella

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux