Tag: Apache/アクセス制限
SetEnvIF Request_URI "^/test.html" ok_path SetEnvIF Accept "text/html" ok SetEnvIF ok_path "^$" !ok <VirtualHost *:80> DocumentRoot /var/www/html <Directory /var/www/html> Options FollowSymLinks AllowOverride None Order allow,deny Allow from env=ok </Directory> </VirtualHost>
解説