httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuri Fontella <>
Subject [users@httpd] Fwd: htaccess help
Date Sat, 24 Jun 2017 03:53:56 GMT
*Atenciosamente, *
*Yuri Fontella*

---------- Forwarded message ----------
From: Yuri Fontella <>
Date: 2017-06-20 20:47 GMT-03:00
Subject: htaccess help

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  "" allow

  Require env allow
  Require valid-user

Any suggestion... Thanks.

*Atenciosamente, *
*Yuri Fontella*

View raw message