Update 'Extra_Domains/Apache_Domain.sh'
This commit is contained in:
@@ -18,6 +18,12 @@ cat <<EOF > /etc/apache2/sites-available/"$domain.conf"
|
||||
ServerName $domain
|
||||
ServerAlias www.$domain
|
||||
DocumentRoot /var/www/$domain/html
|
||||
<Directory "/var/www/$domain/html">
|
||||
Options FollowSymLinks
|
||||
AllowOverride All
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
ErrorLog \${APACHE_LOG_DIR}/error.log
|
||||
CustomLog \${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user