Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Quality control on netmagis-www installation
- remove obsolete comments about authentication
- no longer support Apache 2.2
- remove associated comments
- close #143
  • Loading branch information
pdav committed Jun 24, 2015
1 parent d389cf3 commit 57a8469
Showing 1 changed file with 7 additions and 25 deletions.
32 changes: 7 additions & 25 deletions www/share/httpd.conf
Expand Up @@ -2,29 +2,16 @@

#
# This file provide an example Apache configuration (for
# versions >= 2.2.2 or >= 2.4) that you need to customize
# according to your authentication method:
# - internal (PostgreSQL) authentication
# - LDAP authentication
# versions >= 2.4) that you need to customize to your site.
#
# These configuration assume that you have installed (either
# from your package/port system or from source):
# - DBD modules (included in Apache distribution) and appropriate pgsql
# driver for APR
# - LDAP modules (included in Apache distribution) and appropriate LDAP
# driver for APR
#
# Uncomment and adapt groups of lines below.
# Make sure that the CGI module is activated elsewhere in
# your site configuration:
# (LoadModule cgi_module .../mod_cgi.so)
#

# If you don't have this directive before
#Listen 443

######################################################################
# Authentication: LDAP
#### LDAPTrustedGlobalCert CA_BASE64 /etc/ssl/certs/ca-certificates.crt
######################################################################

<VirtualHost *:80>
ServerName www.example.com
RewriteEngine on
Expand All @@ -35,19 +22,14 @@
ServerName www.example.com

SSLEngine on
SSLCertificateFile "/usr/local/etc/apache22/server.crt"
SSLCertificateKeyFile "/usr/local/etc/apache22/server.key"
SSLCertificateChainFile "/usr/local/etc/apache22/server-ca.pem"
SSLCertificateFile "/usr/local/etc/apache24/server.crt"
SSLCertificateKeyFile "/usr/local/etc/apache24/server.key"
SSLCertificateChainFile "/usr/local/etc/apache24/server-ca.pem"

Alias "/netmagis/css" "%NMCGIDIR%/css"
ScriptAlias "/netmagis" "%NMCGIDIR%"

<Directory %NMCGIDIR%>
# If you use Apache 2.2
#Order allow,deny
#Allow from all

# If you use Apache 2.4
Require all granted
</Directory>

Expand Down

0 comments on commit 57a8469

Please sign in to comment.