View difference between Paste ID: NPWpzb0y and h2LRuCFg
SHOW: | | - or go back to the newest paste.
1-
#
1+
2-
# This is the main Apache HTTP server configuration file. It contains the
2+
3-
# configuration directives that give the server its instructions.
3+
4-
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
4+
5-
# In particular, see
5+
6-
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
6+
7-
# for a discussion of each configuration directive.
7+
8-
#
8+
9-
# Do NOT simply read the instructions in here without understanding
9+
10-
# what they do. They're here only as hints or reminders. If you are unsure
10+
11-
# consult the online docs. You have been warned.
11+
12-
#
12+
13-
# Configuration and logfile names: If the filenames you specify for many
13+
14-
# of the server's control files begin with "/" (or "drive:/" for Win32), the
14+
15-
# server will use that explicit path. If the filenames do *not* begin
15+
16-
# with "/", the value of ServerRoot is prepended -- so "logs/access_log"
16+
17-
# with ServerRoot set to "/usr/local/apache2" will be interpreted by the
17+
18-
# server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
18+
19-
# will be interpreted as '/logs/access_log'.
19+
20-
#
20+
21-
# NOTE: Where filenames are specified, you must use forward slashes
21+
22-
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
22+
23-
# If a drive letter is omitted, the drive on which httpd.exe is located
23+
24-
# will be used by default. It is recommended that you always supply
24+
25-
# an explicit drive letter in absolute paths to avoid confusion.
25+
26
LoadModule proxy_module modules/mod_proxy.so
27-
#
27+
28-
# ServerRoot: The top of the directory tree under which the server's
28+
29-
# configuration, error, and log files are kept.
29+
30-
#
30+
31-
# Do not add a slash at the end of the directory path. If you point
31+
32-
# ServerRoot at a non-local disk, be sure to specify a local disk on the
32+
33-
# Mutex directive, if file-based mutexes are used. If you wish to share the
33+
34-
# same ServerRoot for multiple httpd daemons, you will need to change at
34+
35-
# least PidFile.
35+
36-
#
36+
37
LoadModule rewrite_module modules/mod_rewrite.so
38
LoadModule setenvif_module modules/mod_setenvif.so
39-
#
39+
40-
# Mutex: Allows you to set the mutex mechanism and mutex file directory
40+
41-
# for individual mutexes, or change the global defaults
41+
42-
#
42+
43-
# Uncomment and change the directory if mutexes are file-based and the default
43+
44-
# mutex file directory is not on a local disk or is not appropriate for some
44+
45-
# other reason.
45+
46-
#
46+
47-
# Mutex default:logs
47+
48
</IfModule>
49-
#
49+
50-
# Listen: Allows you to bind Apache to specific IP addresses and/or
50+
51-
# ports, instead of the default. See also the <VirtualHost>
51+
52-
# directive.
52+
53-
#
53+
54-
# Change this to Listen on specific IP addresses as shown below to
54+
55-
# prevent Apache from glomming onto all bound IP addresses.
55+
56-
#
56+
57-
#Listen 12.34.56.78:80
57+
58
59
DocumentRoot "c:/Apache24/htdocs"
60-
#
60+
61-
# Dynamic Shared Object (DSO) Support
61+
62-
#
62+
63-
# To be able to use the functionality of a module which was built as a DSO you
63+
64-
# have to place corresponding `LoadModule' lines at this location so the
64+
65-
# directives contained in it are actually available _before_ they are used.
65+
66-
# Statically compiled modules (those listed by `httpd -l') do not need
66+
67-
# to be loaded here.
67+
68-
#
68+
69-
# Example:
69+
70-
# LoadModule foo_module modules/mod_foo.so
70+
71-
#
71+
72
Require all denied
73
</Files>
74
75
ErrorLog "logs/error.log"
76
77
78-
#LoadModule auth_digest_module modules/mod_auth_digest.so
78+
79-
#LoadModule auth_form_module modules/mod_auth_form.so
79+
80-
#LoadModule authn_anon_module modules/mod_authn_anon.so
80+
81
RotateInterval 86400
82-
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
82+
83-
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
83+
84
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
85-
#LoadModule authn_socache_module modules/mod_authn_socache.so
85+
86-
#LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so
86+
87-
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
87+
88
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
89-
#LoadModule authz_dbd_module modules/mod_authz_dbd.so
89+
90-
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
90+
91
CustomLog "logs/access.log" combined
92
</IfModule>
93-
#LoadModule authz_owner_module modules/mod_authz_owner.so
93+
94
<IfModule alias_module>
95
ScriptAlias /cgi-bin/ "c:/Apache24/cgi-bin/"
96-
#LoadModule buffer_module modules/mod_buffer.so
96+
97-
#LoadModule cache_module modules/mod_cache.so
97+
98-
#LoadModule cache_disk_module modules/mod_cache_disk.so
98+
99-
#LoadModule cache_socache_module modules/mod_cache_socache.so
99+
100-
#LoadModule cern_meta_module modules/mod_cern_meta.so
100+
101
Require all granted
102-
#LoadModule charset_lite_module modules/mod_charset_lite.so
102+
103-
#LoadModule data_module modules/mod_data.so
103+
104-
#LoadModule dav_module modules/mod_dav.so
104+
105-
#LoadModule dav_fs_module modules/mod_dav_fs.so
105+
106-
#LoadModule dav_lock_module modules/mod_dav_lock.so
106+
107-
#LoadModule dbd_module modules/mod_dbd.so
107+
108
</IfModule>
109
110-
#LoadModule dumpio_module modules/mod_dumpio.so
110+
111
<IfModule proxy_html_module>
112-
#LoadModule expires_module modules/mod_expires.so
112+
113-
#LoadModule ext_filter_module modules/mod_ext_filter.so
113+
114-
#LoadModule file_cache_module modules/mod_file_cache.so
114+
115-
#LoadModule filter_module modules/mod_filter.so
115+
116-
#LoadModule headers_module modules/mod_headers.so
116+
117-
#LoadModule heartbeat_module modules/mod_heartbeat.so
117+
118-
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
118+
119-
#LoadModule ident_module modules/mod_ident.so
119+
120-
#LoadModule imagemap_module modules/mod_imagemap.so
120+
121
</IfModule>
122-
#LoadModule info_module modules/mod_info.so
122+
123
KeepAlive On
124-
#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
124+
125-
#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
125+
126-
#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
126+
127-
#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
127+
128-
#LoadModule ldap_module modules/mod_ldap.so
128+
129-
#LoadModule logio_module modules/mod_logio.so
129+
130
<IfModule mpm_winnt.c>
131-
#LoadModule log_debug_module modules/mod_log_debug.so
131+
132-
#LoadModule log_forensic_module modules/mod_log_forensic.so
132+
133-
#LoadModule lua_module modules/mod_lua.so
133+
134-
#LoadModule macro_module modules/mod_macro.so
134+
135
136-
#LoadModule mime_magic_module modules/mod_mime_magic.so
136+
137
<Location />
138
SetOutputFilter DEFLATE
139
SetEnvIfNoCase Request_URI \
140
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
141
SetEnvIfNoCase Request_URI \
142
\.(?:exe|t?gz|zip|gz2|sit|rar)$ no-gzip dont-vary
143
</Location>
144
</IfModule>
145
146
# END OF TUNNING
147
148
<IfModule mod_deflate.c>
149-
#LoadModule ratelimit_module modules/mod_ratelimit.so
149+
150-
#LoadModule reflector_module modules/mod_reflector.so
150+
151-
#LoadModule remoteip_module modules/mod_remoteip.so
151+
152-
#LoadModule request_module modules/mod_request.so
152+
153-
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
153+
154
\.(?:exe|t?gz|zip|gz2|sit|rar)$ no-gzip dont-vary
155-
#LoadModule sed_module modules/mod_sed.so
155+
156-
#LoadModule session_module modules/mod_session.so
156+
157-
#LoadModule session_cookie_module modules/mod_session_cookie.so
157+
158-
#LoadModule session_crypto_module modules/mod_session_crypto.so
158+
159-
#LoadModule session_dbd_module modules/mod_session_dbd.so
159+
160
ProxyRequests Off
161-
#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
161+
162
ProxyPass / http://teampark3.sogeti.com/
163-
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
163+
164-
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
164+
165
Require all granted
166-
#LoadModule speling_module modules/mod_speling.so
166+
167
</VirtualHost>
168-
#LoadModule status_module modules/mod_status.so
168+
169-
#LoadModule substitute_module modules/mod_substitute.so
169+