httpd-vhosts.conf


 <VirtualHost *:80>
   ServerAdmin bhensler@gmail.com
   DocumentRoot "/Users/bhr/Sites/media.hensler.net"
   ServerName media.hensler.net
   ErrorLog "/private/var/log/apache2/media.hensler.net-error_log"
   CustomLog "/private/var/log/apache2/media.hensler.net-access_log" common
   RewriteEngine on
   RewriteCond %{SERVER_NAME} =media.hensler.net
   RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
 </VirtualHost>

httpd-ssl.conf

<VirtualHost *:443>
 ServerAdmin bhensler@gmail.com
 DocumentRoot "/Users/bhr/Sites/media.hensler.net"
 
 ServerName media.hensler.net
 ServerAlias media.hensler.net
 
 <Location />
         LogLevel Info
         AuthType Basic
         AuthName "UserWebDAV Gateway"
         AuthBasicProvider od_apple
         Require od_group Everyone
         Require valid-user
 </Location>
 
 <Directory "/Users/bhr/Sites/media.hensler.net">
      AllowOverride All
 </Directory>

httpd.conf

 LoadModule authnz_od_apple_module libexec/apache2/mod_authnz_od_apple.so

ln -s /Users/bhr/Music/iTunes/iTunes\ Media/Uploads/ /Users/bhr/Sites/media.hensler.net/uploads

https://larsjung.de/h5ai/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.