Parent Directory
|
Revision Log
Changed all relavent occurences of /webwork* in default URLs to /webwork2* -Dennis
1 # This is the configuration that is common to every developer's apache 2 # process. httpd-wwmp-sample.conf expects to find this file in 3 # /usr/local/etc/apache, but that can be customized for your shop. 4 # You should also at least change the ServerName parameter. 5 6 ### Section 1: Global Environment 7 ServerType standalone 8 ServerRoot /usr/local 9 10 ResourceConfig /dev/null 11 AccessConfig /dev/null 12 13 Timeout 300 14 15 # Whether or not to allow persistent connections 16 KeepAlive On 17 MaxKeepAliveRequests 100 18 KeepAliveTimeout 15 19 20 # Dynamic Shared Object (DSO) Support 21 # Note: The order in which modules are loaded is important. Don't change 22 # the order below without expert advice. 23 LoadModule mmap_static_module libexec/apache/mod_mmap_static.so 24 LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so 25 LoadModule env_module libexec/apache/mod_env.so 26 LoadModule config_log_module libexec/apache/mod_log_config.so 27 LoadModule mime_magic_module libexec/apache/mod_mime_magic.so 28 LoadModule mime_module libexec/apache/mod_mime.so 29 LoadModule negotiation_module libexec/apache/mod_negotiation.so 30 LoadModule status_module libexec/apache/mod_status.so 31 LoadModule info_module libexec/apache/mod_info.so 32 LoadModule includes_module libexec/apache/mod_include.so 33 LoadModule autoindex_module libexec/apache/mod_autoindex.so 34 LoadModule dir_module libexec/apache/mod_dir.so 35 LoadModule cgi_module libexec/apache/mod_cgi.so 36 LoadModule asis_module libexec/apache/mod_asis.so 37 LoadModule imap_module libexec/apache/mod_imap.so 38 LoadModule action_module libexec/apache/mod_actions.so 39 LoadModule speling_module libexec/apache/mod_speling.so 40 LoadModule userdir_module libexec/apache/mod_userdir.so 41 LoadModule alias_module libexec/apache/mod_alias.so 42 LoadModule rewrite_module libexec/apache/mod_rewrite.so 43 LoadModule access_module libexec/apache/mod_access.so 44 LoadModule auth_module libexec/apache/mod_auth.so 45 LoadModule anon_auth_module libexec/apache/mod_auth_anon.so 46 LoadModule db_auth_module libexec/apache/mod_auth_db.so 47 LoadModule digest_module libexec/apache/mod_digest.so 48 LoadModule proxy_module libexec/apache/libproxy.so 49 LoadModule cern_meta_module libexec/apache/mod_cern_meta.so 50 LoadModule expires_module libexec/apache/mod_expires.so 51 LoadModule headers_module libexec/apache/mod_headers.so 52 LoadModule usertrack_module libexec/apache/mod_usertrack.so 53 LoadModule unique_id_module libexec/apache/mod_unique_id.so 54 LoadModule setenvif_module libexec/apache/mod_setenvif.so 55 LoadModule perl_module libexec/apache/libperl.so 56 57 # Reconstruction of the complete module list from all available modules 58 # (static and shared ones) to achieve correct module execution order. 59 # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO] 60 ClearModuleList 61 AddModule mod_mmap_static.c 62 AddModule mod_vhost_alias.c 63 AddModule mod_env.c 64 AddModule mod_log_config.c 65 AddModule mod_mime_magic.c 66 AddModule mod_mime.c 67 AddModule mod_negotiation.c 68 AddModule mod_status.c 69 AddModule mod_info.c 70 AddModule mod_include.c 71 AddModule mod_autoindex.c 72 AddModule mod_dir.c 73 AddModule mod_cgi.c 74 AddModule mod_asis.c 75 AddModule mod_imap.c 76 AddModule mod_actions.c 77 AddModule mod_speling.c 78 AddModule mod_userdir.c 79 AddModule mod_alias.c 80 AddModule mod_rewrite.c 81 AddModule mod_access.c 82 AddModule mod_auth.c 83 AddModule mod_auth_anon.c 84 AddModule mod_auth_db.c 85 AddModule mod_digest.c 86 AddModule mod_proxy.c 87 AddModule mod_cern_meta.c 88 AddModule mod_expires.c 89 AddModule mod_headers.c 90 AddModule mod_usertrack.c 91 AddModule mod_unique_id.c 92 AddModule mod_so.c 93 AddModule mod_setenvif.c 94 AddModule mod_perl.c 95 96 ExtendedStatus On 97 98 ### Section 2: 'Main' server configuration 99 ServerName webwork-dev.math.rochester.edu 100 101 <Directory /> 102 Options FollowSymLinks 103 AllowOverride None 104 </Directory> 105 106 # 107 # DirectoryIndex: Name of the file or files to use as a pre-written HTML 108 # directory index. Separate multiple entries with spaces. 109 # 110 <IfModule mod_dir.c> 111 <IfModule mod_php3.c> 112 <IfModule mod_php4.c> 113 DirectoryIndex index.php index.php3 index.html 114 </IfModule> 115 <IfModule !mod_php4.c> 116 DirectoryIndex index.php3 index.html 117 </IfModule> 118 </IfModule> 119 <IfModule !mod_php3.c> 120 <IfModule mod_php4.c> 121 DirectoryIndex index.php index.html 122 </IfModule> 123 <IfModule !mod_php4.c> 124 DirectoryIndex index.html 125 </IfModule> 126 </IfModule> 127 </IfModule> 128 129 AccessFileName .htaccess 130 131 # Prevent downloads of .htaccess and .htpasswd files 132 <Files ~ "^\.ht"> 133 Order allow,deny 134 Deny from all 135 Satisfy All 136 </Files> 137 138 UseCanonicalName Off 139 140 <IfModule mod_mime.c> 141 TypesConfig /usr/local/etc/apache/mime.types 142 </IfModule> 143 144 # Another good DefaultType is application/octet-stream 145 DefaultType text/plain 146 147 <IfModule mod_mime_magic.c> 148 MIMEMagicFile /usr/local/etc/apache/magic 149 </IfModule> 150 151 # Logging stuff 152 HostnameLookups On 153 154 # Possible values include: debug, info, notice, warn, error, crit, 155 # alert, emerg. 156 LogLevel warn 157 158 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 159 LogFormat "%h %l %u %t \"%r\" %>s %b" common 160 LogFormat "%{Referer}i -> %U" referer 161 LogFormat "%{User-agent}i" agent 162 163 # Set to "EMail" to also include a mailto: link to the ServerAdmin. 164 # Set to one of: On | Off | EMail 165 ServerSignature On 166 167 <IfModule mod_alias.c> 168 # Note that if you include a trailing / on fakename then the server will 169 # require it to be present in the URL. So "/icons" isn't aliased in this 170 # example, only "/icons/". If the fakename is slash-terminated, then the 171 # realname must also be slash terminated, and if the fakename omits the 172 # trailing slash, the realname must also omit it. 173 Alias /icons/ "/usr/local/www/icons/" 174 175 <Directory "/usr/local/www/icons"> 176 Options Indexes MultiViews 177 AllowOverride None 178 Order allow,deny 179 Allow from all 180 </Directory> 181 182 # The same rules about trailing "/" apply to ScriptAlias directives as to 183 # Alias. 184 ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" 185 186 <Directory "/usr/local/www/cgi-bin"> 187 AllowOverride None 188 Options None 189 Order allow,deny 190 Allow from all 191 </Directory> 192 193 </IfModule> 194 195 # Redirect old-URI new-URL 196 197 # Directives controlling the display of server-generated directory listings. 198 <IfModule mod_autoindex.c> 199 200 # 201 # FancyIndexing is whether you want fancy directory indexing or standard 202 # 203 IndexOptions FancyIndexing 204 205 # 206 # AddIcon* directives tell the server which icon to show for different 207 # files or filename extensions. These are only displayed for 208 # FancyIndexed directories. 209 # 210 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip 211 212 AddIconByType (TXT,/icons/text.gif) text/* 213 AddIconByType (IMG,/icons/image2.gif) image/* 214 AddIconByType (SND,/icons/sound2.gif) audio/* 215 AddIconByType (VID,/icons/movie.gif) video/* 216 217 AddIcon /icons/binary.gif .bin .exe 218 AddIcon /icons/binhex.gif .hqx 219 AddIcon /icons/tar.gif .tar 220 AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv 221 AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip 222 AddIcon /icons/a.gif .ps .ai .eps 223 AddIcon /icons/layout.gif .html .shtml .htm .pdf 224 AddIcon /icons/text.gif .txt 225 AddIcon /icons/c.gif .c 226 AddIcon /icons/p.gif .pl .py 227 AddIcon /icons/f.gif .for 228 AddIcon /icons/dvi.gif .dvi 229 AddIcon /icons/uuencoded.gif .uu 230 AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl 231 AddIcon /icons/tex.gif .tex 232 AddIcon /icons/bomb.gif core 233 234 AddIcon /icons/back.gif .. 235 AddIcon /icons/hand.right.gif README 236 AddIcon /icons/folder.gif ^^DIRECTORY^^ 237 AddIcon /icons/blank.gif ^^BLANKICON^^ 238 239 DefaultIcon /icons/unknown.gif 240 241 #AddDescription "GZIP compressed document" .gz 242 #AddDescription "tar archive" .tar 243 #AddDescription "GZIP compressed tar archive" .tgz 244 245 # If MultiViews are amongst the Options in effect, the server will 246 # first look for name.html and include it if found. If name.html 247 # doesn't exist, the server will then look for name.txt and include 248 # it as plaintext if found. 249 ReadmeName README 250 HeaderName HEADER 251 IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t 252 </IfModule> 253 254 # 255 # Document types. 256 # 257 <IfModule mod_mime.c> 258 259 # 260 # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress 261 # information on the fly. Note: Not all browsers support this. 262 # Despite the name similarity, the following Add* directives have nothing 263 # to do with the FancyIndexing customization directives above. 264 # 265 AddEncoding x-compress Z 266 AddEncoding x-gzip gz tgz 267 268 AddLanguage da .dk 269 AddLanguage nl .nl 270 AddLanguage en .en 271 AddLanguage et .ee 272 AddLanguage fr .fr 273 AddLanguage de .de 274 AddLanguage el .el 275 AddLanguage he .he 276 AddCharset ISO-8859-8 .iso8859-8 277 AddLanguage it .it 278 AddLanguage ja .ja 279 AddCharset ISO-2022-JP .jis 280 AddLanguage kr .kr 281 AddCharset ISO-2022-KR .iso-kr 282 AddLanguage nn .nn 283 AddLanguage no .no 284 AddLanguage pl .po 285 AddCharset ISO-8859-2 .iso-pl 286 AddLanguage pt .pt 287 AddLanguage pt-br .pt-br 288 AddLanguage ltz .lu 289 AddLanguage ca .ca 290 AddLanguage es .es 291 AddLanguage sv .sv 292 AddLanguage cz .cz 293 AddLanguage ru .ru 294 AddLanguage zh-tw .tw 295 AddLanguage tw .tw 296 AddCharset Big5 .Big5 .big5 297 AddCharset WINDOWS-1251 .cp-1251 298 AddCharset CP866 .cp866 299 AddCharset ISO-8859-5 .iso-ru 300 AddCharset KOI8-R .koi8-r 301 AddCharset UCS-2 .ucs2 302 AddCharset UCS-4 .ucs4 303 AddCharset UTF-8 .utf8 304 305 <IfModule mod_negotiation.c> 306 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw 307 </IfModule> 308 309 <IfModule mod_php3.c> 310 AddType application/x-httpd-php3 .php3 311 AddType application/x-httpd-php3-source .php3s 312 </IfModule> 313 <IfModule mod_php4.c> 314 AddType application/x-httpd-php .php 315 AddType application/x-httpd-php-source .phps 316 </IfModule> 317 318 AddType application/x-tar .tgz 319 AddType image/x-icon .ico 320 321 #AddHandler cgi-script .cgi 322 #AddType text/html .shtml 323 #AddHandler server-parsed .shtml 324 #AddHandler send-as-is asis 325 #AddHandler imap-file map 326 #AddHandler type-map var 327 328 </IfModule> 329 330 #Action media/type /cgi-script/location 331 #Action handler-name /cgi-script/location 332 333 # MetaDir: specifies the name of the directory in which Apache can find 334 # meta information files. These files contain additional HTTP headers 335 # to include when sending the document 336 #MetaDir .web 337 338 # MetaSuffix: specifies the file name suffix for the file containing the 339 # meta information. 340 #MetaSuffix .meta 341 342 #ErrorDocument 500 "The server made a boo boo. 343 #ErrorDocument 404 /missing.html 344 #ErrorDocument 404 /cgi-bin/missing_handler.pl 345 #ErrorDocument 402 http://some.other-server.com/subscription_info.html 346 347 <IfModule mod_setenvif.c> 348 BrowserMatch "Mozilla/2" nokeepalive 349 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 350 BrowserMatch "RealPlayer 4\.0" force-response-1.0 351 BrowserMatch "Java/1\.0" force-response-1.0 352 BrowserMatch "JDK/1\.0" force-response-1.0 353 </IfModule> 354 355 #<Location /server-status> 356 # SetHandler server-status 357 # Order deny,allow 358 # Deny from all 359 # Allow from .math.rochester.edu 360 #</Location> 361 362 #<Location /server-info> 363 # SetHandler server-info 364 # Order deny,allow 365 # Deny from all 366 # Allow from .math.rochester.edu 367 #</Location>
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |