[39] | 1 | ServerRoot /etc/httpd |
---|
| 2 | PidFile run/httpd.pid |
---|
| 3 | Timeout 300 |
---|
[231] | 4 | KeepAlive On |
---|
[39] | 5 | MaxKeepAliveRequests 1000 |
---|
[231] | 6 | KeepAliveTimeout 5 |
---|
[39] | 7 | MinSpareServers 5 |
---|
| 8 | MaxSpareServers 20 |
---|
| 9 | StartServers 8 |
---|
| 10 | MaxClients 256 |
---|
| 11 | MaxRequestsPerChild 4000 |
---|
| 12 | |
---|
| 13 | LoadModule auth_basic_module modules/mod_auth_basic.so |
---|
| 14 | LoadModule auth_digest_module modules/mod_auth_digest.so |
---|
| 15 | LoadModule authn_file_module modules/mod_authn_file.so |
---|
| 16 | LoadModule authn_alias_module modules/mod_authn_alias.so |
---|
| 17 | LoadModule authn_anon_module modules/mod_authn_anon.so |
---|
| 18 | #LoadModule authn_dbm_module modules/mod_authn_dbm.so |
---|
| 19 | LoadModule authn_default_module modules/mod_authn_default.so |
---|
| 20 | LoadModule authz_host_module modules/mod_authz_host.so |
---|
| 21 | LoadModule authz_user_module modules/mod_authz_user.so |
---|
| 22 | LoadModule authz_owner_module modules/mod_authz_owner.so |
---|
| 23 | LoadModule authz_groupfile_module modules/mod_authz_groupfile.so |
---|
| 24 | #LoadModule authz_dbm_module modules/mod_authz_dbm.so |
---|
| 25 | LoadModule authz_default_module modules/mod_authz_default.so |
---|
| 26 | #LoadModule ldap_module modules/mod_ldap.so |
---|
| 27 | #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so |
---|
| 28 | LoadModule include_module modules/mod_include.so |
---|
| 29 | LoadModule log_config_module modules/mod_log_config.so |
---|
| 30 | #LoadModule logio_module modules/mod_logio.so |
---|
| 31 | LoadModule env_module modules/mod_env.so |
---|
| 32 | LoadModule ext_filter_module modules/mod_ext_filter.so |
---|
| 33 | #LoadModule mime_magic_module modules/mod_mime_magic.so |
---|
| 34 | #LoadModule expires_module modules/mod_expires.so |
---|
| 35 | #LoadModule deflate_module modules/mod_deflate.so |
---|
| 36 | #LoadModule headers_module modules/mod_headers.so |
---|
| 37 | #LoadModule usertrack_module modules/mod_usertrack.so |
---|
| 38 | LoadModule setenvif_module modules/mod_setenvif.so |
---|
| 39 | LoadModule mime_module modules/mod_mime.so |
---|
| 40 | #LoadModule dav_module modules/mod_dav.so |
---|
[151] | 41 | LoadModule status_module modules/mod_status.so |
---|
[39] | 42 | LoadModule autoindex_module modules/mod_autoindex.so |
---|
| 43 | #LoadModule info_module modules/mod_info.so |
---|
| 44 | #LoadModule dav_fs_module modules/mod_dav_fs.so |
---|
| 45 | #LoadModule vhost_alias_module modules/mod_vhost_alias.so |
---|
| 46 | #LoadModule negotiation_module modules/mod_negotiation.so |
---|
| 47 | LoadModule dir_module modules/mod_dir.so |
---|
| 48 | LoadModule actions_module modules/mod_actions.so |
---|
| 49 | #LoadModule speling_module modules/mod_speling.so |
---|
| 50 | LoadModule userdir_module modules/mod_userdir.so |
---|
| 51 | LoadModule alias_module modules/mod_alias.so |
---|
| 52 | LoadModule rewrite_module modules/mod_rewrite.so |
---|
| 53 | #LoadModule proxy_module modules/mod_proxy.so |
---|
| 54 | #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so |
---|
| 55 | #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so |
---|
| 56 | #LoadModule proxy_http_module modules/mod_proxy_http.so |
---|
| 57 | #LoadModule proxy_connect_module modules/mod_proxy_connect.so |
---|
| 58 | #LoadModule cache_module modules/mod_cache.so |
---|
| 59 | LoadModule suexec_module modules/mod_suexec.so |
---|
| 60 | #LoadModule disk_cache_module modules/mod_disk_cache.so |
---|
| 61 | #LoadModule file_cache_module modules/mod_file_cache.so |
---|
| 62 | #LoadModule mem_cache_module modules/mod_mem_cache.so |
---|
| 63 | LoadModule cgi_module modules/mod_cgi.so |
---|
| 64 | LoadModule ssl_module modules/mod_ssl.so |
---|
| 65 | |
---|
| 66 | User apache |
---|
| 67 | Group apache |
---|
| 68 | |
---|
| 69 | #ErrorDocument 403 /403-404.html |
---|
| 70 | #ErrorDocument 404 /403-404.html |
---|
| 71 | #ErrorDocument 500 /script_error.html |
---|
| 72 | |
---|
[247] | 73 | UserDir disabled |
---|
[39] | 74 | |
---|
| 75 | <Directory /> |
---|
| 76 | AllowOverride All |
---|
| 77 | Options FollowSymLinks IncludesNoExec |
---|
| 78 | </Directory> |
---|
| 79 | |
---|
| 80 | <Directory /mit/*/web_scripts> |
---|
| 81 | </Directory> |
---|
| 82 | <Directory /afs/athena.mit.edu/activity/*/*/web_scripts> |
---|
| 83 | </Directory> |
---|
| 84 | <Directory /afs/athena.mit.edu/contrib/*/web_scripts> |
---|
| 85 | </Directory> |
---|
| 86 | <Directory /afs/athena.mit.edu/course/*/*/web_scripts> |
---|
| 87 | </Directory> |
---|
| 88 | <Directory /afs/athena.mit.edu/org/*/*/web_scripts> |
---|
| 89 | </Directory> |
---|
| 90 | <Directory /afs/athena.mit.edu/user/*/*/*/web_scripts> |
---|
| 91 | </Directory> |
---|
| 92 | |
---|
| 93 | <IfModule mod_dir.c> |
---|
[257] | 94 | DirectoryIndex index.html index.htm index.cgi index.pl index.php index.py index.shtml index.exe |
---|
[39] | 95 | </IfModule> |
---|
| 96 | |
---|
| 97 | AccessFileName .htaccess |
---|
| 98 | |
---|
| 99 | <Files ~ "^\.ht"> |
---|
[257] | 100 | Order Allow,Deny |
---|
| 101 | Deny from all |
---|
[39] | 102 | </Files> |
---|
| 103 | |
---|
| 104 | UseCanonicalName Off |
---|
| 105 | TypesConfig /etc/mime.types |
---|
| 106 | DefaultType text/plain |
---|
| 107 | #MIMEMagicFile conf/magic |
---|
| 108 | |
---|
| 109 | HostnameLookups Off |
---|
[149] | 110 | ErrorLog "/home/logview/error_log" |
---|
[39] | 111 | LogLevel warn |
---|
| 112 | LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined |
---|
| 113 | LogFormat "%h %l %u %t \"%r\" %>s %b" common |
---|
| 114 | #CustomLog /var/log/httpd/access_log combined |
---|
| 115 | ServerSignature Off |
---|
| 116 | ServerAdmin scripts@mit.edu |
---|
| 117 | ServerTokens Prod |
---|
| 118 | |
---|
[257] | 119 | <IfModule mod_autoindex.c> |
---|
| 120 | Alias /icons /var/www/icons |
---|
| 121 | <Directory /var/www/icons> |
---|
| 122 | Options None |
---|
| 123 | AllowOverride None |
---|
| 124 | <Files ~ "\.(gif|png)$"> |
---|
| 125 | SetHandler default-handler |
---|
| 126 | </Files> |
---|
| 127 | </Directory> |
---|
[39] | 128 | |
---|
| 129 | IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable |
---|
| 130 | |
---|
| 131 | AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip |
---|
| 132 | |
---|
| 133 | AddIconByType (TXT,/icons/text.gif) text/* |
---|
| 134 | AddIconByType (IMG,/icons/image2.gif) image/* |
---|
| 135 | AddIconByType (SND,/icons/sound2.gif) audio/* |
---|
| 136 | AddIconByType (VID,/icons/movie.gif) video/* |
---|
| 137 | |
---|
| 138 | AddIcon /icons/binary.gif .bin .exe |
---|
| 139 | AddIcon /icons/binhex.gif .hqx |
---|
| 140 | AddIcon /icons/tar.gif .tar |
---|
| 141 | AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv |
---|
| 142 | AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip |
---|
| 143 | AddIcon /icons/a.gif .ps .ai .eps |
---|
| 144 | AddIcon /icons/layout.gif .html .shtml .htm .pdf |
---|
| 145 | AddIcon /icons/text.gif .txt |
---|
| 146 | AddIcon /icons/c.gif .c |
---|
| 147 | AddIcon /icons/p.gif .pl .py |
---|
| 148 | AddIcon /icons/f.gif .for |
---|
| 149 | AddIcon /icons/dvi.gif .dvi |
---|
| 150 | AddIcon /icons/uuencoded.gif .uu |
---|
| 151 | AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl |
---|
| 152 | AddIcon /icons/tex.gif .tex |
---|
| 153 | AddIcon /icons/bomb.gif core |
---|
| 154 | AddIcon /icons/deb.gif .deb |
---|
| 155 | |
---|
| 156 | AddIcon /icons/back.gif .. |
---|
| 157 | AddIcon /icons/hand.right.gif README |
---|
| 158 | AddIcon /icons/folder.gif ^^DIRECTORY^^ |
---|
| 159 | AddIcon /icons/blank.gif ^^BLANKICON^^ |
---|
| 160 | |
---|
| 161 | DefaultIcon /icons/unknown.gif |
---|
| 162 | |
---|
| 163 | ReadmeName README |
---|
| 164 | HeaderName HEADER |
---|
| 165 | |
---|
| 166 | IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t |
---|
| 167 | </IfModule> |
---|
| 168 | |
---|
| 169 | <IfModule mod_mime.c> |
---|
[257] | 170 | AddType application/xhtml+xml .xhtml |
---|
| 171 | AddType application/http-index-format .hti |
---|
| 172 | AddType text/html .html |
---|
| 173 | AddType text/css .css |
---|
| 174 | AddType text/xsl .xslt |
---|
| 175 | AddType application/x-javascript .js |
---|
| 176 | AddType application/xml .xml |
---|
| 177 | AddType image/svg+xml .svg |
---|
| 178 | AddType application/vnd.mozilla.xul+xml .xul |
---|
| 179 | AddType application/rdf+xml .rdf |
---|
| 180 | AddType application/x-xpinstall .xpi |
---|
| 181 | AddType text/xml .xsl |
---|
| 182 | AddType text/html .shtml |
---|
| 183 | AddHandler server-parsed .shtml |
---|
[39] | 184 | |
---|
| 185 | AddEncoding x-compress Z |
---|
| 186 | AddEncoding x-gzip gz tgz |
---|
| 187 | |
---|
| 188 | AddLanguage da .dk |
---|
| 189 | AddLanguage nl .nl |
---|
| 190 | AddLanguage en .en |
---|
| 191 | AddLanguage et .ee |
---|
| 192 | AddLanguage fr .fr |
---|
| 193 | AddLanguage de .de |
---|
| 194 | AddLanguage el .el |
---|
| 195 | AddLanguage it .it |
---|
| 196 | AddLanguage ja .ja |
---|
| 197 | AddCharset ISO-2022-JP .jis |
---|
| 198 | AddLanguage pl .po |
---|
| 199 | AddCharset ISO-8859-2 .iso-pl |
---|
| 200 | AddLanguage pt .pt |
---|
| 201 | AddLanguage pt-br .pt-br |
---|
| 202 | AddLanguage ltz .lu |
---|
| 203 | AddLanguage ca .ca |
---|
| 204 | AddLanguage es .es |
---|
| 205 | AddLanguage sv .se |
---|
| 206 | AddLanguage cz .cz |
---|
| 207 | |
---|
| 208 | <IfModule mod_negotiation.c> |
---|
| 209 | LanguagePriority en da nl et fr de el it ja pl pt pt-br ltz ca es sv |
---|
| 210 | </IfModule> |
---|
| 211 | |
---|
| 212 | AddType application/x-tar .tgz |
---|
| 213 | AddType image/bmp .bmp |
---|
| 214 | |
---|
| 215 | AddType text/x-hdml .hdml |
---|
| 216 | </IfModule> |
---|
| 217 | |
---|
| 218 | <IfModule mod_setenvif.c> |
---|
| 219 | BrowserMatch "Mozilla/2" nokeepalive |
---|
| 220 | BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 |
---|
| 221 | BrowserMatch "RealPlayer 4\.0" force-response-1.0 |
---|
| 222 | BrowserMatch "Java/1\.0" force-response-1.0 |
---|
| 223 | BrowserMatch "JDK/1\.0" force-response-1.0 |
---|
| 224 | SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown |
---|
| 225 | </IfModule> |
---|
| 226 | |
---|
| 227 | Listen 80 |
---|
| 228 | |
---|
| 229 | RLimitCPU 60 60 |
---|
[301] | 230 | RLimitMEM 536870912 536870912 |
---|
[39] | 231 | RLimitNPROC 1024 1024 |
---|
| 232 | |
---|
| 233 | SetEnv REDIRECT_STATUS CGI |
---|
| 234 | SetEnv PHPRC . |
---|
| 235 | |
---|
| 236 | NameVirtualHost *:80 |
---|
| 237 | NameVirtualHost *:443 |
---|
[151] | 238 | NameVirtualHost 18.181.0.50:80 |
---|
| 239 | NameVirtualHost 18.181.0.50:443 |
---|
[39] | 240 | |
---|
| 241 | ServerName localhost |
---|
| 242 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/www |
---|
[151] | 243 | |
---|
| 244 | ExtendedStatus On |
---|
| 245 | RewriteEngine Off |
---|
| 246 | |
---|
| 247 | <Location ~ "/(robots\.txt|favicon\.ico)"> |
---|
[257] | 248 | RewriteEngine On |
---|
| 249 | RewriteBase /~scripts |
---|
| 250 | RewriteCond %{REQUEST_FILENAME} !-f |
---|
| 251 | RewriteRule .*(favicon\.ico) $1 [L,NS] |
---|
| 252 | RewriteCond %{REQUEST_FILENAME} !-f |
---|
| 253 | RewriteRule .*(robots\.txt) $1 [L,NS] |
---|
[151] | 254 | </Location> |
---|
| 255 | |
---|
| 256 | <VirtualHost _default_:80> |
---|
[257] | 257 | ServerName vhosts.mit.edu |
---|
| 258 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php |
---|
| 259 | Include conf.d/vhosts-common.conf |
---|
[151] | 260 | </VirtualHost> |
---|
| 261 | |
---|
| 262 | <VirtualHost 18.181.0.50:80> |
---|
[257] | 263 | ServerName scripts-cert.mit.edu |
---|
| 264 | ServerAlias scripts-cert |
---|
| 265 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home |
---|
| 266 | SuExecUserGroup scripts users |
---|
| 267 | UserDir web_scripts |
---|
| 268 | Include conf.d/vhosts-common.conf |
---|
[151] | 269 | </VirtualHost> |
---|
| 270 | |
---|
| 271 | <VirtualHost *:80> |
---|
[257] | 272 | ServerName scripts.mit.edu |
---|
| 273 | ServerAlias scripts scripts-test.mit.edu scripts-test 18.181.0.46 18.181.0.57 old-faithful.mit.edu old-faithful scripts3.mit.edu scripts3 18.181.0.53 better-mousetrap.mit.edu better-mousetrap scripts4.mit.edu scripts4 |
---|
| 274 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home |
---|
| 275 | SuExecUserGroup scripts users |
---|
| 276 | UserDir web_scripts |
---|
[270] | 277 | Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat |
---|
[257] | 278 | Alias /src /afs/athena.mit.edu/contrib/scripts/src |
---|
| 279 | Redirect /sql https://scripts.mit.edu/~sql |
---|
| 280 | Include conf.d/vhosts-common.conf |
---|
[151] | 281 | </VirtualHost> |
---|
| 282 | |
---|
[244] | 283 | <IfModule ssl_module> |
---|
[257] | 284 | Listen 443 |
---|
[233] | 285 | |
---|
[257] | 286 | AddType application/x-x509-ca-cert .crt |
---|
| 287 | AddType application/x-pkcs7-crl .crl |
---|
[233] | 288 | |
---|
[257] | 289 | SSLPassPhraseDialog builtin |
---|
| 290 | SSLSessionCache dbm:/var/run/ssl_scache |
---|
| 291 | SSLSessionCacheTimeout 300 |
---|
| 292 | SSLMutex file:/var/run/ssl_mutex |
---|
| 293 | SSLRandomSeed startup builtin |
---|
| 294 | SSLRandomSeed connect builtin |
---|
| 295 | SSLCertificateFile /etc/pki/tls/certs/cert-new.pem |
---|
| 296 | SSLCertificateKeyFile /etc/pki/tls/private/localhost.key |
---|
| 297 | SSLCACertificateFile /etc/pki/tls/certs/ca.pem |
---|
| 298 | SSLVerifyClient none |
---|
| 299 | SSLOptions +StdEnvVars |
---|
| 300 | SSLUserName SSL_CLIENT_S_DN_Email |
---|
| 301 | <VirtualHost 18.181.0.50:443> |
---|
| 302 | ServerName scripts-cert.mit.edu |
---|
| 303 | ServerAlias scripts-cert |
---|
| 304 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home |
---|
| 305 | SuExecUserGroup scripts users |
---|
| 306 | UserDir web_scripts |
---|
| 307 | Include conf.d/vhosts-common-ssl.conf |
---|
| 308 | SSLCertificateFile /etc/pki/tls/certs/scripts-cert-new.pem |
---|
[270] | 309 | Include conf.d/vhosts-common-ssl-cert.conf |
---|
[257] | 310 | </VirtualHost> |
---|
| 311 | <VirtualHost *:443> |
---|
| 312 | ServerName vhosts.mit.edu |
---|
| 313 | ServerAlias vhosts |
---|
| 314 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php |
---|
| 315 | Include conf.d/vhosts-common-ssl.conf |
---|
| 316 | </VirtualHost> |
---|
| 317 | <VirtualHost *:443> |
---|
| 318 | ServerName scripts.mit.edu |
---|
[270] | 319 | ServerAlias scripts scripts-test.mit.edu scripts-test 18.181.0.46 18.181.0.57 old-faithful.mit.edu old-faithful scripts3.mit.edu scripts3 18.181.0.53 better-mousetrap.mit.edu better-mousetrap scripts4.mit.edu scripts4 |
---|
[257] | 320 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home |
---|
[270] | 321 | Alias /heartbeat /afs/athena.mit.edu/contrib/scripts/web_scripts/heartbeat |
---|
[257] | 322 | SuExecUserGroup scripts users |
---|
| 323 | UserDir web_scripts |
---|
| 324 | Include conf.d/vhosts-common-ssl.conf |
---|
| 325 | </VirtualHost> |
---|
[151] | 326 | </IfModule> |
---|
| 327 | |
---|
| 328 | Include vhosts.d/*.conf |
---|
| 329 | |
---|
| 330 | LoadModule fcgid_module modules/mod_fcgid.so |
---|
| 331 | AddHandler fcgid-script fcgi |
---|
| 332 | <Files *.fcgi> |
---|
| 333 | Options +ExecCGI |
---|
| 334 | </Files> |
---|
| 335 | SocketPath run/mod_fcgid |
---|
| 336 | |
---|
[70] | 337 | Include conf.d/auth_sslcert.conf |
---|
[40] | 338 | Include conf.d/execsys.conf |
---|