Commit 87d1c068 authored by Fernando Redigolo's avatar Fernando Redigolo
Browse files

Updates on Apache Configuration instructions and template

parent bb09589e
......@@ -59,7 +59,7 @@ sudo -u postgres psql -c "CREATE DATABASE portaldb;"
sudo -u postgres psql portaldb -c "GRANT SELECT ON ALL TABLES IN SCHEMA public TO portaladmin;"
## Project
## Project Instalation
Clone the Portal repo:
......@@ -120,13 +120,18 @@ sudo a2enmod ssl
sudo a2enmod headers
Production Web Server Configuration (assuming that a portal.conf.apache file exists on examples directory):
Edit Apache configuration file portalTLS.conf, adjusting the paths.
cd /testbed/portal/portal-interface/
mkdir static
sudo cp examples/portal.conf.apache /etc/apache2/sites-available/portalTLS.conf
vi /etc/apache2/sites-available/portalTLS.conf
Enable the site and start the server
sudo a2dissite 000-default
sudo a2ensite portalTLS
service apache2 restart
Historical Information
......@@ -25,8 +25,8 @@
# Portal Configuration
Alias /static /testbed/portal/portal-interface/static
<Directory /testbed/portal/portal-interface/static>
Alias /static /testbed/portal/portal-interface/portal/static
<Directory /testbed/portal/portal-interface/portal/static>
Require all granted
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment