diff --git a/BrokoliWebServer/13.sh b/BrokoliWebServer/13.sh new file mode 100644 index 0000000..c52657a --- /dev/null +++ b/BrokoliWebServer/13.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +cat > /etc/apache2/sites-available/vitamin.conf < + ServerName vitamin.brokoli.f01.com + ServerAlias www.vitamin.brokoli.f01.com + + ServerAdmin webmaster@localhost + DocumentRoot /var/www/vitamin.brokoli.f01 + + + Options +Indexes + + + + Options +FollowSymLinks -Multiviews + AllowOverride All + + + ErrorLog \${APACHE_LOG_DIR}/error.log + CustomLog \${APACHE_LOG_DIR}/access.log combined + +EOL + +cat > /var/www/vitamin.brokoli.f01/.htaccess <