Changeset 257 for server/fedora/config
- Timestamp:
- Apr 3, 2007, 9:43:09 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/fedora/config/etc/httpd/conf/httpd.conf
r252 r257 1 #ServerType standalone2 1 ServerRoot /etc/httpd 3 #LockFile /var/lock/apache.lock4 2 PidFile run/httpd.pid 5 #ScoreBoardFile /var/run/apache.scoreboard6 3 Timeout 300 7 4 KeepAlive On … … 82 79 83 80 <Directory /mit/*/web_scripts> 84 AllowOverride All 85 Options FollowSymLinks IncludesNoExec 86 </Directory> 87 81 </Directory> 88 82 <Directory /afs/athena.mit.edu/activity/*/*/web_scripts> 89 AllowOverride All 90 Options FollowSymLinks IncludesNoExec 91 </Directory> 92 83 </Directory> 93 84 <Directory /afs/athena.mit.edu/contrib/*/web_scripts> 94 AllowOverride All 95 Options FollowSymLinks IncludesNoExec 96 </Directory> 97 85 </Directory> 98 86 <Directory /afs/athena.mit.edu/course/*/*/web_scripts> 99 AllowOverride All 100 Options FollowSymLinks IncludesNoExec 101 </Directory> 102 87 </Directory> 103 88 <Directory /afs/athena.mit.edu/org/*/*/web_scripts> 104 AllowOverride All 105 Options FollowSymLinks IncludesNoExec 106 </Directory> 107 89 </Directory> 108 90 <Directory /afs/athena.mit.edu/user/*/*/*/web_scripts> 109 AllowOverride All110 Options FollowSymLinks IncludesNoExec111 91 </Directory> 112 92 113 93 <IfModule mod_dir.c> 114 DirectoryIndex index.html index.htm index.cgi index.pl index.php index.py index.shtml 94 DirectoryIndex index.html index.htm index.cgi index.pl index.php index.py index.shtml index.exe 115 95 </IfModule> 116 96 … … 118 98 119 99 <Files ~ "^\.ht"> 120 121 100 Order Allow,Deny 101 Deny from all 122 102 </Files> 123 103 … … 126 106 DefaultType text/plain 127 107 #MIMEMagicFile conf/magic 128 129 AddDefaultCharset on130 108 131 109 HostnameLookups Off … … 134 112 LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 135 113 LogFormat "%h %l %u %t \"%r\" %>s %b" common 136 LogFormat "%{Referer}i -> %U" referer137 LogFormat "%{User-agent}i" agent138 114 #CustomLog /var/log/httpd/access_log combined 139 115 ServerSignature Off … … 141 117 ServerTokens Prod 142 118 143 Alias /icons /var/www/icons144 <Directory /var/www/icons>145 Options None146 AllowOverride None147 <Files ~ "\.(gif|png)$">148 SetHandler default-handler149 </Files>150 </Directory>151 152 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> 128 153 129 IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable 154 130 … … 192 168 193 169 <IfModule mod_mime.c> 194 AddType application/xhtml+xml .xhtml 195 AddType application/http-index-format .hti 196 AddType text/html .html 197 AddType text/css .css 198 AddType text/xsl .xslt 199 AddType application/x-javascript .js 200 AddType application/xml .xml 201 AddType image/svg+xml .svg 202 AddType application/vnd.mozilla.xul+xml .xul 203 AddType application/rdf+xml .rdf 204 AddType application/x-xpinstall .xpi 205 AddType text/xml .xsl 206 #AddOutputFilterByType mod-xslt application/xml 207 AddType text/html .shtml 208 AddHandler server-parsed .shtml 209 </IfModule> 210 211 <IfModule mod_mime.c> 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 184 212 185 AddEncoding x-compress Z 213 186 AddEncoding x-gzip gz tgz … … 237 210 </IfModule> 238 211 239 #AddType application/x-httpd-php .php240 #AddType application/x-httpd-php-source .phps241 242 212 AddType application/x-tar .tgz 243 213 AddType image/bmp .bmp 244 214 245 # hdml246 215 AddType text/x-hdml .hdml 247 248 #AddType text/html .shtml249 #AddHandler server-parsed .shtml250 216 </IfModule> 251 217 … … 280 246 281 247 <Location ~ "/(robots\.txt|favicon\.ico)"> 282 283 284 285 286 287 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] 288 254 </Location> 289 255 … … 291 257 292 258 <VirtualHost _default_:80> 293 294 295 259 ServerName vhosts.mit.edu 260 DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php 261 Include conf.d/vhosts-common.conf 296 262 </VirtualHost> 297 263 298 264 <VirtualHost 18.181.0.50:80> 299 ServerName scripts-cert.mit.edu 300 ServerAlias scripts-cert 301 DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home 302 SuExecUserGroup scripts users 303 UserDir web_scripts 304 RewriteEngine Off 305 Include conf.d/vhosts-common.conf 265 ServerName scripts-cert.mit.edu 266 ServerAlias scripts-cert 267 DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home 268 SuExecUserGroup scripts users 269 UserDir web_scripts 270 Include conf.d/vhosts-common.conf 306 271 </VirtualHost> 307 272 308 273 <VirtualHost *:80> 309 ServerName scripts.mit.edu 310 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 311 DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home 312 SuExecUserGroup scripts users 313 UserDir web_scripts 314 RewriteEngine Off 315 Alias /src /afs/athena.mit.edu/contrib/scripts/src 316 Redirect /sql https://scripts.mit.edu/~sql 317 Include conf.d/vhosts-common.conf 274 ServerName scripts.mit.edu 275 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 276 DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home 277 SuExecUserGroup scripts users 278 UserDir web_scripts 279 Alias /src /afs/athena.mit.edu/contrib/scripts/src 280 Redirect /sql https://scripts.mit.edu/~sql 281 Include conf.d/vhosts-common.conf 318 282 </VirtualHost> 319 283 320 284 <IfModule ssl_module> 321 Listen 443 322 323 AddType application/x-x509-ca-cert .crt 324 AddType application/x-pkcs7-crl .crl 325 326 SSLPassPhraseDialog builtin 327 SSLSessionCache dbm:/var/run/ssl_scache 328 SSLSessionCacheTimeout 300 329 SSLMutex file:/var/run/ssl_mutex 330 SSLRandomSeed startup builtin 331 SSLRandomSeed connect builtin 332 SSLCertificateFile /etc/pki/tls/certs/cert-new.pem 333 SSLCertificateKeyFile /etc/pki/tls/private/localhost.key 334 SSLCACertificateFile /etc/pki/tls/certs/ca.pem 335 SSLVerifyClient none 336 SSLOptions +StdEnvVars 337 SSLUserName SSL_CLIENT_S_DN_Email 338 <VirtualHost 18.181.0.50:443> 339 ServerName scripts-cert.mit.edu 340 ServerAlias scripts-cert 341 DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home 342 SuExecUserGroup scripts users 343 UserDir web_scripts 344 RewriteEngine Off 345 Include conf.d/vhosts-common-ssl.conf 346 SSLCertificateFile /etc/pki/tls/certs/scripts-cert-new.pem 347 SSLVerifyClient require 348 SSLVerifyDepth 1 349 </VirtualHost> 350 <VirtualHost *:443> 351 ServerName vhosts.mit.edu 352 ServerAlias vhosts 353 DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php 354 RewriteEngine Off 355 Include conf.d/vhosts-common-ssl.conf 356 </VirtualHost> 357 <VirtualHost *:443> 358 ServerName scripts.mit.edu 359 ServerAlias scripts scripts-test.mit.edu scripts-test 360 DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home 361 SuExecUserGroup scripts users 362 UserDir web_scripts 363 RewriteEngine Off 364 Include conf.d/vhosts-common-ssl.conf 365 </VirtualHost> 285 Listen 443 286 287 AddType application/x-x509-ca-cert .crt 288 AddType application/x-pkcs7-crl .crl 289 290 SSLPassPhraseDialog builtin 291 SSLSessionCache dbm:/var/run/ssl_scache 292 SSLSessionCacheTimeout 300 293 SSLMutex file:/var/run/ssl_mutex 294 SSLRandomSeed startup builtin 295 SSLRandomSeed connect builtin 296 SSLCertificateFile /etc/pki/tls/certs/cert-new.pem 297 SSLCertificateKeyFile /etc/pki/tls/private/localhost.key 298 SSLCACertificateFile /etc/pki/tls/certs/ca.pem 299 SSLVerifyClient none 300 SSLOptions +StdEnvVars 301 SSLUserName SSL_CLIENT_S_DN_Email 302 <VirtualHost 18.181.0.50:443> 303 ServerName scripts-cert.mit.edu 304 ServerAlias scripts-cert 305 DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home 306 SuExecUserGroup scripts users 307 UserDir web_scripts 308 Include conf.d/vhosts-common-ssl.conf 309 SSLCertificateFile /etc/pki/tls/certs/scripts-cert-new.pem 310 SSLVerifyClient require 311 SSLVerifyDepth 1 312 </VirtualHost> 313 <VirtualHost *:443> 314 ServerName vhosts.mit.edu 315 ServerAlias vhosts 316 DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php 317 Include conf.d/vhosts-common-ssl.conf 318 </VirtualHost> 319 <VirtualHost *:443> 320 ServerName scripts.mit.edu 321 ServerAlias scripts scripts-test.mit.edu scripts-test 322 DocumentRoot /afs/athena.mit.edu/contrib/scripts/web_scripts/home 323 SuExecUserGroup scripts users 324 UserDir web_scripts 325 Include conf.d/vhosts-common-ssl.conf 326 </VirtualHost> 366 327 </IfModule> 367 328
Note: See TracChangeset
for help on using the changeset viewer.