Warning, /frameworks/syntax-highlighting/autotests/folding/apache.conf.fold is written in an unsupported language. File is not indexed.

0001 # Apache configuration highlighting unit test
0002 # comment with alters TODO FIXME ###
0003 
0004 <beginfold id='1'><IfModule</beginfold id='1'> mod_dav_fs.c>
0005     DAVLockDB /var/lock/apache/DAVLock
0006 <endfold id='1'></IfModule</endfold id='1'>>
0007 
0008 <beginfold id='1'><VirtualHost</beginfold id='1'> *:443>
0009     Include something_else.inc
0010 
0011     SSLEngine on
0012     # exclude insecure protocols
0013     SSLProtocol all -SSLv2 -SSLv3
0014     SSLHonorCipherOrder on
0015     # exclude insecure ciphers
0016     SSLCipherSuite "HIGH !EXP !eNULL !aNULL !LOW !RC4 !3DES !MD5 !EXP !PSK !SRP !DSS !DES !aECDH"
0017 
0018     SSLCertificateFile /etc/letsencrypt/live/cert.pem
0019     SSLCertificateKeyFile /etc/letsencrypt/live/privkey.pem
0020     SSLCertificateChainFile /etc/letsencrypt/live/chain.pem
0021     CustomLog /var/log/apache2/ssl_request_log   ssl_combined
0022 <endfold id='1'></VirtualHost</endfold id='1'>>
0023 
0024 <beginfold id='1'><Proxy</beginfold id='1'> "http://localhost:10000/">
0025     SSLRequireSSL
0026 <endfold id='1'></Proxy</endfold id='1'>>
0027 
0028 <beginfold id='1'><Directory</beginfold id='1'> "/some/quoted/path">
0029     Options -Indexes -FollowSymLinks
0030     DirectoryIndex index.php
0031     AllowOverride None
0032     Order allow,deny
0033     Allow from all
0034 
0035     Options FollowSymLinks
0036     AllowOverride FileInfo Options All
0037     <beginfold id='1'><LimitExcept</beginfold id='1'> GET>
0038         Require valid-user
0039     <endfold id='1'></LimitExcept</endfold id='1'>>
0040 
0041     <beginfold id='1'><Files</beginfold id='1'> ~ "\.(cgi|shtml|phtml|php3?)$">
0042         ForceType text/plain
0043     <endfold id='1'></Files</endfold id='1'>>
0044 <endfold id='1'></Directory</endfold id='1'>>
0045 
0046 Alias /foo/ "/srv/www/htdocs/foo/"
0047 
0048 AuthType Basic
0049 AuthName "KDE"
0050 AuthUserFile /srv/www/htpasswd.db
0051 Require user konqui
0052 
0053 <beginfold id='1'><VirtualHost</beginfold id='1'> _default_:80>
0054     ServerName www.kde.org
0055     ServerAlias kde.org
0056 
0057     RewriteEngine On
0058     RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [L,QSA,R=permanent]
0059 <endfold id='1'></VirtualHost</endfold id='1'>>
0060 
0061 AuthBasicProvider ldap
0062 AuthLDAPBindDN uid=ldapproxy,ou=people,dc=kde,dc=org
0063 AuthLDAPBindPassword  top_secret
0064 AuthLDAPURL ldap://localhost:389/ou=people,dc=kde,dc=org?uid?sub?(objectClass=posixAccount)
0065 AuthLDAPGroupAttributeIsDN on
0066 AuthLDAPGroupAttribute member
0067 Require ldap-group cn=sysadmin,ou=Group,dc=kde,dc=org