--- /dev/null
+unfold.wsgi
\ No newline at end of file
--- /dev/null
+NameVirtualHost *:80
+<VirtualHost *:80>
+ ServerName 200.130.15.182
+ ServerSignature Off
+
+ # Redirecionamento para SSL
+ #RewriteEngine on
+ #RewriteCond %{HTTPS} !=on
+ #RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]
+
+ DocumentRoot /var/www/
+ <Directory /var/www/>
+ Options Indexes FollowSymLinks MultiViews
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ </Directory>
+
+ ErrorLog /var/log/apache2/error.log
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel info
+ CustomLog /var/log/apache2/sp-access-80.log combined
+</VirtualHost>
--- /dev/null
+NameVirtualHost *:443
+<IfModule mod_ssl.c>
+<VirtualHost *:443>
+ ServerAdmin support-myslice@myslice.info
+ ServerName portal.fibre.br
+
+ DocumentRoot /var/www/myslice
+ WSGIScriptAlias / /var/www/myslice/apache/unfold.wsgi
+
+ <Directory /var/www/myslice>
+ Options Indexes FollowSymLinks MultiViews
+ AllowOverride All
+ Order allow,deny
+ allow from all
+ </Directory>
+
+ Alias /static/ /var/www/myslice/static/
+ <Directory /var/www/myslice/static>
+ Order deny,allow
+ Allow from all
+ </Directory>
+
+ #Alias /certificates/ /var/certificates-f4f/
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+
+ LogLevel warn
+
+ CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
+
+ # SSL
+ SSLEngine on
+ SSLProtocol all -SSLv2
+ SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
+ SSLCertificateKeyFile /etc/ssl/private/fibre.key
+ SSLCertificateFile /etc/ssl/certs/fibre.crt
+ SSLOptions +StdEnvVars +ExportCertData
+ SSLCACertificatePath /etc/sfa/trusted_roots
+ SSLVerifyClient optional_no_ca
+ #SSLVerifyClient require
+ SSLVerifyDepth 5
+ ServerSignature On
+
+ <FilesMatch "\.(cgi|shtml|phtml|php)$">
+ SSLOptions +StdEnvVars
+ </FilesMatch>
+ <Directory /usr/lib/cgi-bin>
+ SSLOptions +StdEnvVars
+ </Directory>
+
+ BrowserMatch "MSIE [2-6]" \
+ nokeepalive ssl-unclean-shutdown \
+ downgrade-1.0 force-response-1.0
+ BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
+
+</VirtualHost>
+</IfModule>
--- /dev/null
+<VirtualHost 200.130.15.182:443>
+ ServerName 200.130.15.182
+ ServerSignature Off
+
+ SSLEngine on
+ #SSLCertificateFile /etc/unfold/trusted_roots
+ SSLCertificateFile /etc/ssl/certs/fibre.crt
+ SSLCertificateKeyFile /etc/ssl/private/fibre.key
+
+ #ShibURLScheme https
+
+ DocumentRoot /var/www/
+ <Directory /var/www/>
+ Options -Indexes FollowSymLinks -MultiViews
+ AllowOverride None
+ Order deny,allow
+ Allow from all
+ </Directory>
+
+# WSGIScriptAlias / /usr/share/unfold/apache/myslice.wsgi
+# <Directory /usr/share/unfold/apache>
+# <Files myslice.wsgi>
+# Order deny,allow
+# Allow from all
+# </Files>
+# </Directory>
+# Alias /static/ /usr/share/unfold/static/
+# <Directory /usr/share/unfold/static>
+# Order deny,allow
+# Allow from all
+# </Directory>
+
+
+#<Location myslice/secure>
+# AuthType Shibboleth
+# ShibRequestSetting requireSession true
+# ShibRequestSetting applicationId default
+# Require valid-user
+#</Location>
+
+<Location /Shibboleth.sso>
+ SetHandler shib
+</Location>
+<Location /shibboleth-sp2>
+ SetHandler shib
+</Location>
+
+
+# <Location /moodle/auth/shibboleth>
+# AuthType shibboleth
+# ShibRequireSession On
+# require valid-user
+# </Location>
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ ErrorLog /var/log/apache2/error.log
+ LogLevel info
+ CustomLog /var/log/apache2/sp-access-443.log combined
+
+</VirtualHost>