Produced by Araxis Merge on 3/29/2017 4:53:20 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | CTT-DM CIF Submission.zip\code\apache_extensions\apache_configs\httpd\conf | httpd.conf | Fri Mar 3 16:22:14 2017 UTC |
| 2 | CTT-DM CIF Submission.zip\code\apache_extensions\apache_configs\httpd\conf | httpd.conf | Tue Mar 28 17:22:19 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 6 | 2156 |
| Changed | 5 | 14 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | # | |
| 2 | # This is the main A pache serv er configu ration fil e. It con tains the | |
| 3 | # configur ation dire ctives tha t give the server it s instruct ions. | |
| 4 | # See <URL :http://ht tpd.apache .org/docs/ 2.2/> for detailed i nformation . | |
| 5 | # In parti cular, see | |
| 6 | # <URL:htt p://httpd. apache.org /docs/2.2/ mod/direct ives.html> | |
| 7 | # for a di scussion o f each con figuration directive . | |
| 8 | # | |
| 9 | # | |
| 10 | # Do NOT s imply read the instr uctions in here with out unders tanding | |
| 11 | # what the y do. The y're here only as hi nts or rem inders. I f you are unsure | |
| 12 | # consult the online docs. You have been warned. | |
| 13 | # | |
| 14 | # The conf iguration directives are group ed into th ree basic sections: | |
| 15 | # 1. Dire ctives tha t control the operat ion of the Apache se rver proce ss as a | |
| 16 | # whol e (the 'gl obal envir onment'). | |
| 17 | # 2. Dire ctives tha t define t he paramet ers of the 'main' or 'default' server, | |
| 18 | # whic h responds to reques ts that ar en't handl ed by a vi rtual host . | |
| 19 | # Thes e directiv es also pr ovide defa ult values for the s ettings | |
| 20 | # of a ll virtual hosts. | |
| 21 | # 3. Sett ings for v irtual hos ts, which allow Web requests t o be sent to | |
| 22 | # diff erent IP a ddresses o r hostname s and have them hand led by the | |
| 23 | # same Apache se rver proce ss. | |
| 24 | # | |
| 25 | # Configur ation and logfile na mes: If th e filename s you spec ify for ma ny | |
| 26 | # of the s erver's co ntrol file s begin wi th "/" (or "drive:/" for Win32 ), the | |
| 27 | # server w ill use th at explici t path. I f the file names do * not* begin | |
| 28 | # with "/" , the valu e of Serve rRoot is p repended - - so "logs /foo.log" | |
| 29 | # with Ser verRoot se t to "/etc /httpd" wi ll be inte rpreted by the | |
| 30 | # server a s "/etc/ht tpd/logs/f oo.log". | |
| 31 | # | |
| 32 | PassEnv CA PKIHOME | |
| 33 | ||
| 34 | ### Sectio n 1: Globa l Environm ent | |
| 35 | # | |
| 36 | # The dire ctives in this secti on affect the overal l operatio n of Apach e, | |
| 37 | # such as the number of concur rent reque sts it can handle or where it | |
| 38 | # can find its confi guration f iles. | |
| 39 | # | |
| 40 | ||
| 41 | # | |
| 42 | # Don't gi ve away to o much inf ormation a bout all t he subcomp onents | |
| 43 | # we are r unning. C omment out this line if you do n't mind r emote site s | |
| 44 | # finding out what m ajor optio nal module s you are running | |
| 45 | ServerToke ns OS | |
| 46 | ||
| 47 | # | |
| 48 | # ServerRo ot: The to p of the d irectory t ree under which the server's | |
| 49 | # configur ation, err or, and lo g files ar e kept. | |
| 50 | # | |
| 51 | # NOTE! I f you inte nd to plac e this on an NFS (or otherwise network) | |
| 52 | # mounted filesystem then plea se read th e LockFile documenta tion | |
| 53 | # (availab le at <URL :http://ht tpd.apache .org/docs/ 2.2/mod/mp m_common.h tml#lockfi le>); | |
| 54 | # you will save your self a lot of troubl e. | |
| 55 | # | |
| 56 | # Do NOT a dd a slash at the en d of the d irectory p ath. | |
| 57 | # | |
| 58 | ServerRoot "/etc/htt pd" | |
| 59 | ||
| 60 | # | |
| 61 | # PidFile: The file in which t he server should rec ord its pr ocess | |
| 62 | # identifi cation num ber when i t starts. Note the PIDFILE va riable in | |
| 63 | # /etc/sys config/htt pd must be set appro priately i f this loc ation is | |
| 64 | # changed. | |
| 65 | # | |
| 66 | PidFile ru n/httpd.pi d | |
| 67 | ||
| 68 | # | |
| 69 | # Timeout: The numbe r of secon ds before receives a nd sends t ime out. | |
| 70 | # | |
| 71 | Timeout 60 | |
| 72 | ||
| 73 | # | |
| 74 | # KeepAliv e: Whether or not to allow per sistent co nnections (more than | |
| 75 | # one requ est per co nnection). Set to "O ff" to dea ctivate. | |
| 76 | # | |
| 77 | KeepAlive Off | |
| 78 | ||
| 79 | # | |
| 80 | # MaxKeepA liveReques ts: The ma ximum numb er of requ ests to al low | |
| 81 | # during a persisten t connecti on. Set to 0 to allo w an unlim ited amoun t. | |
| 82 | # We recom mend you l eave this number hig h, for max imum perfo rmance. | |
| 83 | # | |
| 84 | MaxKeepAli veRequests 100 | |
| 85 | ||
| 86 | # | |
| 87 | # KeepAliv eTimeout: Number of seconds to wait for the next r equest fro m the | |
| 88 | # same cli ent on the same conn ection. | |
| 89 | # | |
| 90 | KeepAliveT imeout 15 | |
| 91 | ||
| 92 | ## | |
| 93 | ## Server- Pool Size Regulation (MPM spec ific) | |
| 94 | ## | |
| 95 | ||
| 96 | # prefork MPM | |
| 97 | # StartSer vers: numb er of serv er process es to star t | |
| 98 | # MinSpare Servers: m inimum num ber of ser ver proces ses which are kept s pare | |
| 99 | # MaxSpare Servers: m aximum num ber of ser ver proces ses which are kept s pare | |
| 100 | # ServerLi mit: maxim um value f or MaxClie nts for th e lifetime of the se rver | |
| 101 | # MaxClien ts: maximu m number o f server p rocesses a llowed to start | |
| 102 | # MaxReque stsPerChil d: maximum number of requests a server p rocess ser ves | |
| 103 | <IfModule prefork.c> | |
| 104 | StartServe rs 8 | |
| 105 | MinSpareSe rvers 5 | |
| 106 | MaxSpareSe rvers 20 | |
| 107 | ServerLimi t 256 | |
| 108 | MaxClients 256 | |
| 109 | MaxRequest sPerChild 4000 | |
| 110 | </IfModule > | |
| 111 | ||
| 112 | # worker M PM | |
| 113 | # StartSer vers: init ial number of server processes to start | |
| 114 | # MaxClien ts: maximu m number o f simultan eous clien t connecti ons | |
| 115 | # MinSpare Threads: m inimum num ber of wor ker thread s which ar e kept spa re | |
| 116 | # MaxSpare Threads: m aximum num ber of wor ker thread s which ar e kept spa re | |
| 117 | # ThreadsP erChild: c onstant nu mber of wo rker threa ds in each server pr ocess | |
| 118 | # MaxReque stsPerChil d: maximum number of requests a server p rocess ser ves | |
| 119 | <IfModule worker.c> | |
| 120 | StartServe rs 4 | |
| 121 | MaxClients 3 00 | |
| 122 | MinSpareTh reads 25 | |
| 123 | MaxSpareTh reads 75 | |
| 124 | ThreadsPer Child 25 | |
| 125 | MaxRequest sPerChild 0 | |
| 126 | </IfModule > | |
| 127 | ||
| 128 | # | |
| 129 | # Listen: Allows you to bind A pache to s pecific IP addresses and/or | |
| 130 | # ports, i n addition to the de fault. See also the <VirtualHo st> | |
| 131 | # directiv e. | |
| 132 | # | |
| 133 | # Change t his to Lis ten on spe cific IP a ddresses a s shown be low to | |
| 134 | # prevent Apache fro m glomming onto all bound IP a ddresses ( 0.0.0.0) | |
| 135 | # | |
| 136 | #Listen IP | |
| 137 | #Listen 80 | |
| 138 | ||
| 139 | #<VirtualH ost *:80> | |
| 140 | #ServerNam e DNS.DNS | |
| 141 | #DocumentR oot /var/w ww/html | |
| 142 | #SSLProxyE ngine On | |
| 143 | #ProxyRequ ests Off | |
| 144 | #ProxyPres erveHost O n | |
| 145 | #ProxyPass / http:// DNSDNS : PORT | |
| 146 | #ProxyPass Reverse / http:// DNS . DNS : PORT | |
| 147 | #</Virtual Host> | |
| 148 | ||
| 149 | Listen 80 | |
| 150 | <VirtualHo st *:80> | |
| 151 | ServerName DNS.DNS | |
| 152 | DocumentRo ot /var/ww w/html | |
| 153 | #SSLProxyE ngine On | |
| 154 | ProxyReque sts Off | |
| 155 | ProxyPrese rveHost On | |
| 156 | ProxyPass / https:// DNS . DNS : PORT /rails_pri sme/ | |
| 157 | ProxyPassR everse / https:// DNS . DNS : PORT /rails_pri sme/ | |
| 158 | </VirtualH ost> | |
| 159 | ||
| 160 | ||
| 161 | # | |
| 162 | # Dynamic Shared Obj ect (DSO) Support | |
| 163 | # | |
| 164 | # To be ab le to use the functi onality of a module which was built as a DSO you | |
| 165 | # have to place corr esponding `LoadModul e' lines a t this loc ation so t he | |
| 166 | # directiv es contain ed in it a re actuall y availabl e _before_ they are used. | |
| 167 | # Statical ly compile d modules (those lis ted by `ht tpd -l') d o not need | |
| 168 | # to be lo aded here. | |
| 169 | # | |
| 170 | # Example: | |
| 171 | # LoadModu le foo_mod ule module s/mod_foo. so | |
| 172 | LoadModule sm_module "/app/CA/ webagent/b in/libmod_ sm22.so" | |
| 173 | SmInitFile "/etc/htt pd/conf/We bAgent.con f" | |
| 174 | # | |
| 175 | LoadModule auth_basi c_module m odules/mod _auth_basi c.so | |
| 176 | LoadModule auth_dige st_module modules/mo d_auth_dig est.so | |
| 177 | LoadModule authn_fil e_module m odules/mod _authn_fil e.so | |
| 178 | LoadModule authn_ali as_module modules/mo d_authn_al ias.so | |
| 179 | LoadModule authn_ano n_module m odules/mod _authn_ano n.so | |
| 180 | LoadModule authn_dbm _module mo dules/mod_ authn_dbm. so | |
| 181 | LoadModule authn_def ault_modul e modules/ mod_authn_ default.so | |
| 182 | LoadModule authz_hos t_module m odules/mod _authz_hos t.so | |
| 183 | LoadModule authz_use r_module m odules/mod _authz_use r.so | |
| 184 | LoadModule authz_own er_module modules/mo d_authz_ow ner.so | |
| 185 | LoadModule authz_gro upfile_mod ule module s/mod_auth z_groupfil e.so | |
| 186 | LoadModule authz_dbm _module mo dules/mod_ authz_dbm. so | |
| 187 | LoadModule authz_def ault_modul e modules/ mod_authz_ default.so | |
| 188 | LoadModule ldap_modu le modules /mod_ldap. so | |
| 189 | LoadModule authnz_ld ap_module modules/mo d_authnz_l dap.so | |
| 190 | LoadModule include_m odule modu les/mod_in clude.so | |
| 191 | LoadModule log_confi g_module m odules/mod _log_confi g.so | |
| 192 | LoadModule logio_mod ule module s/mod_logi o.so | |
| 193 | LoadModule env_modul e modules/ mod_env.so | |
| 194 | LoadModule ext_filte r_module m odules/mod _ext_filte r.so | |
| 195 | LoadModule mime_magi c_module m odules/mod _mime_magi c.so | |
| 196 | LoadModule expires_m odule modu les/mod_ex pires.so | |
| 197 | LoadModule deflate_m odule modu les/mod_de flate.so | |
| 198 | LoadModule headers_m odule modu les/mod_he aders.so | |
| 199 | LoadModule usertrack _module mo dules/mod_ usertrack. so | |
| 200 | LoadModule setenvif_ module mod ules/mod_s etenvif.so | |
| 201 | LoadModule mime_modu le modules /mod_mime. so | |
| 202 | LoadModule dav_modul e modules/ mod_dav.so | |
| 203 | LoadModule status_mo dule modul es/mod_sta tus.so | |
| 204 | LoadModule autoindex _module mo dules/mod_ autoindex. so | |
| 205 | LoadModule info_modu le modules /mod_info. so | |
| 206 | LoadModule dav_fs_mo dule modul es/mod_dav _fs.so | |
| 207 | LoadModule vhost_ali as_module modules/mo d_vhost_al ias.so | |
| 208 | LoadModule negotiati on_module modules/mo d_negotiat ion.so | |
| 209 | LoadModule dir_modul e modules/ mod_dir.so | |
| 210 | LoadModule actions_m odule modu les/mod_ac tions.so | |
| 211 | LoadModule speling_m odule modu les/mod_sp eling.so | |
| 212 | LoadModule userdir_m odule modu les/mod_us erdir.so | |
| 213 | LoadModule alias_mod ule module s/mod_alia s.so | |
| 214 | LoadModule substitut e_module m odules/mod _substitut e.so | |
| 215 | LoadModule rewrite_m odule modu les/mod_re write.so | |
| 216 | LoadModule proxy_mod ule module s/mod_prox y.so | |
| 217 | LoadModule proxy_bal ancer_modu le modules /mod_proxy _balancer. so | |
| 218 | LoadModule proxy_ftp _module mo dules/mod_ proxy_ftp. so | |
| 219 | LoadModule proxy_htt p_module m odules/mod _proxy_htt p.so | |
| 220 | LoadModule proxy_ajp _module mo dules/mod_ proxy_ajp. so | |
| 221 | LoadModule proxy_con nect_modul e modules/ mod_proxy_ connect.so | |
| 222 | LoadModule cache_mod ule module s/mod_cach e.so | |
| 223 | LoadModule suexec_mo dule modul es/mod_sue xec.so | |
| 224 | LoadModule disk_cach e_module m odules/mod _disk_cach e.so | |
| 225 | LoadModule cgi_modul e modules/ mod_cgi.so | |
| 226 | LoadModule version_m odule modu les/mod_ve rsion.so | |
| 227 | ||
| 228 | # | |
| 229 | # The foll owing modu les are no t loaded b y default: | |
| 230 | # | |
| 231 | #LoadModul e asis_mod ule module s/mod_asis .so | |
| 232 | #LoadModul e authn_db d_module m odules/mod _authn_dbd .so | |
| 233 | #LoadModul e cern_met a_module m odules/mod _cern_meta .so | |
| 234 | #LoadModul e cgid_mod ule module s/mod_cgid .so | |
| 235 | #LoadModul e dbd_modu le modules /mod_dbd.s o | |
| 236 | #LoadModul e dumpio_m odule modu les/mod_du mpio.so | |
| 237 | #LoadModul e filter_m odule modu les/mod_fi lter.so | |
| 238 | #LoadModul e ident_mo dule modul es/mod_ide nt.so | |
| 239 | #LoadModul e log_fore nsic_modul e modules/ mod_log_fo rensic.so | |
| 240 | #LoadModul e unique_i d_module m odules/mod _unique_id .so | |
| 241 | # | |
| 242 | ||
| 243 | # | |
| 244 | # Load con fig files from the c onfig dire ctory "/et c/httpd/co nf.d". | |
| 245 | # | |
| 246 | Include co nf.d/*.con f | |
| 247 | ||
| 248 | # | |
| 249 | # Extended Status con trols whet her Apache will gene rate "full " status | |
| 250 | # informat ion (Exten dedStatus On) or jus t basic in formation (ExtendedS tatus | |
| 251 | # Off) whe n the "ser ver-status " handler is called. The defau lt is Off. | |
| 252 | # | |
| 253 | #ExtendedS tatus On | |
| 254 | ||
| 255 | # | |
| 256 | # If you w ish httpd to run as a differen t user or group, you must run | |
| 257 | # httpd as root init ially and it will sw itch. | |
| 258 | # | |
| 259 | # User/Gro up: The na me (or #nu mber) of t he user/gr oup to run httpd as. | |
| 260 | # . On SC O (ODT 3) use "User nouser" an d "Group n ogroup". | |
| 261 | # . On HP UX you may not be ab le to use shared mem ory as nob ody, and t he | |
| 262 | # sugge sted worka round is t o create a user www and use th at user. | |
| 263 | # NOTE th at some ke rnels refu se to setg id(Group) or semctl( IPC_SET) | |
| 264 | # when th e value of (unsigned )Group is above 6000 0; | |
| 265 | # don't u se Group # -1 on thes e systems! | |
| 266 | # | |
| 267 | User apach e | |
| 268 | Group apac he | |
| 269 | ||
| 270 | ### Sectio n 2: 'Main ' server c onfigurati on | |
| 271 | # | |
| 272 | # The dire ctives in this secti on set up the values used by t he 'main' | |
| 273 | # server, which resp onds to an y requests that aren 't handled by a | |
| 274 | # <Virtual Host> defi nition. T hese value s also pro vide defau lts for | |
| 275 | # any <Vir tualHost> containers you may d efine late r in the f ile. | |
| 276 | # | |
| 277 | # All of t hese direc tives may appear ins ide <Virtu alHost> co ntainers, | |
| 278 | # in which case thes e default settings w ill be ove rridden fo r the | |
| 279 | # virtual host being defined. | |
| 280 | # | |
| 281 | ||
| 282 | # | |
| 283 | # ServerAd min: Your address, w here probl ems with t he server should be | |
| 284 | # e-mailed . This ad dress appe ars on som e server-g enerated p ages, such | |
| 285 | # as error documents . e.g. ad min@your-d omain.com | |
| 286 | # | |
| 287 | ServerAdmi n root@loc alhost | |
| 288 | ||
| 289 | # | |
| 290 | # ServerNa me gives t he name an d port tha t the serv er uses to identify itself. | |
| 291 | # This can often be determined automatic ally, but we recomme nd you spe cify | |
| 292 | # it expli citly to p revent pro blems duri ng startup . | |
| 293 | # | |
| 294 | # If this is not set to valid DNS name f or your ho st, server -generated | |
| 295 | # redirect ions will not work. See also the UseCan onicalName directive . | |
| 296 | # | |
| 297 | # If your host doesn 't have a registered DNS name, enter its IP addres s here. | |
| 298 | # You will have to a ccess it b y its addr ess anyway , and this will make | |
| 299 | # redirect ions work in a sensi ble way. | |
| 300 | # | |
| 301 | #ServerNam e www.exam ple.com:80 | |
| 302 | ||
| 303 | # | |
| 304 | # UseCanon icalName: Determines how Apach e construc ts self-re ferencing | |
| 305 | # URLs and the SERVE R_NAME and SERVER_PO RT variabl es. | |
| 306 | # When set "Off", Ap ache will use the Ho stname and Port supp lied | |
| 307 | # by the c lient. Wh en set "On ", Apache will use t he value o f the | |
| 308 | # ServerNa me directi ve. | |
| 309 | # | |
| 310 | UseCanonic alName Off | |
| 311 | ||
| 312 | # | |
| 313 | # Document Root: The directory out of whi ch you wil l serve yo ur | |
| 314 | # document s. By defa ult, all r equests ar e taken fr om this di rectory, b ut | |
| 315 | # symbolic links and aliases m ay be used to point to other l ocations. | |
| 316 | # | |
| 317 | DocumentRo ot "/var/w ww/html" | |
| 318 | ||
| 319 | # | |
| 320 | # Each dir ectory to which Apac he has acc ess can be configure d with res pect | |
| 321 | # to which services and featur es are all owed and/o r disabled in that | |
| 322 | # director y (and its subdirect ories). | |
| 323 | # | |
| 324 | # First, w e configur e the "def ault" to b e a very r estrictive set of | |
| 325 | # features . | |
| 326 | # | |
| 327 | <Directory /> | |
| 328 | Option s FollowSy mLinks | |
| 329 | AllowO verride No ne | |
| 330 | </Director y> | |
| 331 | ||
| 332 | # | |
| 333 | # Note tha t from thi s point fo rward you must speci fically al low | |
| 334 | # particul ar feature s to be en abled - so if someth ing's not working as | |
| 335 | # you migh t expect, make sure that you h ave specif ically ena bled it | |
| 336 | # below. | |
| 337 | # | |
| 338 | ||
| 339 | # | |
| 340 | # This sho uld be cha nged to wh atever you set Docum entRoot to . | |
| 341 | # | |
| 342 | <Directory "/var/www /html"> | |
| 343 | ||
| 344 | # | |
| 345 | # Possible values fo r the Opti ons direct ive are "N one", "All ", | |
| 346 | # or any c ombination of: | |
| 347 | # Indexe s Includes FollowSym Links SymL inksifOwne rMatch Exe cCGI Multi Views | |
| 348 | # | |
| 349 | # Note tha t "MultiVi ews" must be named * explicitly * --- "Opt ions All" | |
| 350 | # doesn't give it to you. | |
| 351 | # | |
| 352 | # The Opti ons direct ive is bot h complica ted and im portant. Please see | |
| 353 | # http://h ttpd.apach e.org/docs /2.2/mod/c ore.html#o ptions | |
| 354 | # for more informati on. | |
| 355 | # | |
| 356 | Option s Indexes FollowSymL inks | |
| 357 | ||
| 358 | # | |
| 359 | # AllowOve rride cont rols what directives may be pl aced in .h taccess fi les. | |
| 360 | # It can b e "All", " None", or any combin ation of t he keyword s: | |
| 361 | # Option s FileInfo AuthConfi g Limit | |
| 362 | # | |
| 363 | AllowO verride No ne | |
| 364 | ||
| 365 | # | |
| 366 | # Controls who can g et stuff f rom this s erver. | |
| 367 | # | |
| 368 | Order allow,deny | |
| 369 | Allow from all | |
| 370 | ||
| 371 | </Director y> | |
| 372 | ||
| 373 | # | |
| 374 | # UserDir: The name of the dir ectory tha t is appen ded onto a user's ho me | |
| 375 | # director y if a ~us er request is receiv ed. | |
| 376 | # | |
| 377 | # The path to the en d user acc ount 'publ ic_html' d irectory m ust be | |
| 378 | # accessib le to the webserver userid. T his usuall y means th at ~userid | |
| 379 | # must hav e permissi ons of 711 , ~userid/ public_htm l must hav e permissi ons | |
| 380 | # of 755, and docume nts contai ned therei n must be world-read able. | |
| 381 | # Otherwis e, the cli ent will o nly receiv e a "403 F orbidden" message. | |
| 382 | # | |
| 383 | # See also : http://h ttpd.apach e.org/docs /misc/FAQ. html#forbi dden | |
| 384 | # | |
| 385 | <IfModule mod_userdi r.c> | |
| 386 | # | |
| 387 | # User Dir is dis abled by d efault sin ce it can confirm th e presence | |
| 388 | # of a username on the sys tem (depen ding on ho me directo ry | |
| 389 | # perm issions). | |
| 390 | # | |
| 391 | UserDi r disabled | |
| 392 | ||
| 393 | # | |
| 394 | # To e nable requ ests to /~ user/ to s erve the u ser's publ ic_html | |
| 395 | # dire ctory, rem ove the "U serDir dis abled" lin e above, a nd uncomme nt | |
| 396 | # the following line inste ad: | |
| 397 | # | |
| 398 | #UserD ir public_ html | |
| 399 | ||
| 400 | </IfModule > | |
| 401 | ||
| 402 | # | |
| 403 | # Control access to UserDir di rectories. The foll owing is a n example | |
| 404 | # for a si te where t hese direc tories are restricte d to read- only. | |
| 405 | # | |
| 406 | #<Director y /home/*/ public_htm l> | |
| 407 | # Allow Override F ileInfo Au thConfig L imit | |
| 408 | # Optio ns MultiVi ews Indexe s SymLinks IfOwnerMat ch Include sNoExec | |
| 409 | # <Limi t GET POST OPTIONS> | |
| 410 | # O rder allow ,deny | |
| 411 | # A llow from all | |
| 412 | # </Lim it> | |
| 413 | # <Limi tExcept GE T POST OPT IONS> | |
| 414 | # O rder deny, allow | |
| 415 | # D eny from a ll | |
| 416 | # </Lim itExcept> | |
| 417 | #</Directo ry> | |
| 418 | ||
| 419 | # | |
| 420 | # Director yIndex: se ts the fil e that Apa che will s erve if a directory | |
| 421 | # is reque sted. | |
| 422 | # | |
| 423 | # The inde x.html.var file (a t ype-map) i s used to deliver co ntent- | |
| 424 | # negotiat ed documen ts. The M ultiViews Option can be used f or the | |
| 425 | # same pur pose, but it is much slower. | |
| 426 | # | |
| 427 | DirectoryI ndex index .html inde x.html.var | |
| 428 | ||
| 429 | # | |
| 430 | # AccessFi leName: Th e name of the file t o look for in each d irectory | |
| 431 | # for addi tional con figuration directive s. See al so the All owOverride | |
| 432 | # directiv e. | |
| 433 | # | |
| 434 | AccessFile Name .htac cess | |
| 435 | ||
| 436 | # | |
| 437 | # The foll owing line s prevent .htaccess and .htpas swd files from being | |
| 438 | # viewed b y Web clie nts. | |
| 439 | # | |
| 440 | <Files ~ " ^\.ht"> | |
| 441 | Order allow,deny | |
| 442 | Deny f rom all | |
| 443 | Satisf y All | |
| 444 | </Files> | |
| 445 | ||
| 446 | # | |
| 447 | # TypesCon fig descri bes where the mime.t ypes file (or equiva lent) is | |
| 448 | # to be fo und. | |
| 449 | # | |
| 450 | TypesConfi g /etc/mim e.types | |
| 451 | ||
| 452 | # | |
| 453 | # DefaultT ype is the default M IME type t he server will use f or a docum ent | |
| 454 | # if it ca nnot other wise deter mine one, such as fr om filenam e extensio ns. | |
| 455 | # If your server con tains most ly text or HTML docu ments, "te xt/plain" is | |
| 456 | # a good v alue. If most of yo ur content is binary , such as applicatio ns | |
| 457 | # or image s, you may want to u se "applic ation/octe t-stream" instead to | |
| 458 | # keep bro wsers from trying to display b inary file s as thoug h they are | |
| 459 | # text. | |
| 460 | # | |
| 461 | DefaultTyp e text/pla in | |
| 462 | ||
| 463 | # | |
| 464 | # The mod_ mime_magic module al lows the s erver to u se various hints fro m the | |
| 465 | # contents of the fi le itself to determi ne its typ e. The MI MEMagicFil e | |
| 466 | # directiv e tells th e module w here the h int defini tions are located. | |
| 467 | # | |
| 468 | <IfModule mod_mime_m agic.c> | |
| 469 | # MIMEMa gicFile /u sr/share/m agic.mime | |
| 470 | MIMEMa gicFile co nf/magic | |
| 471 | </IfModule > | |
| 472 | ||
| 473 | # | |
| 474 | # Hostname Lookups: L og the nam es of clie nts or jus t their IP addresses | |
| 475 | # e.g., ww w.apache.o rg (on) or 204.62.12 9.132 (off ). | |
| 476 | # The defa ult is off because i t'd be ove rall bette r for the net if peo ple | |
| 477 | # had to k nowingly t urn this f eature on, since ena bling it m eans that | |
| 478 | # each cli ent reques t will res ult in AT LEAST one lookup req uest to th e | |
| 479 | # nameserv er. | |
| 480 | # | |
| 481 | HostnameLo okups Off | |
| 482 | ||
| 483 | # | |
| 484 | # EnableMM AP: Contro l whether memory-map ping is us ed to deli ver | |
| 485 | # files (a ssuming th at the und erlying OS supports it). | |
| 486 | # The defa ult is on; turn this off if yo u serve fr om NFS-mou nted | |
| 487 | # filesyst ems. On s ome system s, turning it off (r egardless of | |
| 488 | # filesyst em) can im prove perf ormance; f or details , please s ee | |
| 489 | # http://h ttpd.apach e.org/docs /2.2/mod/c ore.html#e nablemmap | |
| 490 | # | |
| 491 | #EnableMMA P off | |
| 492 | ||
| 493 | # | |
| 494 | # EnableSe ndfile: Co ntrol whet her the se ndfile ker nel suppor t is | |
| 495 | # used to deliver fi les (assum ing that t he OS supp orts it). | |
| 496 | # The defa ult is on; turn this off if yo u serve fr om NFS-mou nted | |
| 497 | # filesyst ems. Plea se see | |
| 498 | # http://h ttpd.apach e.org/docs /2.2/mod/c ore.html#e nablesendf ile | |
| 499 | # | |
| 500 | #EnableSen dfile off | |
| 501 | ||
| 502 | # | |
| 503 | # ErrorLog : The loca tion of th e error lo g file. | |
| 504 | # If you d o not spec ify an Err orLog dire ctive with in a <Virt ualHost> | |
| 505 | # containe r, error m essages re lating to that virtu al host wi ll be | |
| 506 | # logged h ere. If y ou *do* de fine an er ror logfil e for a <V irtualHost > | |
| 507 | # containe r, that ho st's error s will be logged the re and not here. | |
| 508 | # | |
| 509 | ErrorLog l ogs/error_ log | |
| 510 | ||
| 511 | # | |
| 512 | # LogLevel : Control the number of messag es logged to the err or_log. | |
| 513 | # Possible values in clude: deb ug, info, notice, wa rn, error, crit, | |
| 514 | # alert, e merg. | |
| 515 | # | |
| 516 | LogLevel i nfo | |
| 517 | ||
| 518 | # | |
| 519 | # The foll owing dire ctives def ine some f ormat nick names for use with | |
| 520 | # a Custom Log direct ive (see b elow). | |
| 521 | # | |
| 522 | LogFormat "%h %l %u %t \"%r\" %>s %b \"% {Referer}i \" \"%{Use r-Agent}i\ "" combine d | |
| 523 | LogFormat "%h %l %u %t \"%r\" %>s %b" co mmon | |
| 524 | LogFormat "%{Referer }i -> %U" referer | |
| 525 | LogFormat "%{User-ag ent}i" age nt | |
| 526 | ||
| 527 | # "combine dio" inclu des actual counts of actual by tes receiv ed (%I) an d sent (%O ); this | |
| 528 | # requires the mod_l ogio modul e to be lo aded. | |
| 529 | #LogFormat "%h %l %u %t \"%r\" %>s %b \" %{Referer} i\" \"%{Us er-Agent}i \" %I %O" combinedio | |
| 530 | ||
| 531 | # | |
| 532 | # The loca tion and f ormat of t he access logfile (C ommon Logf ile Format ). | |
| 533 | # If you d o not defi ne any acc ess logfil es within a <Virtual Host> | |
| 534 | # containe r, they wi ll be logg ed here. Contrariwi se, if you *do* | |
| 535 | # define p er-<Virtua lHost> acc ess logfil es, transa ctions wil l be | |
| 536 | # logged t herein and *not* in this file. | |
| 537 | # | |
| 538 | #CustomLog logs/acce ss_log com mon | |
| 539 | ||
| 540 | # | |
| 541 | # If you w ould like to have se parate age nt and ref erer logfi les, uncom ment | |
| 542 | # the foll owing dire ctives. | |
| 543 | # | |
| 544 | #CustomLog logs/refe rer_log re ferer | |
| 545 | #CustomLog logs/agen t_log agen t | |
| 546 | ||
| 547 | # | |
| 548 | # For a si ngle logfi le with ac cess, agen t, and ref erer infor mation | |
| 549 | # (Combine d Logfile Format), u se the fol lowing dir ective: | |
| 550 | # | |
| 551 | CustomLog logs/acces s_log comb ined | |
| 552 | ||
| 553 | # | |
| 554 | # Optional ly add a l ine contai ning the s erver vers ion and vi rtual host | |
| 555 | # name to server-gen erated pag es (intern al error d ocuments, FTP direct ory | |
| 556 | # listings , mod_stat us and mod _info outp ut etc., b ut not CGI generated | |
| 557 | # document s or custo m error do cuments). | |
| 558 | # Set to " EMail" to also inclu de a mailt o: link to the Serve rAdmin. | |
| 559 | # Set to o ne of: On | Off | E Mail | |
| 560 | # | |
| 561 | ServerSign ature On | |
| 562 | ||
| 563 | # | |
| 564 | # Aliases: Add here as many al iases as y ou need (w ith no lim it). The f ormat is | |
| 565 | # Alias fa kename rea lname | |
| 566 | # | |
| 567 | # Note tha t if you i nclude a t railing / on fakenam e then the server wi ll | |
| 568 | # require it to be p resent in the URL. So "/icons " isn't al iased in t his | |
| 569 | # example, only "/ic ons/". If the faken ame is sla sh-termina ted, then the | |
| 570 | # realname must also be slash terminated , and if t he fakenam e omits th e | |
| 571 | # trailing slash, th e realname must also omit it. | |
| 572 | # | |
| 573 | # We inclu de the /ic ons/ alias for Fancy Indexed di rectory li stings. I f you | |
| 574 | # do not u se FancyIn dexing, yo u may comm ent this o ut. | |
| 575 | # | |
| 576 | Alias /sit eminderage nt/nocert/ [0-9]+/(.* ) "/app/CA /webagent/ $1" | |
| 577 | <Directory "/app/CA/ webagent/$ 1"> | |
| 578 | Options In dexes Mult iViews | |
| 579 | AllowOverr ide None | |
| 580 | Order allo w,deny | |
| 581 | Allow from all | |
| 582 | </Director y> | |
| 583 | Alias /sit eminderage nt/pwcgi/ "/app/CA/w ebagent/pw /" | |
| 584 | <Directory "/app/CA/ webagent/p w/"> | |
| 585 | Options In dexes Mult iViews Exe cCGI | |
| 586 | AllowOverr ide None | |
| 587 | Order allo w,deny | |
| 588 | Allow from all | |
| 589 | </Director y> | |
| 590 | Alias /sit eminderage nt/pw/ "/a pp/CA/weba gent/pw/" | |
| 591 | <Directory "/app/CA/ webagent/p w/"> | |
| 592 | Options In dexes Mult iViews Exe cCGI | |
| 593 | AllowOverr ide None | |
| 594 | Order allo w,deny | |
| 595 | Allow from all | |
| 596 | </Director y> | |
| 597 | Alias /sit eminderage nt/ "/app/ CA/webagen t/samples/ " | |
| 598 | <Directory "/app/CA/ webagent/s amples/"> | |
| 599 | Options In dexes Mult iViews | |
| 600 | AllowOverr ide None | |
| 601 | Order allo w,deny | |
| 602 | Allow from all | |
| 603 | </Director y> | |
| 604 | Alias /ico ns/ "/var/ www/icons/ " | |
| 605 | ||
| 606 | <Directory "/var/www /icons"> | |
| 607 | Option s Indexes MultiViews FollowSym Links | |
| 608 | AllowO verride No ne | |
| 609 | Order allow,deny | |
| 610 | Allow from all | |
| 611 | </Director y> | |
| 612 | ||
| 613 | # | |
| 614 | # WebDAV m odule conf iguration section. | |
| 615 | # | |
| 616 | <IfModule mod_dav_fs .c> | |
| 617 | # Loca tion of th e WebDAV l ock databa se. | |
| 618 | DAVLoc kDB /var/l ib/dav/loc kdb | |
| 619 | </IfModule > | |
| 620 | ||
| 621 | # | |
| 622 | # ScriptAl ias: This controls w hich direc tories con tain serve r scripts. | |
| 623 | # ScriptAl iases are essentiall y the same as Aliase s, except that | |
| 624 | # document s in the r ealname di rectory ar e treated as applica tions and | |
| 625 | # run by t he server when reque sted rathe r than as documents sent to th e client. | |
| 626 | # The same rules abo ut trailin g "/" appl y to Scrip tAlias dir ectives as to | |
| 627 | # Alias. | |
| 628 | # | |
| 629 | ScriptAlia s /cgi-bin / "/var/ww w/cgi-bin/ " | |
| 630 | ||
| 631 | # | |
| 632 | # "/var/ww w/cgi-bin" should be changed t o whatever your Scri ptAliased | |
| 633 | # CGI dire ctory exis ts, if you have that configure d. | |
| 634 | # | |
| 635 | <Directory "/var/www /cgi-bin"> | |
| 636 | AllowO verride No ne | |
| 637 | Option s None | |
| 638 | Order allow,deny | |
| 639 | Allow from all | |
| 640 | </Director y> | |
| 641 | ||
| 642 | # | |
| 643 | # Redirect allows yo u to tell clients ab out docume nts which used to ex ist in | |
| 644 | # your ser ver's name space, but do not an ymore. Thi s allows y ou to tell the | |
| 645 | # clients where to l ook for th e relocate d document . | |
| 646 | # Example: | |
| 647 | # Redirect permanent /foo http ://www.exa mple.com/b ar | |
| 648 | ||
| 649 | # | |
| 650 | # Directiv es control ling the d isplay of server-gen erated dir ectory lis tings. | |
| 651 | # | |
| 652 | ||
| 653 | # | |
| 654 | # IndexOpt ions: Cont rols the a ppearance of server- generated directory | |
| 655 | # listings . | |
| 656 | # | |
| 657 | IndexOptio ns FancyIn dexing Ver sionSort N ameWidth=* HTMLTable Charset=U TF-8 | |
| 658 | ||
| 659 | # | |
| 660 | # AddIcon* directive s tell the server wh ich icon t o show for different | |
| 661 | # files or filename extensions . These a re only di splayed fo r | |
| 662 | # FancyInd exed direc tories. | |
| 663 | # | |
| 664 | AddIconByE ncoding (C MP,/icons/ compressed .gif) x-co mpress x-g zip | |
| 665 | ||
| 666 | AddIconByT ype (TXT,/ icons/text .gif) text /* | |
| 667 | AddIconByT ype (IMG,/ icons/imag e2.gif) im age/* | |
| 668 | AddIconByT ype (SND,/ icons/soun d2.gif) au dio/* | |
| 669 | AddIconByT ype (VID,/ icons/movi e.gif) vid eo/* | |
| 670 | ||
| 671 | AddIcon /i cons/binar y.gif .bin .exe | |
| 672 | AddIcon /i cons/binhe x.gif .hqx | |
| 673 | AddIcon /i cons/tar.g if .tar | |
| 674 | AddIcon /i cons/world 2.gif .wrl .wrl.gz . vrml .vrm .iv | |
| 675 | AddIcon /i cons/compr essed.gif .Z .z .tgz .gz .zip | |
| 676 | AddIcon /i cons/a.gif .ps .ai . eps | |
| 677 | AddIcon /i cons/layou t.gif .htm l .shtml . htm .pdf | |
| 678 | AddIcon /i cons/text. gif .txt | |
| 679 | AddIcon /i cons/c.gif .c | |
| 680 | AddIcon /i cons/p.gif .pl .py | |
| 681 | AddIcon /i cons/f.gif .for | |
| 682 | AddIcon /i cons/dvi.g if .dvi | |
| 683 | AddIcon /i cons/uuenc oded.gif . uu | |
| 684 | AddIcon /i cons/scrip t.gif .con f .sh .sha r .csh .ks h .tcl | |
| 685 | AddIcon /i cons/tex.g if .tex | |
| 686 | AddIcon /i cons/bomb. gif /core | |
| 687 | ||
| 688 | AddIcon /i cons/back. gif .. | |
| 689 | AddIcon /i cons/hand. right.gif README | |
| 690 | AddIcon /i cons/folde r.gif ^^DI RECTORY^^ | |
| 691 | AddIcon /i cons/blank .gif ^^BLA NKICON^^ | |
| 692 | ||
| 693 | # | |
| 694 | # DefaultI con is whi ch icon to show for files whic h do not h ave an ico n | |
| 695 | # explicit ly set. | |
| 696 | # | |
| 697 | DefaultIco n /icons/u nknown.gif | |
| 698 | ||
| 699 | # | |
| 700 | # AddDescr iption all ows you to place a s hort descr iption aft er a file in | |
| 701 | # server-g enerated i ndexes. T hese are o nly displa yed for Fa ncyIndexed | |
| 702 | # director ies. | |
| 703 | # Format: AddDescrip tion "desc ription" f ilename | |
| 704 | # | |
| 705 | #AddDescri ption "GZI P compress ed documen t" .gz | |
| 706 | #AddDescri ption "tar archive" .tar | |
| 707 | #AddDescri ption "GZI P compress ed tar arc hive" .tgz | |
| 708 | ||
| 709 | # | |
| 710 | # ReadmeNa me is the name of th e README f ile the se rver will look for b y | |
| 711 | # default, and appen d to direc tory listi ngs. | |
| 712 | # | |
| 713 | # HeaderNa me is the name of a file which should be prepended to | |
| 714 | # director y indexes. | |
| 715 | ReadmeName README.ht ml | |
| 716 | HeaderName HEADER.ht ml | |
| 717 | ||
| 718 | # | |
| 719 | # IndexIgn ore is a s et of file names whic h director y indexing should ig nore | |
| 720 | # and not include in the listi ng. Shell -style wil dcarding i s permitte d. | |
| 721 | # | |
| 722 | IndexIgnor e .??* *~ *# HEADER* README* R CS CVS *,v *,t | |
| 723 | ||
| 724 | # | |
| 725 | # DefaultL anguage an d AddLangu age allows you to sp ecify the language o f | |
| 726 | # a docume nt. You ca n then use content n egotiation to give a browser a | |
| 727 | # file in a language the user can unders tand. | |
| 728 | # | |
| 729 | # Specify a default language. This means that all data | |
| 730 | # going ou t without a specific language tag (see b elow) will | |
| 731 | # be marke d with thi s one. You probably do NOT wan t to set | |
| 732 | # this unl ess you ar e sure it is correct for all c ases. | |
| 733 | # | |
| 734 | # * It is generally better to not mark a page as | |
| 735 | # * being a certain language t han markin g it with the wrong | |
| 736 | # * langua ge! | |
| 737 | # | |
| 738 | # DefaultL anguage nl | |
| 739 | # | |
| 740 | # Note 1: The suffix does not have to be the same as the lan guage | |
| 741 | # keyword --- those with docum ents in Po lish (whos e net-stan dard | |
| 742 | # language code is p l) may wis h to use " AddLanguag e pl .po" to | |
| 743 | # avoid th e ambiguit y with the common su ffix for p erl script s. | |
| 744 | # | |
| 745 | # Note 2: The exampl e entries below illu strate tha t in some cases | |
| 746 | # the two character 'Language' abbreviat ion is not identical to | |
| 747 | # the two character 'Country' code for i ts country , | |
| 748 | # E.g. 'Da nmark/dk' versus 'Da nish/da'. | |
| 749 | # | |
| 750 | # Note 3: In the cas e of 'ltz' we violat e the RFC by using a three cha r | |
| 751 | # specifie r. There i s 'work in progress' to fix th is and get | |
| 752 | # the refe rence data for rfc17 66 cleaned up. | |
| 753 | # | |
| 754 | # Catalan (ca) - Cro atian (hr) - Czech ( cs) - Dani sh (da) - Dutch (nl) | |
| 755 | # English (en) - Esp eranto (eo ) - Estoni an (et) - French (fr ) - German (de) | |
| 756 | # Greek-Mo dern (el) - Hebrew ( he) - Ital ian (it) - Japanese (ja) | |
| 757 | # Korean ( ko) - Luxe mbourgeois * (ltz) - Norwegian Nynorsk (n n) | |
| 758 | # Norwegia n (no) - P olish (pl) - Portuge se (pt) | |
| 759 | # Brazilia n Portugue se (pt-BR) - Russian (ru) - Sw edish (sv) | |
| 760 | # Simplifi ed Chinese (zh-CN) - Spanish ( es) - Trad itional Ch inese (zh- TW) | |
| 761 | # | |
| 762 | AddLanguag e ca .ca | |
| 763 | AddLanguag e cs .cz . cs | |
| 764 | AddLanguag e da .dk | |
| 765 | AddLanguag e de .de | |
| 766 | AddLanguag e el .el | |
| 767 | AddLanguag e en .en | |
| 768 | AddLanguag e eo .eo | |
| 769 | AddLanguag e es .es | |
| 770 | AddLanguag e et .et | |
| 771 | AddLanguag e fr .fr | |
| 772 | AddLanguag e he .he | |
| 773 | AddLanguag e hr .hr | |
| 774 | AddLanguag e it .it | |
| 775 | AddLanguag e ja .ja | |
| 776 | AddLanguag e ko .ko | |
| 777 | AddLanguag e ltz .ltz | |
| 778 | AddLanguag e nl .nl | |
| 779 | AddLanguag e nn .nn | |
| 780 | AddLanguag e no .no | |
| 781 | AddLanguag e pl .po | |
| 782 | AddLanguag e pt .pt | |
| 783 | AddLanguag e pt-BR .p t-br | |
| 784 | AddLanguag e ru .ru | |
| 785 | AddLanguag e sv .sv | |
| 786 | AddLanguag e zh-CN .z h-cn | |
| 787 | AddLanguag e zh-TW .z h-tw | |
| 788 | ||
| 789 | # | |
| 790 | # Language Priority a llows you to give pr ecedence t o some lan guages | |
| 791 | # in case of a tie d uring cont ent negoti ation. | |
| 792 | # | |
| 793 | # Just lis t the lang uages in d ecreasing order of p reference. We have | |
| 794 | # more or less alpha betized th em here. Y ou probabl y want to change thi s. | |
| 795 | # | |
| 796 | LanguagePr iority en ca cs da d e el eo es et fr he hr it ja k o ltz nl n n no pl pt pt-BR ru sv zh-CN z h-TW | |
| 797 | ||
| 798 | # | |
| 799 | # ForceLan guagePrior ity allows you to se rve a resu lt page ra ther than | |
| 800 | # MULTIPLE CHOICES ( Prefer) [i n case of a tie] or NOT ACCEPT ABLE (Fall back) | |
| 801 | # [in case no accept ed languag es matched the avail able varia nts] | |
| 802 | # | |
| 803 | ForceLangu agePriorit y Prefer F allback | |
| 804 | ||
| 805 | # | |
| 806 | # Specify a default charset fo r all cont ent served ; this ena bles | |
| 807 | # interpre tation of all conten t as UTF-8 by defaul t. To use the | |
| 808 | # default browser ch oice (ISO- 8859-1), o r to allow the META tags | |
| 809 | # in HTML content to override this choic e, comment out this | |
| 810 | # directiv e: | |
| 811 | # | |
| 812 | AddDefault Charset UT F-8 | |
| 813 | ||
| 814 | # | |
| 815 | # AddType allows you to add to or overri de the MIM E configur ation | |
| 816 | # file mim e.types fo r specific file type s. | |
| 817 | # | |
| 818 | #AddType a pplication /x-tar .tg z | |
| 819 | ||
| 820 | # | |
| 821 | # AddEncod ing allows you to ha ve certain browsers uncompress | |
| 822 | # informat ion on the fly. Note : Not all browsers s upport thi s. | |
| 823 | # Despite the name s imilarity, the follo wing Add* directives have noth ing | |
| 824 | # to do wi th the Fan cyIndexing customiza tion direc tives abov e. | |
| 825 | # | |
| 826 | #AddEncodi ng x-compr ess .Z | |
| 827 | #AddEncodi ng x-gzip .gz .tgz | |
| 828 | ||
| 829 | # If the A ddEncoding directive s above ar e commente d-out, the n you | |
| 830 | # probably should de fine those extension s to indic ate media types: | |
| 831 | # | |
| 832 | AddType ap plication/ x-compress .Z | |
| 833 | AddType ap plication/ x-gzip .gz .tgz | |
| 834 | ||
| 835 | # | |
| 836 | # MIME-t ypes for d ownloading Certifica tes and CR Ls | |
| 837 | # | |
| 838 | AddType ap plication/ x-x509-ca- cert .crt | |
| 839 | AddType ap plication/ x-pkcs7-cr l .crl | |
| 840 | ||
| 841 | # | |
| 842 | # AddHandl er allows you to map certain f ile extens ions to "h andlers": | |
| 843 | # actions unrelated to filetyp e. These c an be eith er built i nto the se rver | |
| 844 | # or added with the Action dir ective (se e below) | |
| 845 | # | |
| 846 | # To use C GI scripts outside o f ScriptAl iased dire ctories: | |
| 847 | # (You wil l also nee d to add " ExecCGI" t o the "Opt ions" dire ctive.) | |
| 848 | # | |
| 849 | #AddHandle r cgi-scri pt .cgi | |
| 850 | ||
| 851 | # | |
| 852 | # For file s that inc lude their own HTTP headers: | |
| 853 | # | |
| 854 | #AddHandle r send-as- is asis | |
| 855 | ||
| 856 | # | |
| 857 | # For type maps (neg otiated re sources): | |
| 858 | # (This is enabled b y default to allow t he Apache "It Worked " page | |
| 859 | # to be d istributed in multip le languag es.) | |
| 860 | # | |
| 861 | AddHandler type-map var | |
| 862 | ||
| 863 | # | |
| 864 | # Filters allow you to process content b efore it i s sent to the client . | |
| 865 | # | |
| 866 | # To parse .shtml fi les for se rver-side includes ( SSI): | |
| 867 | # (You wil l also nee d to add " Includes" to the "Op tions" dir ective.) | |
| 868 | # | |
| 869 | AddType te xt/html .s html | |
| 870 | AddOutputF ilter INCL UDES .shtm l | |
| 871 | ||
| 872 | # | |
| 873 | # Action l ets you de fine media types tha t will exe cute a scr ipt whenev er | |
| 874 | # a matchi ng file is called. T his elimin ates the n eed for re peated URL | |
| 875 | # pathname s for oft- used CGI f ile proces sors. | |
| 876 | # Format: Action med ia/type /c gi-script/ location | |
| 877 | # Format: Action han dler-name /cgi-scrip t/location | |
| 878 | # | |
| 879 | ||
| 880 | # | |
| 881 | # Customiz able error responses come in t hree flavo rs: | |
| 882 | # 1) plain text 2) l ocal redir ects 3) ex ternal red irects | |
| 883 | # | |
| 884 | # Some exa mples: | |
| 885 | #ErrorDocu ment 500 " The server made a bo o boo." | |
| 886 | #ErrorDocu ment 404 / missing.ht ml | |
| 887 | #ErrorDocu ment 404 " /cgi-bin/m issing_han dler.pl" | |
| 888 | #ErrorDocu ment 402 h ttp://www. example.co m/subscrip tion_info. html | |
| 889 | # | |
| 890 | ||
| 891 | # | |
| 892 | # Putting this all t ogether, w e can inte rnationali ze error r esponses. | |
| 893 | # | |
| 894 | # We use A lias to re direct any /error/HT TP_<error> .html.var response t o | |
| 895 | # our coll ection of by-error m essage mul ti-languag e collecti ons. We u se | |
| 896 | # includes to substi tute the a ppropriate text. | |
| 897 | # | |
| 898 | # You can modify the messages' appearanc e without changing a ny of the | |
| 899 | # default HTTP_<erro r>.html.va r files by adding th e line: | |
| 900 | # | |
| 901 | # Alias /error/inc lude/ "/yo ur/include /path/" | |
| 902 | # | |
| 903 | # which al lows you t o create y our own se t of files by starti ng with th e | |
| 904 | # /var/www /error/inc lude/ file s and | |
| 905 | # copying them to /y our/includ e/path/, e ven on a p er-Virtual Host basis . | |
| 906 | # | |
| 907 | ||
| 908 | Alias /err or/ "/var/ www/error/ " | |
| 909 | ||
| 910 | <IfModule mod_negoti ation.c> | |
| 911 | <IfModule mod_includ e.c> | |
| 912 | <Direc tory "/var /www/error "> | |
| 913 | Al lowOverrid e None | |
| 914 | Op tions Incl udesNoExec | |
| 915 | Ad dOutputFil ter Includ es html | |
| 916 | Ad dHandler t ype-map va r | |
| 917 | Or der allow, deny | |
| 918 | Al low from a ll | |
| 919 | La nguagePrio rity en es de fr | |
| 920 | Fo rceLanguag ePriority Prefer Fal lback | |
| 921 | </Dire ctory> | |
| 922 | ||
| 923 | # Error Document 4 00 /error/ HTTP_BAD_R EQUEST.htm l.var | |
| 924 | # Error Document 4 01 /error/ HTTP_UNAUT HORIZED.ht ml.var | |
| 925 | # Error Document 4 03 /error/ HTTP_FORBI DDEN.html. var | |
| 926 | # Error Document 4 04 /error/ HTTP_NOT_F OUND.html. var | |
| 927 | # Error Document 4 05 /error/ HTTP_METHO D_NOT_ALLO WED.html.v ar | |
| 928 | # Error Document 4 08 /error/ HTTP_REQUE ST_TIME_OU T.html.var | |
| 929 | # Error Document 4 10 /error/ HTTP_GONE. html.var | |
| 930 | # Error Document 4 11 /error/ HTTP_LENGT H_REQUIRED .html.var | |
| 931 | # Error Document 4 12 /error/ HTTP_PRECO NDITION_FA ILED.html. var | |
| 932 | # Error Document 4 13 /error/ HTTP_REQUE ST_ENTITY_ TOO_LARGE. html.var | |
| 933 | # Error Document 4 14 /error/ HTTP_REQUE ST_URI_TOO _LARGE.htm l.var | |
| 934 | # Error Document 4 15 /error/ HTTP_UNSUP PORTED_MED IA_TYPE.ht ml.var | |
| 935 | # Error Document 5 00 /error/ HTTP_INTER NAL_SERVER _ERROR.htm l.var | |
| 936 | # Error Document 5 01 /error/ HTTP_NOT_I MPLEMENTED .html.var | |
| 937 | # Error Document 5 02 /error/ HTTP_BAD_G ATEWAY.htm l.var | |
| 938 | # Error Document 5 03 /error/ HTTP_SERVI CE_UNAVAIL ABLE.html. var | |
| 939 | # Error Document 5 06 /error/ HTTP_VARIA NT_ALSO_VA RIES.html. var | |
| 940 | ||
| 941 | </IfModule > | |
| 942 | </IfModule > | |
| 943 | ||
| 944 | # | |
| 945 | # The foll owing dire ctives mod ify normal HTTP resp onse behav ior to | |
| 946 | # handle k nown probl ems with b rowser imp lementatio ns. | |
| 947 | # | |
| 948 | BrowserMat ch "Mozill a/2" nokee palive | |
| 949 | BrowserMat ch "MSIE 4 \.0b2;" no keepalive downgrade- 1.0 force- response-1 .0 | |
| 950 | BrowserMat ch "RealPl ayer 4\.0" force-res ponse-1.0 | |
| 951 | BrowserMat ch "Java/1 \.0" force -response- 1.0 | |
| 952 | BrowserMat ch "JDK/1\ .0" force- response-1 .0 | |
| 953 | ||
| 954 | # | |
| 955 | # The foll owing dire ctive disa bles redir ects on no n-GET requ ests for | |
| 956 | # a direct ory that d oes not in clude the trailing s lash. Thi s fixes a | |
| 957 | # problem with Micro soft WebFo lders whic h does not appropria tely handl e | |
| 958 | # redirect s for fold ers with D AV methods . | |
| 959 | # Same dea l with App le's DAV f ilesystem and Gnome VFS suppor t for DAV. | |
| 960 | # | |
| 961 | BrowserMat ch "Micros oft Data A ccess Inte rnet Publi shing Prov ider" redi rect-caref ully | |
| 962 | BrowserMat ch "MS Fro ntPage" re direct-car efully | |
| 963 | BrowserMat ch "^WebDr ive" redir ect-carefu lly | |
| 964 | BrowserMat ch "^WebDA VFS/1.[012 3]" redire ct-careful ly | |
| 965 | BrowserMat ch "^gnome -vfs/1.0" redirect-c arefully | |
| 966 | BrowserMat ch "^XML S py" redire ct-careful ly | |
| 967 | BrowserMat ch "^Dream weaver-Web DAV-SCM1" redirect-c arefully | |
| 968 | ||
| 969 | # | |
| 970 | # Allow se rver statu s reports generated by mod_sta tus, | |
| 971 | # with the URL of ht tp://serve rname/serv er-status | |
| 972 | # Change t he ".examp le.com" to match you r domain t o enable. | |
| 973 | # | |
| 974 | #<Location /server-s tatus> | |
| 975 | # SetHa ndler serv er-status | |
| 976 | # Order deny,allo w | |
| 977 | # Deny from all | |
| 978 | # Allow from .exa mple.com | |
| 979 | #</Locatio n> | |
| 980 | ||
| 981 | # | |
| 982 | # Allow re mote serve r configur ation repo rts, with the URL of | |
| 983 | # http:// servername /server-in fo (requir es that mo d_info.c b e loaded). | |
| 984 | # Change t he ".examp le.com" to match you r domain t o enable. | |
| 985 | # | |
| 986 | #<Location /server-i nfo> | |
| 987 | # SetHa ndler serv er-info | |
| 988 | # Order deny,allo w | |
| 989 | # Deny from all | |
| 990 | # Allow from .exa mple.com | |
| 991 | #</Locatio n> | |
| 992 | ||
| 993 | # | |
| 994 | # Proxy Se rver direc tives. Unc omment the following lines to | |
| 995 | # enable t he proxy s erver: | |
| 996 | # | |
| 997 | #<IfModule mod_proxy .c> | |
| 998 | #ProxyRequ ests On | |
| 999 | # | |
| 1000 | #<Proxy *> | |
| 1001 | # Order deny,allo w | |
| 1002 | # Deny from all | |
| 1003 | # Allow from .exa mple.com | |
| 1004 | #</Proxy> | |
| 1005 | ||
| 1006 | # | |
| 1007 | # Enable/d isable the handling of HTTP/1. 1 "Via:" h eaders. | |
| 1008 | # ("Full" adds the s erver vers ion; "Bloc k" removes all outgo ing Via: h eaders) | |
| 1009 | # Set to o ne of: Off | On | Fu ll | Block | |
| 1010 | # | |
| 1011 | #ProxyVia On | |
| 1012 | ||
| 1013 | # | |
| 1014 | # To enabl e a cache of proxied content, uncomment the follow ing lines. | |
| 1015 | # See http ://httpd.a pache.org/ docs/2.2/m od/mod_cac he.html fo r more det ails. | |
| 1016 | # | |
| 1017 | #<IfModule mod_disk_ cache.c> | |
| 1018 | # CacheE nable disk / | |
| 1019 | # CacheR oot "/var/ cache/mod_ proxy" | |
| 1020 | #</IfModul e> | |
| 1021 | # | |
| 1022 | ||
| 1023 | #</IfModul e> | |
| 1024 | # End of p roxy direc tives. | |
| 1025 | ||
| 1026 | ### Sectio n 3: Virtu al Hosts | |
| 1027 | # | |
| 1028 | # VirtualH ost: If yo u want to maintain m ultiple do mains/host names on y our | |
| 1029 | # machine you can se tup Virtua lHost cont ainers for them. Mos t configur ations | |
| 1030 | # use only name-base d virtual hosts so t he server doesn't ne ed to worr y about | |
| 1031 | # IP addre sses. This is indica ted by the asterisks in the di rectives b elow. | |
| 1032 | # | |
| 1033 | # Please s ee the doc umentation at | |
| 1034 | # <URL:htt p://httpd. apache.org /docs/2.2/ vhosts/> | |
| 1035 | # for furt her detail s before y ou try to setup virt ual hosts. | |
| 1036 | # | |
| 1037 | # You may use the co mmand line option '- S' to veri fy your vi rtual host | |
| 1038 | # configur ation. | |
| 1039 | ||
| 1040 | # | |
| 1041 | # Use name -based vir tual hosti ng. | |
| 1042 | # | |
| 1043 | #NameVirtu alHost *:8 0 | |
| 1044 | # | |
| 1045 | # NOTE: Na meVirtualH ost cannot be used w ithout a p ort specif ier | |
| 1046 | # (e.g. :8 0) if mod_ ssl is bei ng used, d ue to the nature of the | |
| 1047 | # SSL prot ocol. | |
| 1048 | # | |
| 1049 | ||
| 1050 | # | |
| 1051 | # VirtualH ost exampl e: | |
| 1052 | # Almost a ny Apache directive may go int o a Virtua lHost cont ainer. | |
| 1053 | # The firs t VirtualH ost sectio n is used for reques ts without a known | |
| 1054 | # server n ame. | |
| 1055 | # | |
| 1056 | #<VirtualH ost *:80> | |
| 1057 | # Serve rAdmin web master@dum my-host.ex ample.com | |
| 1058 | # Docum entRoot /w ww/docs/du mmy-host.e xample.com | |
| 1059 | # Serve rName dumm y-host.exa mple.com | |
| 1060 | # Error Log logs/d ummy-host. example.co m-error_lo g | |
| 1061 | # Custo mLog logs/ dummy-host .example.c om-access_ log common | |
| 1062 | #</Virtual Host> | |
| 1063 | # This ent ry support the abili ty for Tra ceEnable. It should be set to "off" for | |
| 1064 | # security purposes. | |
| 1065 | TraceEna ble off | |
| 1066 | # Limit ht tp request . Set to 1 5M for sec urity purp oses | |
| 1067 | LimitReq uestBody 1 5000000 | |
| 1068 | PerlRequir e /etc/htt pd/scripts /startup.p l | |
| 1069 | PerlRequir e /etc/htt pd/scripts /constants .pl | |
| 1070 | ||
| 1071 | <Location /git/> | |
| 1072 | PerlFixu pHandler P risme::Val idateHeade r | |
| 1073 | </Location > | |
| 1074 | ||
| 1075 | <Location /nexus/> | |
| 1076 | PerlFixu pHandler P risme::Val idateHeade r | |
| 1077 | </Location > | |
| 1078 | ||
| 1079 | <Location /jenkins/> | |
| 1080 | PerlFixu pHandler P risme::Val idateHeade r | |
| 1081 | </Location > | |
| 1082 | ||
| 1083 | <Location /manager/> | |
| 1084 | PerlFixu pHandler P risme::Val idateHeade r | |
| 1085 | </Location > |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.