Update 'Apache-Installer.sh'
This commit is contained in:
@@ -44,6 +44,12 @@ cat <<EOF > /etc/apache2/sites-available/"$domain".conf
|
|||||||
ServerName $domain
|
ServerName $domain
|
||||||
ServerAlias www.$domain
|
ServerAlias www.$domain
|
||||||
DocumentRoot /var/www/$domain/html
|
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
|
ErrorLog \${APACHE_LOG_DIR}/error.log
|
||||||
CustomLog \${APACHE_LOG_DIR}/access.log combined
|
CustomLog \${APACHE_LOG_DIR}/access.log combined
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|||||||
Reference in New Issue
Block a user