Skip to content

Commit

Permalink
Merge pull request turnkeylinux-apps#1 from JedMeister/update-apache-…
Browse files Browse the repository at this point in the history
…confs-jessie

Update apache confs jessie
  • Loading branch information
alonswartz committed May 19, 2015
2 parents 1d5551f + b64f161 commit cd7c34f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conf.d/main
Expand Up @@ -111,7 +111,7 @@ $MYSQL_BATCH --database=$DB_NAME --execute "UPDATE block SET region = '-1' WHERE
/etc/init.d/mysql stop

# configure apache
a2dissite default
a2dissite 000-default
a2ensite drupal7
a2enmod rewrite

Expand Down
@@ -1,5 +1,4 @@
NameVirtualHost *:80
NameVirtualHost *:443
ServerName localhost

<VirtualHost *:80>
UseCanonicalName Off
Expand All @@ -17,7 +16,6 @@ NameVirtualHost *:443
<Directory /var/www/drupal7/>
Options +FollowSymLinks
AllowOverride All
order allow,deny
allow from all
Require all granted
</Directory>

0 comments on commit cd7c34f

Please sign in to comment.