ServerName avatars.example.com Redirect / https://avatars.example.com ServerName avatars.example.com ErrorLog logs/avatars.example.com-error_log TransferLog logs/avatars.example.com-access_log LogLevel warn CustomLog logs/avatars.example.com-request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" DocumentRoot /usr/share/surrogator/www Require all granted Options Indexes MultiViews FollowSymlinks RewriteEngine On RewriteRule ^avatar/ avatar.php [L]