-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced hardcoded symlinks with a2ensite in apache config
- Loading branch information
1 parent
cb701b3
commit 2c6dfd7
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,6 @@ PACKAGENAME=eratosthenes | |
sudo cp /opt/codebender/$PACKAGENAME/apache-config-2.4 /etc/apache2/sites-available/codebender-$PACKAGENAME | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
fpapadopou
Author
Contributor
|
||
cd /etc/apache2/sites-enabled | ||
# Add the vhost configuration file to the enabled sites | ||
sudo ln -s ../sites-available/codebender-$PACKAGENAME 00-codebender.conf | ||
sudo a2ensite codebender-$PACKAGENAME | ||
# Reload apache in order to enable the new configurations | ||
sudo service apache2 reload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In recent versions of ubuntu with apache 2.4,
sites-available
configuration files must end in.conf
extensions because of this apache configuration:I believe
/codebender-$PACKAGENAME
will leave them without the extension, soa2ensite
will fail later.