Commit 0915e75f246cccbed6c49b02512245cfef6190d0
1 parent
1a43c617
Remove these neglected example configurations
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3905 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
4 changed files
with
0 additions
and
2347 deletions
etc/.htaccess deleted
etc/httpd.conf deleted
| 1 | -## | ||
| 2 | -## httpd.conf -- Apache HTTP server configuration file | ||
| 3 | -## | ||
| 4 | - | ||
| 5 | -# | ||
| 6 | -# Based upon the NCSA server configuration files originally by Rob McCool. | ||
| 7 | -# | ||
| 8 | -# This is the main Apache server configuration file. It contains the | ||
| 9 | -# configuration directives that give the server its instructions. | ||
| 10 | -# See <URL:http://www.apache.org/docs/> for detailed information about | ||
| 11 | -# the directives. | ||
| 12 | -# | ||
| 13 | -# Do NOT simply read the instructions in here without understanding | ||
| 14 | -# what they do. They're here only as hints or reminders. If you are unsure | ||
| 15 | -# consult the online docs. You have been warned. | ||
| 16 | -# | ||
| 17 | -# After this file is processed, the server will look for and process | ||
| 18 | -# /usr/local/conf/srm.conf and then /usr/local/conf/access.conf | ||
| 19 | -# unless you have overridden these with ResourceConfig and/or | ||
| 20 | -# AccessConfig directives here. | ||
| 21 | -# | ||
| 22 | -# The configuration directives are grouped into three basic sections: | ||
| 23 | -# 1. Directives that control the operation of the Apache server process as a | ||
| 24 | -# whole (the 'global environment'). | ||
| 25 | -# 2. Directives that define the parameters of the 'main' or 'default' server, | ||
| 26 | -# which responds to requests that aren't handled by a virtual host. | ||
| 27 | -# These directives also provide default values for the settings | ||
| 28 | -# of all virtual hosts. | ||
| 29 | -# 3. Settings for virtual hosts, which allow Web requests to be sent to | ||
| 30 | -# different IP addresses or hostnames and have them handled by the | ||
| 31 | -# same Apache server process. | ||
| 32 | -# | ||
| 33 | -# Configuration and logfile names: If the filenames you specify for many | ||
| 34 | -# of the server's control files begin with "/" (or "drive:/" for Win32), the | ||
| 35 | -# server will use that explicit path. If the filenames do *not* begin | ||
| 36 | -# with "/", the value of ServerRoot is prepended -- so "logs/foo.log" | ||
| 37 | -# with ServerRoot set to "/usr/local/apache" will be interpreted by the | ||
| 38 | -# server as "/usr/local/apache/logs/foo.log". | ||
| 39 | -# | ||
| 40 | - | ||
| 41 | -### Section 1: Global Environment | ||
| 42 | -# | ||
| 43 | -# The directives in this section affect the overall operation of Apache, | ||
| 44 | -# such as the number of concurrent requests it can handle or where it | ||
| 45 | -# can find its configuration files. | ||
| 46 | -# | ||
| 47 | - | ||
| 48 | -# | ||
| 49 | -# ServerType is either inetd, or standalone. Inetd mode is only supported on | ||
| 50 | -# Unix platforms. | ||
| 51 | -# | ||
| 52 | -ServerType standalone | ||
| 53 | - | ||
| 54 | -# | ||
| 55 | -# ServerRoot: The top of the directory tree under which the server's | ||
| 56 | -# configuration, error, and log files are kept. | ||
| 57 | -# | ||
| 58 | -# NOTE! If you intend to place this on an NFS (or otherwise network) | ||
| 59 | -# mounted filesystem then please read the LockFile documentation | ||
| 60 | -# (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>); | ||
| 61 | -# you will save yourself a lot of trouble. | ||
| 62 | -# | ||
| 63 | -ServerRoot "/usr/local" | ||
| 64 | - | ||
| 65 | -# | ||
| 66 | -# The LockFile directive sets the path to the lockfile used when Apache | ||
| 67 | -# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or | ||
| 68 | -# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at | ||
| 69 | -# its default value. The main reason for changing it is if the logs | ||
| 70 | -# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL | ||
| 71 | -# DISK. The PID of the main server process is automatically appended to | ||
| 72 | -# the filename. | ||
| 73 | -# | ||
| 74 | -#LockFile /var/run/httpd.lock | ||
| 75 | - | ||
| 76 | -# | ||
| 77 | -# PidFile: The file in which the server should record its process | ||
| 78 | -# identification number when it starts. | ||
| 79 | -# | ||
| 80 | -PidFile /var/run/httpd.pid | ||
| 81 | - | ||
| 82 | -# | ||
| 83 | -# ScoreBoardFile: File used to store internal server process information. | ||
| 84 | -# Not all architectures require this. But if yours does (you'll know because | ||
| 85 | -# this file will be created when you run Apache) then you *must* ensure that | ||
| 86 | -# no two invocations of Apache share the same scoreboard file. | ||
| 87 | -# | ||
| 88 | -ScoreBoardFile /var/run/httpd.scoreboard | ||
| 89 | - | ||
| 90 | -# | ||
| 91 | -# In the standard configuration, the server will process httpd.conf (this | ||
| 92 | -# file, specified by the -f command line option), srm.conf, and access.conf | ||
| 93 | -# in that order. The latter two files are now distributed empty, as it is | ||
| 94 | -# recommended that all directives be kept in a single file for simplicity. | ||
| 95 | -# The commented-out values below are the built-in defaults. You can have the | ||
| 96 | -# server ignore these files altogether by using "/dev/null" (for Unix) or | ||
| 97 | -# "nul" (for Win32) for the arguments to the directives. | ||
| 98 | -# | ||
| 99 | -ResourceConfig /dev/null | ||
| 100 | -AccessConfig /dev/null | ||
| 101 | - | ||
| 102 | -# | ||
| 103 | -# Timeout: The number of seconds before receives and sends time out. | ||
| 104 | -# | ||
| 105 | -Timeout 300 | ||
| 106 | - | ||
| 107 | -# | ||
| 108 | -# KeepAlive: Whether or not to allow persistent connections (more than | ||
| 109 | -# one request per connection). Set to "Off" to deactivate. | ||
| 110 | -# | ||
| 111 | -KeepAlive On | ||
| 112 | - | ||
| 113 | -# | ||
| 114 | -# MaxKeepAliveRequests: The maximum number of requests to allow | ||
| 115 | -# during a persistent connection. Set to 0 to allow an unlimited amount. | ||
| 116 | -# We recommend you leave this number high, for maximum performance. | ||
| 117 | -# | ||
| 118 | -MaxKeepAliveRequests 100 | ||
| 119 | - | ||
| 120 | -# | ||
| 121 | -# KeepAliveTimeout: Number of seconds to wait for the next request from the | ||
| 122 | -# same client on the same connection. | ||
| 123 | -# | ||
| 124 | -KeepAliveTimeout 15 | ||
| 125 | - | ||
| 126 | -# | ||
| 127 | -# Server-pool size regulation. Rather than making you guess how many | ||
| 128 | -# server processes you need, Apache dynamically adapts to the load it | ||
| 129 | -# sees --- that is, it tries to maintain enough server processes to | ||
| 130 | -# handle the current load, plus a few spare servers to handle transient | ||
| 131 | -# load spikes (e.g., multiple simultaneous requests from a single | ||
| 132 | -# Netscape browser). | ||
| 133 | -# | ||
| 134 | -# It does this by periodically checking how many servers are waiting | ||
| 135 | -# for a request. If there are fewer than MinSpareServers, it creates | ||
| 136 | -# a new spare. If there are more than MaxSpareServers, some of the | ||
| 137 | -# spares die off. The default values are probably OK for most sites. | ||
| 138 | -# | ||
| 139 | -MinSpareServers 100 | ||
| 140 | -MaxSpareServers 200 | ||
| 141 | - | ||
| 142 | -# | ||
| 143 | -# Number of servers to start initially --- should be a reasonable ballpark | ||
| 144 | -# figure. | ||
| 145 | -# | ||
| 146 | -StartServers 100 | ||
| 147 | - | ||
| 148 | -# | ||
| 149 | -# Limit on total number of servers running, i.e., limit on the number | ||
| 150 | -# of clients who can simultaneously connect --- if this limit is ever | ||
| 151 | -# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW. | ||
| 152 | -# It is intended mainly as a brake to keep a runaway server from taking | ||
| 153 | -# the system with it as it spirals down... | ||
| 154 | -# | ||
| 155 | -MaxClients 500 | ||
| 156 | - | ||
| 157 | -# | ||
| 158 | -# MaxRequestsPerChild: the number of requests each child process is | ||
| 159 | -# allowed to process before the child dies. The child will exit so | ||
| 160 | -# as to avoid problems after prolonged use when Apache (and maybe the | ||
| 161 | -# libraries it uses) leak memory or other resources. On most systems, this | ||
| 162 | -# isn't really needed, but a few (such as Solaris) do have notable leaks | ||
| 163 | -# in the libraries. For these platforms, set to something like 10000 | ||
| 164 | -# or so; a setting of 0 means unlimited. | ||
| 165 | -# | ||
| 166 | -# NOTE: This value does not include keepalive requests after the initial | ||
| 167 | -# request per connection. For example, if a child process handles | ||
| 168 | -# an initial request and 10 subsequent "keptalive" requests, it | ||
| 169 | -# would only count as 1 request towards this limit. | ||
| 170 | -# | ||
| 171 | -MaxRequestsPerChild 10 | ||
| 172 | - | ||
| 173 | -# | ||
| 174 | -# Listen: Allows you to bind Apache to specific IP addresses and/or | ||
| 175 | -# ports, in addition to the default. See also the <VirtualHost> | ||
| 176 | -# directive. | ||
| 177 | -# | ||
| 178 | -#Listen 3000 | ||
| 179 | -#Listen 12.34.56.78:80 | ||
| 180 | - | ||
| 181 | -# | ||
| 182 | -# BindAddress: You can support virtual hosts with this option. This directive | ||
| 183 | -# is used to tell the server which IP address to listen to. It can either | ||
| 184 | -# contain "*", an IP address, or a fully qualified Internet domain name. | ||
| 185 | -# See also the <VirtualHost> and Listen directives. | ||
| 186 | -# | ||
| 187 | -#BindAddress * | ||
| 188 | - | ||
| 189 | -# | ||
| 190 | -# Dynamic Shared Object (DSO) Support | ||
| 191 | -# | ||
| 192 | -# To be able to use the functionality of a module which was built as a DSO you | ||
| 193 | -# have to place corresponding `LoadModule' lines at this location so the | ||
| 194 | -# directives contained in it are actually available _before_ they are used. | ||
| 195 | -# Please read the file http://httpd.apache.org/docs/dso.html for more | ||
| 196 | -# details about the DSO mechanism and run `httpd -l' for the list of already | ||
| 197 | -# built-in (statically linked and thus always available) modules in your httpd | ||
| 198 | -# binary. | ||
| 199 | -# | ||
| 200 | -# Note: The order in which modules are loaded is important. Don't change | ||
| 201 | -# the order below without expert advice. | ||
| 202 | -# | ||
| 203 | -# Example: | ||
| 204 | -# LoadModule foo_module libexec/mod_foo.so | ||
| 205 | -LoadModule mmap_static_module libexec/apache/mod_mmap_static.so | ||
| 206 | -LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so | ||
| 207 | -LoadModule env_module libexec/apache/mod_env.so | ||
| 208 | -LoadModule define_module libexec/apache/mod_define.so | ||
| 209 | -LoadModule config_log_module libexec/apache/mod_log_config.so | ||
| 210 | -LoadModule mime_magic_module libexec/apache/mod_mime_magic.so | ||
| 211 | -LoadModule mime_module libexec/apache/mod_mime.so | ||
| 212 | -LoadModule negotiation_module libexec/apache/mod_negotiation.so | ||
| 213 | -LoadModule status_module libexec/apache/mod_status.so | ||
| 214 | -LoadModule info_module libexec/apache/mod_info.so | ||
| 215 | -LoadModule includes_module libexec/apache/mod_include.so | ||
| 216 | -LoadModule autoindex_module libexec/apache/mod_autoindex.so | ||
| 217 | -LoadModule dir_module libexec/apache/mod_dir.so | ||
| 218 | -LoadModule cgi_module libexec/apache/mod_cgi.so | ||
| 219 | -LoadModule asis_module libexec/apache/mod_asis.so | ||
| 220 | -LoadModule imap_module libexec/apache/mod_imap.so | ||
| 221 | -LoadModule action_module libexec/apache/mod_actions.so | ||
| 222 | -LoadModule speling_module libexec/apache/mod_speling.so | ||
| 223 | -LoadModule userdir_module libexec/apache/mod_userdir.so | ||
| 224 | -LoadModule alias_module libexec/apache/mod_alias.so | ||
| 225 | -LoadModule rewrite_module libexec/apache/mod_rewrite.so | ||
| 226 | -LoadModule access_module libexec/apache/mod_access.so | ||
| 227 | -LoadModule auth_module libexec/apache/mod_auth.so | ||
| 228 | -LoadModule anon_auth_module libexec/apache/mod_auth_anon.so | ||
| 229 | -LoadModule db_auth_module libexec/apache/mod_auth_db.so | ||
| 230 | -LoadModule digest_module libexec/apache/mod_digest.so | ||
| 231 | -LoadModule proxy_module libexec/apache/libproxy.so | ||
| 232 | -LoadModule cern_meta_module libexec/apache/mod_cern_meta.so | ||
| 233 | -LoadModule expires_module libexec/apache/mod_expires.so | ||
| 234 | -LoadModule headers_module libexec/apache/mod_headers.so | ||
| 235 | -LoadModule usertrack_module libexec/apache/mod_usertrack.so | ||
| 236 | -LoadModule unique_id_module libexec/apache/mod_unique_id.so | ||
| 237 | -LoadModule setenvif_module libexec/apache/mod_setenvif.so | ||
| 238 | -<IfDefine SSL> | ||
| 239 | -LoadModule ssl_module libexec/apache/libssl.so | ||
| 240 | -LoadModule php4_module libexec/apache/libphp4.so | ||
| 241 | -</IfDefine> | ||
| 242 | - | ||
| 243 | -# Reconstruction of the complete module list from all available modules | ||
| 244 | -# (static and shared ones) to achieve correct module execution order. | ||
| 245 | -# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO] | ||
| 246 | -ClearModuleList | ||
| 247 | -AddModule mod_mmap_static.c | ||
| 248 | -AddModule mod_vhost_alias.c | ||
| 249 | -AddModule mod_env.c | ||
| 250 | -AddModule mod_define.c | ||
| 251 | -AddModule mod_log_config.c | ||
| 252 | -AddModule mod_mime_magic.c | ||
| 253 | -AddModule mod_mime.c | ||
| 254 | -AddModule mod_negotiation.c | ||
| 255 | -AddModule mod_status.c | ||
| 256 | -AddModule mod_info.c | ||
| 257 | -AddModule mod_include.c | ||
| 258 | -AddModule mod_autoindex.c | ||
| 259 | -AddModule mod_dir.c | ||
| 260 | -AddModule mod_cgi.c | ||
| 261 | -AddModule mod_asis.c | ||
| 262 | -AddModule mod_imap.c | ||
| 263 | -AddModule mod_actions.c | ||
| 264 | -AddModule mod_speling.c | ||
| 265 | -AddModule mod_userdir.c | ||
| 266 | -AddModule mod_alias.c | ||
| 267 | -AddModule mod_rewrite.c | ||
| 268 | -AddModule mod_access.c | ||
| 269 | -AddModule mod_auth.c | ||
| 270 | -AddModule mod_auth_anon.c | ||
| 271 | -AddModule mod_auth_db.c | ||
| 272 | -AddModule mod_digest.c | ||
| 273 | -AddModule mod_proxy.c | ||
| 274 | -AddModule mod_cern_meta.c | ||
| 275 | -AddModule mod_expires.c | ||
| 276 | -AddModule mod_headers.c | ||
| 277 | -AddModule mod_usertrack.c | ||
| 278 | -AddModule mod_unique_id.c | ||
| 279 | -AddModule mod_so.c | ||
| 280 | -AddModule mod_setenvif.c | ||
| 281 | -<IfDefine SSL> | ||
| 282 | -AddModule mod_ssl.c | ||
| 283 | -AddModule mod_php4.c | ||
| 284 | -</IfDefine> | ||
| 285 | - | ||
| 286 | -# | ||
| 287 | -# ExtendedStatus controls whether Apache will generate "full" status | ||
| 288 | -# information (ExtendedStatus On) or just basic information (ExtendedStatus | ||
| 289 | -# Off) when the "server-status" handler is called. The default is Off. | ||
| 290 | -# | ||
| 291 | -#ExtendedStatus On | ||
| 292 | - | ||
| 293 | -### Section 2: 'Main' server configuration | ||
| 294 | -# | ||
| 295 | -# The directives in this section set up the values used by the 'main' | ||
| 296 | -# server, which responds to any requests that aren't handled by a | ||
| 297 | -# <VirtualHost> definition. These values also provide defaults for | ||
| 298 | -# any <VirtualHost> containers you may define later in the file. | ||
| 299 | -# | ||
| 300 | -# All of these directives may appear inside <VirtualHost> containers, | ||
| 301 | -# in which case these default settings will be overridden for the | ||
| 302 | -# virtual host being defined. | ||
| 303 | -# | ||
| 304 | - | ||
| 305 | -# | ||
| 306 | -# If your ServerType directive (set earlier in the 'Global Environment' | ||
| 307 | -# section) is set to "inetd", the next few directives don't have any | ||
| 308 | -# effect since their settings are defined by the inetd configuration. | ||
| 309 | -# Skip ahead to the ServerAdmin directive. | ||
| 310 | -# | ||
| 311 | - | ||
| 312 | -# | ||
| 313 | -# Port: The port to which the standalone server listens. For | ||
| 314 | -# ports < 1023, you will need httpd to be run as root initially. | ||
| 315 | -# | ||
| 316 | -Port 80 | ||
| 317 | - | ||
| 318 | -## | ||
| 319 | -## SSL Support | ||
| 320 | -## | ||
| 321 | -## When we also provide SSL we have to listen to the | ||
| 322 | -## standard HTTP port (see above) and to the HTTPS port | ||
| 323 | -## | ||
| 324 | -<IfDefine SSL> | ||
| 325 | -Listen 80 | ||
| 326 | -Listen 443 | ||
| 327 | -</IfDefine> | ||
| 328 | - | ||
| 329 | -# | ||
| 330 | -# If you wish httpd to run as a different user or group, you must run | ||
| 331 | -# httpd as root initially and it will switch. | ||
| 332 | -# | ||
| 333 | -# User/Group: The name (or #number) of the user/group to run httpd as. | ||
| 334 | -# . On SCO (ODT 3) use "User nouser" and "Group nogroup". | ||
| 335 | -# . On HPUX you may not be able to use shared memory as nobody, and the | ||
| 336 | -# suggested workaround is to create a user www and use that user. | ||
| 337 | -# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) | ||
| 338 | -# when the value of (unsigned)Group is above 60000; | ||
| 339 | -# don't use Group www on these systems! | ||
| 340 | -# | ||
| 341 | -User www | ||
| 342 | -Group www | ||
| 343 | - | ||
| 344 | -# | ||
| 345 | -# ServerAdmin: Your address, where problems with the server should be | ||
| 346 | -# e-mailed. This address appears on some server-generated pages, such | ||
| 347 | -# as error documents. | ||
| 348 | -# | ||
| 349 | -ServerAdmin you@your.address | ||
| 350 | - | ||
| 351 | -# | ||
| 352 | -# ServerName allows you to set a host name which is sent back to clients for | ||
| 353 | -# your server if it's different than the one the program would get (i.e., use | ||
| 354 | -# "www" instead of the host's real name). | ||
| 355 | -# | ||
| 356 | -# Note: You cannot just invent host names and hope they work. The name you | ||
| 357 | -# define here must be a valid DNS name for your host. If you don't understand | ||
| 358 | -# this, ask your network administrator. | ||
| 359 | -# If your host doesn't have a registered DNS name, enter its IP address here. | ||
| 360 | -# You will have to access it by its address (e.g., http://123.45.67.89/) | ||
| 361 | -# anyway, and this will make redirections work in a sensible way. | ||
| 362 | -# | ||
| 363 | -# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your | ||
| 364 | -# machine always knows itself by this address. If you use Apache strictly for | ||
| 365 | -# local testing and development, you may use 127.0.0.1 as the server name. | ||
| 366 | -# | ||
| 367 | -#ServerName new.host.name | ||
| 368 | - | ||
| 369 | -# | ||
| 370 | -# DocumentRoot: The directory out of which you will serve your | ||
| 371 | -# documents. By default, all requests are taken from this directory, but | ||
| 372 | -# symbolic links and aliases may be used to point to other locations. | ||
| 373 | -# | ||
| 374 | -DocumentRoot "/usr/local/www/data" | ||
| 375 | - | ||
| 376 | -# | ||
| 377 | -# Each directory to which Apache has access, can be configured with respect | ||
| 378 | -# to which services and features are allowed and/or disabled in that | ||
| 379 | -# directory (and its subdirectories). | ||
| 380 | -# | ||
| 381 | -# First, we configure the "default" to be a very restrictive set of | ||
| 382 | -# permissions. | ||
| 383 | -# | ||
| 384 | -<Directory /> | ||
| 385 | - Options FollowSymLinks | ||
| 386 | - AllowOverride None | ||
| 387 | -</Directory> | ||
| 388 | - | ||
| 389 | -# | ||
| 390 | -# Note that from this point forward you must specifically allow | ||
| 391 | -# particular features to be enabled - so if something's not working as | ||
| 392 | -# you might expect, make sure that you have specifically enabled it | ||
| 393 | -# below. | ||
| 394 | -# | ||
| 395 | - | ||
| 396 | -# | ||
| 397 | -# This should be changed to whatever you set DocumentRoot to. | ||
| 398 | -# | ||
| 399 | -<Directory "/usr/local/www/data"> | ||
| 400 | - | ||
| 401 | -# | ||
| 402 | -# This may also be "None", "All", or any combination of "Indexes", | ||
| 403 | -# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". | ||
| 404 | -# | ||
| 405 | -# Note that "MultiViews" must be named *explicitly* --- "Options All" | ||
| 406 | -# doesn't give it to you. | ||
| 407 | -# | ||
| 408 | - Options Indexes FollowSymLinks MultiViews | ||
| 409 | - | ||
| 410 | -# | ||
| 411 | -# This controls which options the .htaccess files in directories can | ||
| 412 | -# override. Can also be "All", or any combination of "Options", "FileInfo", | ||
| 413 | -# "AuthConfig", and "Limit" | ||
| 414 | -# | ||
| 415 | - AllowOverride None | ||
| 416 | - | ||
| 417 | -# | ||
| 418 | -# Controls who can get stuff from this server. | ||
| 419 | -# | ||
| 420 | - Order allow,deny | ||
| 421 | - Allow from all | ||
| 422 | -</Directory> | ||
| 423 | - | ||
| 424 | -# | ||
| 425 | -# UserDir: The name of the directory which is appended onto a user's home | ||
| 426 | -# directory if a ~user request is received. | ||
| 427 | -# | ||
| 428 | -<IfModule mod_userdir.c> | ||
| 429 | - UserDir public_html | ||
| 430 | -</IfModule> | ||
| 431 | - | ||
| 432 | -# | ||
| 433 | -# Control access to UserDir directories. The following is an example | ||
| 434 | -# for a site where these directories are restricted to read-only. | ||
| 435 | -# | ||
| 436 | -#<Directory /home/*/public_html> | ||
| 437 | -# AllowOverride FileInfo AuthConfig Limit | ||
| 438 | -# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec | ||
| 439 | -# <Limit GET POST OPTIONS PROPFIND> | ||
| 440 | -# Order allow,deny | ||
| 441 | -# Allow from all | ||
| 442 | -# </Limit> | ||
| 443 | -# <LimitExcept GET POST OPTIONS PROPFIND> | ||
| 444 | -# Order deny,allow | ||
| 445 | -# Deny from all | ||
| 446 | -# </LimitExcept> | ||
| 447 | -#</Directory> | ||
| 448 | - | ||
| 449 | -# | ||
| 450 | -# DirectoryIndex: Name of the file or files to use as a pre-written HTML | ||
| 451 | -# directory index. Separate multiple entries with spaces. | ||
| 452 | -# | ||
| 453 | -<IfModule mod_dir.c> | ||
| 454 | - <IfModule mod_php3.c> | ||
| 455 | - <IfModule mod_php4.c> | ||
| 456 | - DirectoryIndex index.php index.php3 index.html | ||
| 457 | - </IfModule> | ||
| 458 | - <IfModule !mod_php4.c> | ||
| 459 | - DirectoryIndex index.php3 index.html | ||
| 460 | - </IfModule> | ||
| 461 | - </IfModule> | ||
| 462 | - <IfModule !mod_php3.c> | ||
| 463 | - <IfModule mod_php4.c> | ||
| 464 | - DirectoryIndex index.php index.html | ||
| 465 | - </IfModule> | ||
| 466 | - <IfModule !mod_php4.c> | ||
| 467 | - DirectoryIndex index.html | ||
| 468 | - </IfModule> | ||
| 469 | - </IfModule> | ||
| 470 | -</IfModule> | ||
| 471 | - | ||
| 472 | -# | ||
| 473 | -# AccessFileName: The name of the file to look for in each directory | ||
| 474 | -# for access control information. | ||
| 475 | -# | ||
| 476 | -AccessFileName .htaccess | ||
| 477 | - | ||
| 478 | -# | ||
| 479 | -# The following lines prevent .htaccess files from being viewed by | ||
| 480 | -# Web clients. Since .htaccess files often contain authorization | ||
| 481 | -# information, access is disallowed for security reasons. Comment | ||
| 482 | -# these lines out if you want Web visitors to see the contents of | ||
| 483 | -# .htaccess files. If you change the AccessFileName directive above, | ||
| 484 | -# be sure to make the corresponding changes here. | ||
| 485 | -# | ||
| 486 | -# Also, folks tend to use names such as .htpasswd for password | ||
| 487 | -# files, so this will protect those as well. | ||
| 488 | -# | ||
| 489 | -<Files ~ "^\.ht"> | ||
| 490 | - Order allow,deny | ||
| 491 | - Deny from all | ||
| 492 | - Satisfy All | ||
| 493 | -</Files> | ||
| 494 | - | ||
| 495 | -# | ||
| 496 | -# CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each | ||
| 497 | -# document that was negotiated on the basis of content. This asks proxy | ||
| 498 | -# servers not to cache the document. Uncommenting the following line disables | ||
| 499 | -# this behavior, and proxies will be allowed to cache the documents. | ||
| 500 | -# | ||
| 501 | -#CacheNegotiatedDocs | ||
| 502 | - | ||
| 503 | -# | ||
| 504 | -# UseCanonicalName: (new for 1.3) With this setting turned on, whenever | ||
| 505 | -# Apache needs to construct a self-referencing URL (a URL that refers back | ||
| 506 | -# to the server the response is coming from) it will use ServerName and | ||
| 507 | -# Port to form a "canonical" name. With this setting off, Apache will | ||
| 508 | -# use the hostname:port that the client supplied, when possible. This | ||
| 509 | -# also affects SERVER_NAME and SERVER_PORT in CGI scripts. | ||
| 510 | -# | ||
| 511 | -UseCanonicalName On | ||
| 512 | - | ||
| 513 | -# | ||
| 514 | -# TypesConfig describes where the mime.types file (or equivalent) is | ||
| 515 | -# to be found. | ||
| 516 | -# | ||
| 517 | -<IfModule mod_mime.c> | ||
| 518 | - TypesConfig /usr/local/etc/apache/mime.types | ||
| 519 | -</IfModule> | ||
| 520 | - | ||
| 521 | -# | ||
| 522 | -# DefaultType is the default MIME type the server will use for a document | ||
| 523 | -# if it cannot otherwise determine one, such as from filename extensions. | ||
| 524 | -# If your server contains mostly text or HTML documents, "text/plain" is | ||
| 525 | -# a good value. If most of your content is binary, such as applications | ||
| 526 | -# or images, you may want to use "application/octet-stream" instead to | ||
| 527 | -# keep browsers from trying to display binary files as though they are | ||
| 528 | -# text. | ||
| 529 | -# | ||
| 530 | -DefaultType text/plain | ||
| 531 | - | ||
| 532 | -# | ||
| 533 | -# The mod_mime_magic module allows the server to use various hints from the | ||
| 534 | -# contents of the file itself to determine its type. The MIMEMagicFile | ||
| 535 | -# directive tells the module where the hint definitions are located. | ||
| 536 | -# mod_mime_magic is not part of the default server (you have to add | ||
| 537 | -# it yourself with a LoadModule [see the DSO paragraph in the 'Global | ||
| 538 | -# Environment' section], or recompile the server and include mod_mime_magic | ||
| 539 | -# as part of the configuration), so it's enclosed in an <IfModule> container. | ||
| 540 | -# This means that the MIMEMagicFile directive will only be processed if the | ||
| 541 | -# module is part of the server. | ||
| 542 | -# | ||
| 543 | -<IfModule mod_mime_magic.c> | ||
| 544 | - MIMEMagicFile /usr/local/etc/apache/magic | ||
| 545 | -</IfModule> | ||
| 546 | - | ||
| 547 | -# | ||
| 548 | -# HostnameLookups: Log the names of clients or just their IP addresses | ||
| 549 | -# e.g., www.apache.org (on) or 204.62.129.132 (off). | ||
| 550 | -# The default is off because it'd be overall better for the net if people | ||
| 551 | -# had to knowingly turn this feature on, since enabling it means that | ||
| 552 | -# each client request will result in AT LEAST one lookup request to the | ||
| 553 | -# nameserver. | ||
| 554 | -# | ||
| 555 | -HostnameLookups Off | ||
| 556 | - | ||
| 557 | -# | ||
| 558 | -# ErrorLog: The location of the error log file. | ||
| 559 | -# If you do not specify an ErrorLog directive within a <VirtualHost> | ||
| 560 | -# container, error messages relating to that virtual host will be | ||
| 561 | -# logged here. If you *do* define an error logfile for a <VirtualHost> | ||
| 562 | -# container, that host's errors will be logged there and not here. | ||
| 563 | -# | ||
| 564 | -ErrorLog /var/log/httpd-error.log | ||
| 565 | - | ||
| 566 | -# | ||
| 567 | -# LogLevel: Control the number of messages logged to the error_log. | ||
| 568 | -# Possible values include: debug, info, notice, warn, error, crit, | ||
| 569 | -# alert, emerg. | ||
| 570 | -# | ||
| 571 | -LogLevel warn | ||
| 572 | - | ||
| 573 | -# | ||
| 574 | -# The following directives define some format nicknames for use with | ||
| 575 | -# a CustomLog directive (see below). | ||
| 576 | -# | ||
| 577 | -LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined | ||
| 578 | -LogFormat "%h %l %u %t \"%r\" %>s %b" common | ||
| 579 | -LogFormat "%{Referer}i -> %U" referer | ||
| 580 | -LogFormat "%{User-agent}i" agent | ||
| 581 | - | ||
| 582 | -# | ||
| 583 | -# The location and format of the access logfile (Common Logfile Format). | ||
| 584 | -# If you do not define any access logfiles within a <VirtualHost> | ||
| 585 | -# container, they will be logged here. Contrariwise, if you *do* | ||
| 586 | -# define per-<VirtualHost> access logfiles, transactions will be | ||
| 587 | -# logged therein and *not* in this file. | ||
| 588 | -# | ||
| 589 | -#CustomLog /var/log/httpd-access.log common | ||
| 590 | - | ||
| 591 | -# | ||
| 592 | -# If you would like to have agent and referer logfiles, uncomment the | ||
| 593 | -# following directives. | ||
| 594 | -# | ||
| 595 | -#CustomLog /var/log/httpd-referer.log referer | ||
| 596 | -#CustomLog /var/log/httpd-agent.log agent | ||
| 597 | - | ||
| 598 | -# | ||
| 599 | -# If you prefer a single logfile with access, agent, and referer information | ||
| 600 | -# (Combined Logfile Format) you can use the following directive. | ||
| 601 | -# | ||
| 602 | -CustomLog /var/log/httpd-access.log combined | ||
| 603 | - | ||
| 604 | -# | ||
| 605 | -# Optionally add a line containing the server version and virtual host | ||
| 606 | -# name to server-generated pages (error documents, FTP directory listings, | ||
| 607 | -# mod_status and mod_info output etc., but not CGI generated documents). | ||
| 608 | -# Set to "EMail" to also include a mailto: link to the ServerAdmin. | ||
| 609 | -# Set to one of: On | Off | EMail | ||
| 610 | -# | ||
| 611 | -ServerSignature On | ||
| 612 | - | ||
| 613 | -# EBCDIC configuration: | ||
| 614 | -# (only for mainframes using the EBCDIC codeset, currently one of: | ||
| 615 | -# Fujitsu-Siemens' BS2000/OSD, IBM's OS/390 and IBM's TPF)!! | ||
| 616 | -# The following default configuration assumes that "text files" | ||
| 617 | -# are stored in EBCDIC (so that you can operate on them using the | ||
| 618 | -# normal POSIX tools like grep and sort) while "binary files" are | ||
| 619 | -# stored with identical octets as on an ASCII machine. | ||
| 620 | -# | ||
| 621 | -# The directives are evaluated in configuration file order, with | ||
| 622 | -# the EBCDICConvert directives applied before EBCDICConvertByType. | ||
| 623 | -# | ||
| 624 | -# If you want to have ASCII HTML documents and EBCDIC HTML documents | ||
| 625 | -# at the same time, you can use the file extension to force | ||
| 626 | -# conversion off for the ASCII documents: | ||
| 627 | -# > AddType text/html .ahtml | ||
| 628 | -# > EBCDICConvert Off=InOut .ahtml | ||
| 629 | -# | ||
| 630 | -# EBCDICConvertByType On=InOut text/* message/* multipart/* | ||
| 631 | -# EBCDICConvertByType On=In application/x-www-form-urlencoded | ||
| 632 | -# EBCDICConvertByType On=InOut application/postscript model/vrml | ||
| 633 | -# EBCDICConvertByType Off=InOut */* | ||
| 634 | - | ||
| 635 | - | ||
| 636 | -# | ||
| 637 | -# Aliases: Add here as many aliases as you need (with no limit). The format is | ||
| 638 | -# Alias fakename realname | ||
| 639 | -# | ||
| 640 | -<IfModule mod_alias.c> | ||
| 641 | - | ||
| 642 | - # | ||
| 643 | - # Note that if you include a trailing / on fakename then the server will | ||
| 644 | - # require it to be present in the URL. So "/icons" isn't aliased in this | ||
| 645 | - # example, only "/icons/". If the fakename is slash-terminated, then the | ||
| 646 | - # realname must also be slash terminated, and if the fakename omits the | ||
| 647 | - # trailing slash, the realname must also omit it. | ||
| 648 | - # | ||
| 649 | - Alias /icons/ "/usr/local/www/icons/" | ||
| 650 | - | ||
| 651 | - <Directory "/usr/local/www/icons"> | ||
| 652 | - Options Indexes MultiViews | ||
| 653 | - AllowOverride None | ||
| 654 | - Order allow,deny | ||
| 655 | - Allow from all | ||
| 656 | - </Directory> | ||
| 657 | - | ||
| 658 | - # This Alias will project the on-line documentation tree under /manual/ | ||
| 659 | - # even if you change the DocumentRoot. Comment it if you don't want to | ||
| 660 | - # provide access to the on-line documentation. | ||
| 661 | - # | ||
| 662 | - Alias /manual/ "/usr/local/share/doc/apache/" | ||
| 663 | - | ||
| 664 | - <Directory "/usr/local/share/doc/apache"> | ||
| 665 | - Options Indexes FollowSymlinks MultiViews | ||
| 666 | - AllowOverride None | ||
| 667 | - Order allow,deny | ||
| 668 | - Allow from all | ||
| 669 | - </Directory> | ||
| 670 | - | ||
| 671 | - # | ||
| 672 | - # ScriptAlias: This controls which directories contain server scripts. | ||
| 673 | - # ScriptAliases are essentially the same as Aliases, except that | ||
| 674 | - # documents in the realname directory are treated as applications and | ||
| 675 | - # run by the server when requested rather than as documents sent to the client. | ||
| 676 | - # The same rules about trailing "/" apply to ScriptAlias directives as to | ||
| 677 | - # Alias. | ||
| 678 | - # | ||
| 679 | - ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" | ||
| 680 | - | ||
| 681 | - # | ||
| 682 | - # "/usr/local/www/cgi-bin" should be changed to whatever your ScriptAliased | ||
| 683 | - # CGI directory exists, if you have that configured. | ||
| 684 | - # | ||
| 685 | - <Directory "/usr/local/www/cgi-bin"> | ||
| 686 | - AllowOverride None | ||
| 687 | - Options None | ||
| 688 | - Order allow,deny | ||
| 689 | - Allow from all | ||
| 690 | - </Directory> | ||
| 691 | - | ||
| 692 | -</IfModule> | ||
| 693 | -# End of aliases. | ||
| 694 | - | ||
| 695 | -# | ||
| 696 | -# Redirect allows you to tell clients about documents which used to exist in | ||
| 697 | -# your server's namespace, but do not anymore. This allows you to tell the | ||
| 698 | -# clients where to look for the relocated document. | ||
| 699 | -# Format: Redirect old-URI new-URL | ||
| 700 | -# | ||
| 701 | - | ||
| 702 | -# | ||
| 703 | -# Directives controlling the display of server-generated directory listings. | ||
| 704 | -# | ||
| 705 | -<IfModule mod_autoindex.c> | ||
| 706 | - | ||
| 707 | - # | ||
| 708 | - # FancyIndexing is whether you want fancy directory indexing or standard | ||
| 709 | - # | ||
| 710 | - IndexOptions FancyIndexing | ||
| 711 | - | ||
| 712 | - # | ||
| 713 | - # AddIcon* directives tell the server which icon to show for different | ||
| 714 | - # files or filename extensions. These are only displayed for | ||
| 715 | - # FancyIndexed directories. | ||
| 716 | - # | ||
| 717 | - AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip | ||
| 718 | - | ||
| 719 | - AddIconByType (TXT,/icons/text.gif) text/* | ||
| 720 | - AddIconByType (IMG,/icons/image2.gif) image/* | ||
| 721 | - AddIconByType (SND,/icons/sound2.gif) audio/* | ||
| 722 | - AddIconByType (VID,/icons/movie.gif) video/* | ||
| 723 | - | ||
| 724 | - AddIcon /icons/binary.gif .bin .exe | ||
| 725 | - AddIcon /icons/binhex.gif .hqx | ||
| 726 | - AddIcon /icons/tar.gif .tar | ||
| 727 | - AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv | ||
| 728 | - AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip | ||
| 729 | - AddIcon /icons/a.gif .ps .ai .eps | ||
| 730 | - AddIcon /icons/layout.gif .html .shtml .htm .pdf | ||
| 731 | - AddIcon /icons/text.gif .txt | ||
| 732 | - AddIcon /icons/c.gif .c | ||
| 733 | - AddIcon /icons/p.gif .pl .py | ||
| 734 | - AddIcon /icons/f.gif .for | ||
| 735 | - AddIcon /icons/dvi.gif .dvi | ||
| 736 | - AddIcon /icons/uuencoded.gif .uu | ||
| 737 | - AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl | ||
| 738 | - AddIcon /icons/tex.gif .tex | ||
| 739 | - AddIcon /icons/bomb.gif core | ||
| 740 | - | ||
| 741 | - AddIcon /icons/back.gif .. | ||
| 742 | - AddIcon /icons/hand.right.gif README | ||
| 743 | - AddIcon /icons/folder.gif ^^DIRECTORY^^ | ||
| 744 | - AddIcon /icons/blank.gif ^^BLANKICON^^ | ||
| 745 | - | ||
| 746 | - # | ||
| 747 | - # DefaultIcon is which icon to show for files which do not have an icon | ||
| 748 | - # explicitly set. | ||
| 749 | - # | ||
| 750 | - DefaultIcon /icons/unknown.gif | ||
| 751 | - | ||
| 752 | - # | ||
| 753 | - # AddDescription allows you to place a short description after a file in | ||
| 754 | - # server-generated indexes. These are only displayed for FancyIndexed | ||
| 755 | - # directories. | ||
| 756 | - # Format: AddDescription "description" filename | ||
| 757 | - # | ||
| 758 | - #AddDescription "GZIP compressed document" .gz | ||
| 759 | - #AddDescription "tar archive" .tar | ||
| 760 | - #AddDescription "GZIP compressed tar archive" .tgz | ||
| 761 | - | ||
| 762 | - # | ||
| 763 | - # ReadmeName is the name of the README file the server will look for by | ||
| 764 | - # default, and append to directory listings. | ||
| 765 | - # | ||
| 766 | - # HeaderName is the name of a file which should be prepended to | ||
| 767 | - # directory indexes. | ||
| 768 | - # | ||
| 769 | - # If MultiViews are amongst the Options in effect, the server will | ||
| 770 | - # first look for name.html and include it if found. If name.html | ||
| 771 | - # doesn't exist, the server will then look for name.txt and include | ||
| 772 | - # it as plaintext if found. | ||
| 773 | - # | ||
| 774 | - ReadmeName README | ||
| 775 | - HeaderName HEADER | ||
| 776 | - | ||
| 777 | - # | ||
| 778 | - # IndexIgnore is a set of filenames which directory indexing should ignore | ||
| 779 | - # and not include in the listing. Shell-style wildcarding is permitted. | ||
| 780 | - # | ||
| 781 | - IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t | ||
| 782 | - | ||
| 783 | -</IfModule> | ||
| 784 | -# End of indexing directives. | ||
| 785 | - | ||
| 786 | -# | ||
| 787 | -# Document types. | ||
| 788 | -# | ||
| 789 | -<IfModule mod_mime.c> | ||
| 790 | - | ||
| 791 | - # | ||
| 792 | - # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress | ||
| 793 | - # information on the fly. Note: Not all browsers support this. | ||
| 794 | - # Despite the name similarity, the following Add* directives have nothing | ||
| 795 | - # to do with the FancyIndexing customization directives above. | ||
| 796 | - # | ||
| 797 | - AddEncoding x-compress Z | ||
| 798 | - AddEncoding x-gzip gz tgz | ||
| 799 | - | ||
| 800 | - # | ||
| 801 | - # AddLanguage allows you to specify the language of a document. You can | ||
| 802 | - # then use content negotiation to give a browser a file in a language | ||
| 803 | - # it can understand. | ||
| 804 | - # | ||
| 805 | - # Note 1: The suffix does not have to be the same as the language | ||
| 806 | - # keyword --- those with documents in Polish (whose net-standard | ||
| 807 | - # language code is pl) may wish to use "AddLanguage pl .po" to | ||
| 808 | - # avoid the ambiguity with the common suffix for perl scripts. | ||
| 809 | - # | ||
| 810 | - # Note 2: The example entries below illustrate that in quite | ||
| 811 | - # some cases the two character 'Language' abbreviation is not | ||
| 812 | - # identical to the two character 'Country' code for its country, | ||
| 813 | - # E.g. 'Danmark/dk' versus 'Danish/da'. | ||
| 814 | - # | ||
| 815 | - # Note 3: In the case of 'ltz' we violate the RFC by using a three char | ||
| 816 | - # specifier. But there is 'work in progress' to fix this and get | ||
| 817 | - # the reference data for rfc1766 cleaned up. | ||
| 818 | - # | ||
| 819 | - # Danish (da) - Dutch (nl) - English (en) - Estonian (ee) | ||
| 820 | - # French (fr) - German (de) - Greek-Modern (el) | ||
| 821 | - # Italian (it) - Korean (kr) - Norwegian (no) - Norwegian Nynorsk (nn) | ||
| 822 | - # Portugese (pt) - Luxembourgeois* (ltz) | ||
| 823 | - # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz) | ||
| 824 | - # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja) | ||
| 825 | - # Russian (ru) | ||
| 826 | - # | ||
| 827 | - AddLanguage da .dk | ||
| 828 | - AddLanguage nl .nl | ||
| 829 | - AddLanguage en .en | ||
| 830 | - AddLanguage et .ee | ||
| 831 | - AddLanguage fr .fr | ||
| 832 | - AddLanguage de .de | ||
| 833 | - AddLanguage el .el | ||
| 834 | - AddLanguage he .he | ||
| 835 | - AddCharset ISO-8859-8 .iso8859-8 | ||
| 836 | - AddLanguage it .it | ||
| 837 | - AddLanguage ja .ja | ||
| 838 | - AddCharset ISO-2022-JP .jis | ||
| 839 | - AddLanguage kr .kr | ||
| 840 | - AddCharset ISO-2022-KR .iso-kr | ||
| 841 | - AddLanguage nn .nn | ||
| 842 | - AddLanguage no .no | ||
| 843 | - AddLanguage pl .po | ||
| 844 | - AddCharset ISO-8859-2 .iso-pl | ||
| 845 | - AddLanguage pt .pt | ||
| 846 | - AddLanguage pt-br .pt-br | ||
| 847 | - AddLanguage ltz .lu | ||
| 848 | - AddLanguage ca .ca | ||
| 849 | - AddLanguage es .es | ||
| 850 | - AddLanguage sv .sv | ||
| 851 | - AddLanguage cz .cz | ||
| 852 | - AddLanguage ru .ru | ||
| 853 | - AddLanguage zh-tw .tw | ||
| 854 | - AddLanguage tw .tw | ||
| 855 | - AddCharset Big5 .Big5 .big5 | ||
| 856 | - AddCharset WINDOWS-1251 .cp-1251 | ||
| 857 | - AddCharset CP866 .cp866 | ||
| 858 | - AddCharset ISO-8859-5 .iso-ru | ||
| 859 | - AddCharset KOI8-R .koi8-r | ||
| 860 | - AddCharset UCS-2 .ucs2 | ||
| 861 | - AddCharset UCS-4 .ucs4 | ||
| 862 | - AddCharset UTF-8 .utf8 | ||
| 863 | - | ||
| 864 | - # LanguagePriority allows you to give precedence to some languages | ||
| 865 | - # in case of a tie during content negotiation. | ||
| 866 | - # | ||
| 867 | - # Just list the languages in decreasing order of preference. We have | ||
| 868 | - # more or less alphabetized them here. You probably want to change this. | ||
| 869 | - # | ||
| 870 | - <IfModule mod_negotiation.c> | ||
| 871 | - LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw | ||
| 872 | - </IfModule> | ||
| 873 | - | ||
| 874 | - # | ||
| 875 | - # AddType allows you to tweak mime.types without actually editing it, or to | ||
| 876 | - # make certain files to be certain types. | ||
| 877 | - # | ||
| 878 | - AddType application/x-tar .tgz | ||
| 879 | - AddType image/x-icon .ico | ||
| 880 | - | ||
| 881 | - # | ||
| 882 | - # AddHandler allows you to map certain file extensions to "handlers", | ||
| 883 | - # actions unrelated to filetype. These can be either built into the server | ||
| 884 | - # or added with the Action command (see below) | ||
| 885 | - # | ||
| 886 | - # If you want to use server side includes, or CGI outside | ||
| 887 | - # ScriptAliased directories, uncomment the following lines. | ||
| 888 | - # | ||
| 889 | - # To use CGI scripts: | ||
| 890 | - # | ||
| 891 | - #AddHandler cgi-script .cgi | ||
| 892 | - | ||
| 893 | - # | ||
| 894 | - # To use server-parsed HTML files | ||
| 895 | - # | ||
| 896 | - #AddType text/html .shtml | ||
| 897 | - #AddHandler server-parsed .shtml | ||
| 898 | - | ||
| 899 | - # | ||
| 900 | - # Uncomment the following line to enable Apache's send-asis HTTP file | ||
| 901 | - # feature | ||
| 902 | - # | ||
| 903 | - #AddHandler send-as-is asis | ||
| 904 | - | ||
| 905 | - # | ||
| 906 | - # If you wish to use server-parsed imagemap files, use | ||
| 907 | - # | ||
| 908 | - #AddHandler imap-file map | ||
| 909 | - | ||
| 910 | - # | ||
| 911 | - # To enable type maps, you might want to use | ||
| 912 | - # | ||
| 913 | - #AddHandler type-map var | ||
| 914 | - | ||
| 915 | - | ||
| 916 | - | ||
| 917 | - | ||
| 918 | -</IfModule> | ||
| 919 | -# End of document types. | ||
| 920 | - | ||
| 921 | -# | ||
| 922 | -# Action lets you define media types that will execute a script whenever | ||
| 923 | -# a matching file is called. This eliminates the need for repeated URL | ||
| 924 | -# pathnames for oft-used CGI file processors. | ||
| 925 | -# Format: Action media/type /cgi-script/location | ||
| 926 | -# Format: Action handler-name /cgi-script/location | ||
| 927 | -# | ||
| 928 | - | ||
| 929 | -# | ||
| 930 | -# MetaDir: specifies the name of the directory in which Apache can find | ||
| 931 | -# meta information files. These files contain additional HTTP headers | ||
| 932 | -# to include when sending the document | ||
| 933 | -# | ||
| 934 | -#MetaDir .web | ||
| 935 | - | ||
| 936 | -# | ||
| 937 | -# MetaSuffix: specifies the file name suffix for the file containing the | ||
| 938 | -# meta information. | ||
| 939 | -# | ||
| 940 | -#MetaSuffix .meta | ||
| 941 | - | ||
| 942 | -# | ||
| 943 | -# Customizable error response (Apache style) | ||
| 944 | -# these come in three flavors | ||
| 945 | -# | ||
| 946 | -# 1) plain text | ||
| 947 | -#ErrorDocument 500 "The server made a boo boo. | ||
| 948 | -# n.b. the single leading (") marks it as text, it does not get output | ||
| 949 | -# | ||
| 950 | -# 2) local redirects | ||
| 951 | -#ErrorDocument 404 /missing.html | ||
| 952 | -# to redirect to local URL /missing.html | ||
| 953 | -#ErrorDocument 404 /cgi-bin/missing_handler.pl | ||
| 954 | -# N.B.: You can redirect to a script or a document using server-side-includes. | ||
| 955 | -# | ||
| 956 | -# 3) external redirects | ||
| 957 | -#ErrorDocument 402 http://some.other-server.com/subscription_info.html | ||
| 958 | -# N.B.: Many of the environment variables associated with the original | ||
| 959 | -# request will *not* be available to such a script. | ||
| 960 | - | ||
| 961 | -# | ||
| 962 | -# Customize behaviour based on the browser | ||
| 963 | -# | ||
| 964 | -<IfModule mod_setenvif.c> | ||
| 965 | - | ||
| 966 | - # | ||
| 967 | - # The following directives modify normal HTTP response behavior. | ||
| 968 | - # The first directive disables keepalive for Netscape 2.x and browsers that | ||
| 969 | - # spoof it. There are known problems with these browser implementations. | ||
| 970 | - # The second directive is for Microsoft Internet Explorer 4.0b2 | ||
| 971 | - # which has a broken HTTP/1.1 implementation and does not properly | ||
| 972 | - # support keepalive when it is used on 301 or 302 (redirect) responses. | ||
| 973 | - # | ||
| 974 | - BrowserMatch "Mozilla/2" nokeepalive | ||
| 975 | - BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 | ||
| 976 | - | ||
| 977 | - # | ||
| 978 | - # The following directive disables HTTP/1.1 responses to browsers which | ||
| 979 | - # are in violation of the HTTP/1.0 spec by not being able to grok a | ||
| 980 | - # basic 1.1 response. | ||
| 981 | - # | ||
| 982 | - BrowserMatch "RealPlayer 4\.0" force-response-1.0 | ||
| 983 | - BrowserMatch "Java/1\.0" force-response-1.0 | ||
| 984 | - BrowserMatch "JDK/1\.0" force-response-1.0 | ||
| 985 | - | ||
| 986 | -</IfModule> | ||
| 987 | -# End of browser customization directives | ||
| 988 | - | ||
| 989 | -# | ||
| 990 | -# Allow server status reports, with the URL of http://servername/server-status | ||
| 991 | -# Change the ".your-domain.com" to match your domain to enable. | ||
| 992 | -# | ||
| 993 | -#<Location /server-status> | ||
| 994 | -# SetHandler server-status | ||
| 995 | -# Order deny,allow | ||
| 996 | -# Deny from all | ||
| 997 | -# Allow from .your-domain.com | ||
| 998 | -#</Location> | ||
| 999 | - | ||
| 1000 | -# | ||
| 1001 | -# Allow remote server configuration reports, with the URL of | ||
| 1002 | -# http://servername/server-info (requires that mod_info.c be loaded). | ||
| 1003 | -# Change the ".your-domain.com" to match your domain to enable. | ||
| 1004 | -# | ||
| 1005 | -#<Location /server-info> | ||
| 1006 | -# SetHandler server-info | ||
| 1007 | -# Order deny,allow | ||
| 1008 | -# Deny from all | ||
| 1009 | -# Allow from .your-domain.com | ||
| 1010 | -#</Location> | ||
| 1011 | - | ||
| 1012 | -# | ||
| 1013 | -# There have been reports of people trying to abuse an old bug from pre-1.1 | ||
| 1014 | -# days. This bug involved a CGI script distributed as a part of Apache. | ||
| 1015 | -# By uncommenting these lines you can redirect these attacks to a logging | ||
| 1016 | -# script on phf.apache.org. Or, you can record them yourself, using the script | ||
| 1017 | -# support/phf_abuse_log.cgi. | ||
| 1018 | -# | ||
| 1019 | -#<Location /cgi-bin/phf*> | ||
| 1020 | -# Deny from all | ||
| 1021 | -# ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi | ||
| 1022 | -#</Location> | ||
| 1023 | - | ||
| 1024 | -# | ||
| 1025 | -# Proxy Server directives. Uncomment the following lines to | ||
| 1026 | -# enable the proxy server: | ||
| 1027 | -# | ||
| 1028 | -#<IfModule mod_proxy.c> | ||
| 1029 | -# ProxyRequests On | ||
| 1030 | - | ||
| 1031 | -# <Directory proxy:*> | ||
| 1032 | -# Order deny,allow | ||
| 1033 | -# Deny from all | ||
| 1034 | -# Allow from .your-domain.com | ||
| 1035 | -# </Directory> | ||
| 1036 | - | ||
| 1037 | - # | ||
| 1038 | - # Enable/disable the handling of HTTP/1.1 "Via:" headers. | ||
| 1039 | - # ("Full" adds the server version; "Block" removes all outgoing Via: headers) | ||
| 1040 | - # Set to one of: Off | On | Full | Block | ||
| 1041 | - # | ||
| 1042 | -# ProxyVia On | ||
| 1043 | - | ||
| 1044 | - # | ||
| 1045 | - # To enable the cache as well, edit and uncomment the following lines: | ||
| 1046 | - # (no cacheing without CacheRoot) | ||
| 1047 | - # | ||
| 1048 | -# CacheRoot "/usr/local/www/proxy" | ||
| 1049 | -# CacheSize 5 | ||
| 1050 | -# CacheGcInterval 4 | ||
| 1051 | -# CacheMaxExpire 24 | ||
| 1052 | -# CacheLastModifiedFactor 0.1 | ||
| 1053 | -# CacheDefaultExpire 1 | ||
| 1054 | -# NoCache a-domain.com another-domain.edu joes.garage-sale.com | ||
| 1055 | - | ||
| 1056 | -#</IfModule> | ||
| 1057 | -# End of proxy directives. | ||
| 1058 | - | ||
| 1059 | -### Section 3: Virtual Hosts | ||
| 1060 | -# | ||
| 1061 | -# VirtualHost: If you want to maintain multiple domains/hostnames on your | ||
| 1062 | -# machine you can setup VirtualHost containers for them. Most configurations | ||
| 1063 | -# use only name-based virtual hosts so the server doesn't need to worry about | ||
| 1064 | -# IP addresses. This is indicated by the asterisks in the directives below. | ||
| 1065 | -# | ||
| 1066 | -# Please see the documentation at <URL:http://www.apache.org/docs/vhosts/> | ||
| 1067 | -# for further details before you try to setup virtual hosts. | ||
| 1068 | -# | ||
| 1069 | -# You may use the command line option '-S' to verify your virtual host | ||
| 1070 | -# configuration. | ||
| 1071 | - | ||
| 1072 | -# | ||
| 1073 | -# Use name-based virtual hosting. | ||
| 1074 | -# | ||
| 1075 | -#NameVirtualHost * | ||
| 1076 | - | ||
| 1077 | -# | ||
| 1078 | -# VirtualHost example: | ||
| 1079 | -# Almost any Apache directive may go into a VirtualHost container. | ||
| 1080 | -# The first VirtualHost section is used for requests without a known | ||
| 1081 | -# server name. | ||
| 1082 | -# | ||
| 1083 | -#<VirtualHost *> | ||
| 1084 | -# ServerAdmin webmaster@dummy-host.example.com | ||
| 1085 | -# DocumentRoot /www/docs/dummy-host.example.com | ||
| 1086 | -# ServerName dummy-host.example.com | ||
| 1087 | -# ErrorLog logs/dummy-host.example.com-error_log | ||
| 1088 | -# CustomLog logs/dummy-host.example.com-access_log common | ||
| 1089 | -#</VirtualHost> | ||
| 1090 | - | ||
| 1091 | -#<VirtualHost _default_:*> | ||
| 1092 | -#</VirtualHost> | ||
| 1093 | - | ||
| 1094 | -## | ||
| 1095 | -## SSL Global Context | ||
| 1096 | -## | ||
| 1097 | -## All SSL configuration in this context applies both to | ||
| 1098 | -## the main server and all SSL-enabled virtual hosts. | ||
| 1099 | -## | ||
| 1100 | - | ||
| 1101 | -# | ||
| 1102 | -# Some MIME-types for downloading Certificates and CRLs | ||
| 1103 | -# | ||
| 1104 | -<IfDefine SSL> | ||
| 1105 | -AddType application/x-x509-ca-cert .crt | ||
| 1106 | -AddType application/x-pkcs7-crl .crl | ||
| 1107 | -</IfDefine> | ||
| 1108 | - | ||
| 1109 | -<IfModule mod_ssl.c> | ||
| 1110 | - | ||
| 1111 | -# Pass Phrase Dialog: | ||
| 1112 | -# Configure the pass phrase gathering process. | ||
| 1113 | -# The filtering dialog program (`builtin' is a internal | ||
| 1114 | -# terminal dialog) has to provide the pass phrase on stdout. | ||
| 1115 | -SSLPassPhraseDialog builtin | ||
| 1116 | - | ||
| 1117 | -# Inter-Process Session Cache: | ||
| 1118 | -# Configure the SSL Session Cache: First the mechanism | ||
| 1119 | -# to use and second the expiring timeout (in seconds). | ||
| 1120 | -#SSLSessionCache none | ||
| 1121 | -#SSLSessionCache shmht:/var/run/ssl_scache(512000) | ||
| 1122 | -#SSLSessionCache shmcb:/var/run/ssl_scache(512000) | ||
| 1123 | -SSLSessionCache dbm:/var/run/ssl_scache | ||
| 1124 | -SSLSessionCacheTimeout 300 | ||
| 1125 | - | ||
| 1126 | -# Semaphore: | ||
| 1127 | -# Configure the path to the mutual exclusion semaphore the | ||
| 1128 | -# SSL engine uses internally for inter-process synchronization. | ||
| 1129 | -SSLMutex file:/var/run/ssl_mutex | ||
| 1130 | - | ||
| 1131 | -# Pseudo Random Number Generator (PRNG): | ||
| 1132 | -# Configure one or more sources to seed the PRNG of the | ||
| 1133 | -# SSL library. The seed data should be of good random quality. | ||
| 1134 | -# WARNING! On some platforms /dev/random blocks if not enough entropy | ||
| 1135 | -# is available. This means you then cannot use the /dev/random device | ||
| 1136 | -# because it would lead to very long connection times (as long as | ||
| 1137 | -# it requires to make more entropy available). But usually those | ||
| 1138 | -# platforms additionally provide a /dev/urandom device which doesn't | ||
| 1139 | -# block. So, if available, use this one instead. Read the mod_ssl User | ||
| 1140 | -# Manual for more details. | ||
| 1141 | -SSLRandomSeed startup builtin | ||
| 1142 | -SSLRandomSeed connect builtin | ||
| 1143 | -#SSLRandomSeed startup file:/dev/random 512 | ||
| 1144 | -#SSLRandomSeed startup file:/dev/urandom 512 | ||
| 1145 | -#SSLRandomSeed connect file:/dev/random 512 | ||
| 1146 | -#SSLRandomSeed connect file:/dev/urandom 512 | ||
| 1147 | - | ||
| 1148 | -# Logging: | ||
| 1149 | -# The home of the dedicated SSL protocol logfile. Errors are | ||
| 1150 | -# additionally duplicated in the general error log file. Put | ||
| 1151 | -# this somewhere where it cannot be used for symlink attacks on | ||
| 1152 | -# a real server (i.e. somewhere where only root can write). | ||
| 1153 | -# Log levels are (ascending order: higher ones include lower ones): | ||
| 1154 | -# none, error, warn, info, trace, debug. | ||
| 1155 | -SSLLog /var/log/ssl_engine_log | ||
| 1156 | -SSLLogLevel info | ||
| 1157 | - | ||
| 1158 | -</IfModule> | ||
| 1159 | - | ||
| 1160 | -#<IfDefine SSL> | ||
| 1161 | - | ||
| 1162 | -## | ||
| 1163 | -## SSL Virtual Host Context | ||
| 1164 | -## | ||
| 1165 | - | ||
| 1166 | -#<VirtualHost _default_:443> | ||
| 1167 | - | ||
| 1168 | -# General setup for the virtual host | ||
| 1169 | -#DocumentRoot "/usr/local/www/data" | ||
| 1170 | -#ServerName new.host.name | ||
| 1171 | -#ServerAdmin you@your.address | ||
| 1172 | -#ErrorLog /var/log/httpd-error.log | ||
| 1173 | -#TransferLog /var/log/httpd-access.log | ||
| 1174 | - | ||
| 1175 | -# SSL Engine Switch: | ||
| 1176 | -# Enable/Disable SSL for this virtual host. | ||
| 1177 | -#SSLEngine on | ||
| 1178 | - | ||
| 1179 | -# SSL Cipher Suite: | ||
| 1180 | -# List the ciphers that the client is permitted to negotiate. | ||
| 1181 | -# See the mod_ssl documentation for a complete list. | ||
| 1182 | -#SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL | ||
| 1183 | - | ||
| 1184 | -# Server Certificate: | ||
| 1185 | -# Point SSLCertificateFile at a PEM encoded certificate. If | ||
| 1186 | -# the certificate is encrypted, then you will be prompted for a | ||
| 1187 | -# pass phrase. Note that a kill -HUP will prompt again. A test | ||
| 1188 | -# certificate can be generated with `make certificate' under | ||
| 1189 | -# built time. Keep in mind that if you've both a RSA and a DSA | ||
| 1190 | -# certificate you can configure both in parallel (to also allow | ||
| 1191 | -# the use of DSA ciphers, etc.) | ||
| 1192 | -#SSLCertificateFile /usr/local/etc/apache/ssl.crt/server.crt | ||
| 1193 | -#SSLCertificateFile /usr/local/etc/apache/ssl.crt/server-dsa.crt | ||
| 1194 | - | ||
| 1195 | -# Server Private Key: | ||
| 1196 | -# If the key is not combined with the certificate, use this | ||
| 1197 | -# directive to point at the key file. Keep in mind that if | ||
| 1198 | -# you've both a RSA and a DSA private key you can configure | ||
| 1199 | -# both in parallel (to also allow the use of DSA ciphers, etc.) | ||
| 1200 | -#SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server.key | ||
| 1201 | -#SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server-dsa.key | ||
| 1202 | - | ||
| 1203 | -# Server Certificate Chain: | ||
| 1204 | -# Point SSLCertificateChainFile at a file containing the | ||
| 1205 | -# concatenation of PEM encoded CA certificates which form the | ||
| 1206 | -# certificate chain for the server certificate. Alternatively | ||
| 1207 | -# the referenced file can be the same as SSLCertificateFile | ||
| 1208 | -# when the CA certificates are directly appended to the server | ||
| 1209 | -# certificate for convinience. | ||
| 1210 | -#SSLCertificateChainFile /usr/local/etc/apache/ssl.crt/ca.crt | ||
| 1211 | - | ||
| 1212 | -# Certificate Authority (CA): | ||
| 1213 | -# Set the CA certificate verification path where to find CA | ||
| 1214 | -# certificates for client authentication or alternatively one | ||
| 1215 | -# huge file containing all of them (file must be PEM encoded) | ||
| 1216 | -# Note: Inside SSLCACertificatePath you need hash symlinks | ||
| 1217 | -# to point to the certificate files. Use the provided | ||
| 1218 | -# Makefile to update the hash symlinks after changes. | ||
| 1219 | -#SSLCACertificatePath /usr/local/etc/apache/ssl.crt | ||
| 1220 | -#SSLCACertificateFile /usr/local/etc/apache/ssl.crt/ca-bundle.crt | ||
| 1221 | - | ||
| 1222 | -# Certificate Revocation Lists (CRL): | ||
| 1223 | -# Set the CA revocation path where to find CA CRLs for client | ||
| 1224 | -# authentication or alternatively one huge file containing all | ||
| 1225 | -# of them (file must be PEM encoded) | ||
| 1226 | -# Note: Inside SSLCARevocationPath you need hash symlinks | ||
| 1227 | -# to point to the certificate files. Use the provided | ||
| 1228 | -# Makefile to update the hash symlinks after changes. | ||
| 1229 | -#SSLCARevocationPath /usr/local/etc/apache/ssl.crl | ||
| 1230 | -#SSLCARevocationFile /usr/local/etc/apache/ssl.crl/ca-bundle.crl | ||
| 1231 | - | ||
| 1232 | -# Client Authentication (Type): | ||
| 1233 | -# Client certificate verification type and depth. Types are | ||
| 1234 | -# none, optional, require and optional_no_ca. Depth is a | ||
| 1235 | -# number which specifies how deeply to verify the certificate | ||
| 1236 | -# issuer chain before deciding the certificate is not valid. | ||
| 1237 | -#SSLVerifyClient require | ||
| 1238 | -#SSLVerifyDepth 10 | ||
| 1239 | - | ||
| 1240 | -# Access Control: | ||
| 1241 | -# With SSLRequire you can do per-directory access control based | ||
| 1242 | -# on arbitrary complex boolean expressions containing server | ||
| 1243 | -# variable checks and other lookup directives. The syntax is a | ||
| 1244 | -# mixture between C and Perl. See the mod_ssl documentation | ||
| 1245 | -# for more details. | ||
| 1246 | -#<Location /> | ||
| 1247 | -#SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \ | ||
| 1248 | -# and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \ | ||
| 1249 | -# and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \ | ||
| 1250 | -# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \ | ||
| 1251 | -# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \ | ||
| 1252 | -# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/ | ||
| 1253 | -#</Location> | ||
| 1254 | - | ||
| 1255 | -# SSL Engine Options: | ||
| 1256 | -# Set various options for the SSL engine. | ||
| 1257 | -# o FakeBasicAuth: | ||
| 1258 | -# Translate the client X.509 into a Basic Authorisation. This means that | ||
| 1259 | -# the standard Auth/DBMAuth methods can be used for access control. The | ||
| 1260 | -# user name is the `one line' version of the client's X.509 certificate. | ||
| 1261 | -# Note that no password is obtained from the user. Every entry in the user | ||
| 1262 | -# file needs this password: `xxj31ZMTZzkVA'. | ||
| 1263 | -# o ExportCertData: | ||
| 1264 | -# This exports two additional environment variables: SSL_CLIENT_CERT and | ||
| 1265 | -# SSL_SERVER_CERT. These contain the PEM-encoded certificates of the | ||
| 1266 | -# server (always existing) and the client (only existing when client | ||
| 1267 | -# authentication is used). This can be used to import the certificates | ||
| 1268 | -# into CGI scripts. | ||
| 1269 | -# o StdEnvVars: | ||
| 1270 | -# This exports the standard SSL/TLS related `SSL_*' environment variables. | ||
| 1271 | -# Per default this exportation is switched off for performance reasons, | ||
| 1272 | -# because the extraction step is an expensive operation and is usually | ||
| 1273 | -# useless for serving static content. So one usually enables the | ||
| 1274 | -# exportation for CGI and SSI requests only. | ||
| 1275 | -# o CompatEnvVars: | ||
| 1276 | -# This exports obsolete environment variables for backward compatibility | ||
| 1277 | -# to Apache-SSL 1.x, mod_ssl 2.0.x, Sioux 1.0 and Stronghold 2.x. Use this | ||
| 1278 | -# to provide compatibility to existing CGI scripts. | ||
| 1279 | -# o StrictRequire: | ||
| 1280 | -# This denies access when "SSLRequireSSL" or "SSLRequire" applied even | ||
| 1281 | -# under a "Satisfy any" situation, i.e. when it applies access is denied | ||
| 1282 | -# and no other module can change it. | ||
| 1283 | -# o OptRenegotiate: | ||
| 1284 | -# This enables optimized SSL connection renegotiation handling when SSL | ||
| 1285 | -# directives are used in per-directory context. | ||
| 1286 | -#SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire | ||
| 1287 | -#<Files ~ "\.(cgi|shtml|phtml|php3?)$"> | ||
| 1288 | -# SSLOptions +StdEnvVars | ||
| 1289 | -#</Files> | ||
| 1290 | -#<Directory "/usr/local/www/cgi-bin"> | ||
| 1291 | -# SSLOptions +StdEnvVars | ||
| 1292 | -#</Directory> | ||
| 1293 | - | ||
| 1294 | -# SSL Protocol Adjustments: | ||
| 1295 | -# The safe and default but still SSL/TLS standard compliant shutdown | ||
| 1296 | -# approach is that mod_ssl sends the close notify alert but doesn't wait for | ||
| 1297 | -# the close notify alert from client. When you need a different shutdown | ||
| 1298 | -# approach you can use one of the following variables: | ||
| 1299 | -# o ssl-unclean-shutdown: | ||
| 1300 | -# This forces an unclean shutdown when the connection is closed, i.e. no | ||
| 1301 | -# SSL close notify alert is send or allowed to received. This violates | ||
| 1302 | -# the SSL/TLS standard but is needed for some brain-dead browsers. Use | ||
| 1303 | -# this when you receive I/O errors because of the standard approach where | ||
| 1304 | -# mod_ssl sends the close notify alert. | ||
| 1305 | -# o ssl-accurate-shutdown: | ||
| 1306 | -# This forces an accurate shutdown when the connection is closed, i.e. a | ||
| 1307 | -# SSL close notify alert is send and mod_ssl waits for the close notify | ||
| 1308 | -# alert of the client. This is 100% SSL/TLS standard compliant, but in | ||
| 1309 | -# practice often causes hanging connections with brain-dead browsers. Use | ||
| 1310 | -# this only for browsers where you know that their SSL implementation | ||
| 1311 | -# works correctly. | ||
| 1312 | -# Notice: Most problems of broken clients are also related to the HTTP | ||
| 1313 | -# keep-alive facility, so you usually additionally want to disable | ||
| 1314 | -# keep-alive for those clients, too. Use variable "nokeepalive" for this. | ||
| 1315 | -# Similarly, one has to force some clients to use HTTP/1.0 to workaround | ||
| 1316 | -# their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and | ||
| 1317 | -# "force-response-1.0" for this. | ||
| 1318 | -#SetEnvIf User-Agent ".*MSIE.*" \ | ||
| 1319 | -# nokeepalive ssl-unclean-shutdown \ | ||
| 1320 | -# downgrade-1.0 force-response-1.0 | ||
| 1321 | - | ||
| 1322 | -# Per-Server Logging: | ||
| 1323 | -# The home of a custom SSL log file. Use this when you want a | ||
| 1324 | -# compact non-error SSL logfile on a virtual host basis. | ||
| 1325 | -#CustomLog /var/log/ssl_request_log \ | ||
| 1326 | -# "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" | ||
| 1327 | -# | ||
| 1328 | -#</VirtualHost> | ||
| 1329 | - | ||
| 1330 | -#</IfDefine> | ||
| 1331 | - | ||
| 1332 | -AddType application/vnd.stardivision.chart .sds | ||
| 1333 | -AddType application/vnd.stardivision.calc .sdc | ||
| 1334 | -AddType application/vnd.stardivision.writer .sdw | ||
| 1335 | -AddType application/vnd.stardivision.writer-global .sgl | ||
| 1336 | -AddType application/vnd.stardivision.draw .sda | ||
| 1337 | -AddType application/vnd.stardivision.impress .sdd | ||
| 1338 | -AddType application/vnd.stardivision.math .sdf | ||
| 1339 | -AddType application/vnd.sun.xml.writer .sxw | ||
| 1340 | -AddType application/vnd.sun.xml.writer.template .stw | ||
| 1341 | -AddType application/vnd.sun.xml.writer.global .sxg | ||
| 1342 | -AddType application/vnd.sun.xml.calc .sxc | ||
| 1343 | -AddType application/vnd.sun.xml.calc.template .stc | ||
| 1344 | -AddType application/vnd.sun.xml.impress .sxi | ||
| 1345 | -AddType application/vnd.sun.xml.impress.template .sti | ||
| 1346 | -AddType application/vnd.sun.xml.draw .sxd | ||
| 1347 | -AddType application/vnd.sun.xml.draw.template .std | ||
| 1348 | -AddType application/vnd.sun.xml.math .sxm | ||
| 1349 | - | ||
| 1350 | -<VirtualHost _default_:443> | ||
| 1351 | - ServerAdmin michael@jamwarehouse.com | ||
| 1352 | - DocumentRoot /usr/local/www/owl/dms | ||
| 1353 | - ServerName gobbler.jamwarehouse.com | ||
| 1354 | - ErrorLog logs/gobbler.jamwarehouse.com-error_log | ||
| 1355 | - CustomLog logs/gobbler.jamwarehouse.com-access_log common | ||
| 1356 | - AddType application/x-httpd-php .php .phtml | ||
| 1357 | - LimitRequestBody 2147483647 | ||
| 1358 | - SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 | ||
| 1359 | - <IfDefine SSL> | ||
| 1360 | - SSLEngine on | ||
| 1361 | - SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL | ||
| 1362 | - SSLCertificateFile /usr/local/etc/apache/ssl.crt/server.crt | ||
| 1363 | - SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/server.key | ||
| 1364 | - <Files ~ "\.(cgi|shtml|phtml|php|php3?)$"> | ||
| 1365 | - SSLOptions +StdEnvVars | ||
| 1366 | - </Files> | ||
| 1367 | - </IfDefine> | ||
| 1368 | - <Directory "/usr/local/www/owl/dms/Documents"> | ||
| 1369 | - Deny From all | ||
| 1370 | - </Directory> | ||
| 1371 | -</VirtualHost> |
etc/my.cnf deleted
| 1 | -# Example mysql config file for medium systems. | ||
| 2 | -# | ||
| 3 | -# This is for a system with little memory (32M - 64M) where MySQL plays | ||
| 4 | -# a important part and systems up to 128M very MySQL is used together with | ||
| 5 | -# other programs (like a web server) | ||
| 6 | -# | ||
| 7 | -# You can copy this file to | ||
| 8 | -# /etc/my.cnf to set global options, | ||
| 9 | -# mysql-data-dir/my.cnf to set server-specific options (in this | ||
| 10 | -# installation this directory is /var/db/mysql) or | ||
| 11 | -# ~/.my.cnf to set user-specific options. | ||
| 12 | -# | ||
| 13 | -# One can in this file use all long options that the program supports. | ||
| 14 | -# If you want to know which options a program support, run the program | ||
| 15 | -# with --help option. | ||
| 16 | - | ||
| 17 | -# The following options will be passed to all MySQL clients | ||
| 18 | -[client] | ||
| 19 | -#password = pass123 | ||
| 20 | -port = 3306 | ||
| 21 | -socket = /tmp/mysql.sock | ||
| 22 | - | ||
| 23 | -# Here follows entries for some specific programs | ||
| 24 | - | ||
| 25 | -# The MySQL server | ||
| 26 | -[mysqld] | ||
| 27 | -port = 3306 | ||
| 28 | -socket = /tmp/mysql.sock | ||
| 29 | -skip-locking | ||
| 30 | -set-variable = key_buffer=50M | ||
| 31 | -set-variable = max_allowed_packet=1M | ||
| 32 | -set-variable = table_cache=64 | ||
| 33 | -set-variable = sort_buffer=512K | ||
| 34 | -set-variable = net_buffer_length=8K | ||
| 35 | -set-variable = myisam_sort_buffer_size=8M | ||
| 36 | -set-variable = max_connections=1000 | ||
| 37 | -set-variable = wait_timeout=900 | ||
| 38 | -set-variable = long_query_time=3 | ||
| 39 | -log-bin = /var/log/mysql | ||
| 40 | -server-id = 1 | ||
| 41 | - | ||
| 42 | -# Point the following paths to different dedicated disks | ||
| 43 | -#tmpdir = /tmp/ | ||
| 44 | -log-update = /var/log/mysql/updates | ||
| 45 | - | ||
| 46 | -# Uncomment the following if you are using BDB tables | ||
| 47 | -#set-variable = bdb_cache_size=4M | ||
| 48 | -#set-variable = bdb_max_lock=10000 | ||
| 49 | - | ||
| 50 | -# Uncomment the following if you are using InnoDB tables | ||
| 51 | -innodb_data_home_dir = /var/db/mysql/ | ||
| 52 | -innodb_data_file_path = ibdata1:10M:autoextend | ||
| 53 | -innodb_log_group_home_dir = /var/db/mysql/ | ||
| 54 | -innodb_log_arch_dir = /var/db/mysql/ | ||
| 55 | -# You can set .._buffer_pool_size up to 50 - 80 % | ||
| 56 | -# of RAM but beware of setting memory usage too high | ||
| 57 | -set-variable = innodb_buffer_pool_size=16M | ||
| 58 | -set-variable = innodb_additional_mem_pool_size=2M | ||
| 59 | -# Set .._log_file_size to 25 % of buffer pool size | ||
| 60 | -set-variable = innodb_log_file_size=5M | ||
| 61 | -set-variable = innodb_log_buffer_size=8M | ||
| 62 | -innodb_flush_log_at_trx_commit=1 | ||
| 63 | -set-variable = innodb_lock_wait_timeout=50 | ||
| 64 | - | ||
| 65 | -[mysqldump] | ||
| 66 | -quick | ||
| 67 | -set-variable = max_allowed_packet=16M | ||
| 68 | - | ||
| 69 | -[mysql] | ||
| 70 | -no-auto-rehash | ||
| 71 | -# Remove the next comment character if you are not familiar with SQL | ||
| 72 | -#safe-updates | ||
| 73 | - | ||
| 74 | -[isamchk] | ||
| 75 | -set-variable = key_buffer=20M | ||
| 76 | -set-variable = sort_buffer=20M | ||
| 77 | -set-variable = read_buffer=2M | ||
| 78 | -set-variable = write_buffer=2M | ||
| 79 | - | ||
| 80 | -[myisamchk] | ||
| 81 | -set-variable = key_buffer=20M | ||
| 82 | -set-variable = sort_buffer=20M | ||
| 83 | -set-variable = read_buffer=2M | ||
| 84 | -set-variable = write_buffer=2M | ||
| 85 | - | ||
| 86 | -[mysqlhotcopy] | ||
| 87 | -interactive-timeout |
etc/php.ini deleted
| 1 | -[PHP] | ||
| 2 | - | ||
| 3 | -;;;;;;;;;;; | ||
| 4 | -; WARNING ; | ||
| 5 | -;;;;;;;;;;; | ||
| 6 | -; This is the default settings file for new PHP installations. | ||
| 7 | -; By default, PHP installs itself with a configuration suitable for | ||
| 8 | -; development purposes, and *NOT* for production purposes. | ||
| 9 | -; For several security-oriented considerations that should be taken | ||
| 10 | -; before going online with your site, please consult php.ini-recommended | ||
| 11 | -; and http://php.net/manual/en/security.php. | ||
| 12 | - | ||
| 13 | - | ||
| 14 | -;;;;;;;;;;;;;;;;;;; | ||
| 15 | -; About this file ; | ||
| 16 | -;;;;;;;;;;;;;;;;;;; | ||
| 17 | -; This file controls many aspects of PHP's behavior. In order for PHP to | ||
| 18 | -; read it, it must be named 'php.ini'. PHP looks for it in the current | ||
| 19 | -; working directory, in the path designated by the environment variable | ||
| 20 | -; PHPRC, and in the path that was defined in compile time (in that order). | ||
| 21 | -; Under Windows, the compile-time path is the Windows directory. The | ||
| 22 | -; path in which the php.ini file is looked for can be overridden using | ||
| 23 | -; the -c argument in command line mode. | ||
| 24 | -; | ||
| 25 | -; The syntax of the file is extremely simple. Whitespace and Lines | ||
| 26 | -; beginning with a semicolon are silently ignored (as you probably guessed). | ||
| 27 | -; Section headers (e.g. [Foo]) are also silently ignored, even though | ||
| 28 | -; they might mean something in the future. | ||
| 29 | -; | ||
| 30 | -; Directives are specified using the following syntax: | ||
| 31 | -; directive = value | ||
| 32 | -; Directive names are *case sensitive* - foo=bar is different from FOO=bar. | ||
| 33 | -; | ||
| 34 | -; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one | ||
| 35 | -; of the INI constants (On, Off, True, False, Yes, No and None) or an expression | ||
| 36 | -; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo"). | ||
| 37 | -; | ||
| 38 | -; Expressions in the INI file are limited to bitwise operators and parentheses: | ||
| 39 | -; | bitwise OR | ||
| 40 | -; & bitwise AND | ||
| 41 | -; ~ bitwise NOT | ||
| 42 | -; ! boolean NOT | ||
| 43 | -; | ||
| 44 | -; Boolean flags can be turned on using the values 1, On, True or Yes. | ||
| 45 | -; They can be turned off using the values 0, Off, False or No. | ||
| 46 | -; | ||
| 47 | -; An empty string can be denoted by simply not writing anything after the equal | ||
| 48 | -; sign, or by using the None keyword: | ||
| 49 | -; | ||
| 50 | -; foo = ; sets foo to an empty string | ||
| 51 | -; foo = none ; sets foo to an empty string | ||
| 52 | -; foo = "none" ; sets foo to the string 'none' | ||
| 53 | -; | ||
| 54 | -; If you use constants in your value, and these constants belong to a | ||
| 55 | -; dynamically loaded extension (either a PHP extension or a Zend extension), | ||
| 56 | -; you may only use these constants *after* the line that loads the extension. | ||
| 57 | -; | ||
| 58 | -; All the values in the php.ini-dist file correspond to the builtin | ||
| 59 | -; defaults (that is, if no php.ini is used, or if you delete these lines, | ||
| 60 | -; the builtin defaults will be identical). | ||
| 61 | - | ||
| 62 | - | ||
| 63 | -;;;;;;;;;;;;;;;;;;;; | ||
| 64 | -; Language Options ; | ||
| 65 | -;;;;;;;;;;;;;;;;;;;; | ||
| 66 | - | ||
| 67 | -; Enable the PHP scripting language engine under Apache. | ||
| 68 | -engine = On | ||
| 69 | - | ||
| 70 | -; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. | ||
| 71 | -short_open_tag = Off | ||
| 72 | - | ||
| 73 | -; Allow ASP-style <% %> tags. | ||
| 74 | -asp_tags = Off | ||
| 75 | - | ||
| 76 | -; The number of significant digits displayed in floating point numbers. | ||
| 77 | -precision = 12 | ||
| 78 | - | ||
| 79 | -; Enforce year 2000 compliance (will cause problems with non-compliant browsers) | ||
| 80 | -y2k_compliance = Off | ||
| 81 | - | ||
| 82 | -; Output buffering allows you to send header lines (including cookies) even | ||
| 83 | -; after you send body content, at the price of slowing PHP's output layer a | ||
| 84 | -; bit. You can enable output buffering during runtime by calling the output | ||
| 85 | -; buffering functions. You can also enable output buffering for all files by | ||
| 86 | -; setting this directive to On. If you wish to limit the size of the buffer | ||
| 87 | -; to a certain size - you can use a maximum number of bytes instead of 'On', as | ||
| 88 | -; a value for this directive (e.g., output_buffering=4096). | ||
| 89 | -output_buffering = Off | ||
| 90 | - | ||
| 91 | -; You can redirect all of the output of your scripts to a function. For | ||
| 92 | -; example, if you set output_handler to "ob_gzhandler", output will be | ||
| 93 | -; transparently compressed for browsers that support gzip or deflate encoding. | ||
| 94 | -; Setting an output handler automatically turns on output buffering. | ||
| 95 | -output_handler = | ||
| 96 | - | ||
| 97 | -; The unserialize callback function will called (with the undefind class' | ||
| 98 | -; name as parameter), if the unserializer finds an undefined class | ||
| 99 | -; which should be instanciated. | ||
| 100 | -; A warning appears if the specified function is not defined, or if the | ||
| 101 | -; function doesn't include/implement the missing class. | ||
| 102 | -; So only set this entry, if you really want to implement such a | ||
| 103 | -; callback-function. | ||
| 104 | -unserialize_callback_func= | ||
| 105 | - | ||
| 106 | -; Transparent output compression using the zlib library | ||
| 107 | -; Valid values for this option are 'off', 'on', or a specific buffer size | ||
| 108 | -; to be used for compression (default is 4KB) | ||
| 109 | -; | ||
| 110 | -; Note: output_handler must be empty if this is set 'On' !!!! | ||
| 111 | -; | ||
| 112 | -zlib.output_compression = Off | ||
| 113 | - | ||
| 114 | -; Implicit flush tells PHP to tell the output layer to flush itself | ||
| 115 | -; automatically after every output block. This is equivalent to calling the | ||
| 116 | -; PHP function flush() after each and every call to print() or echo() and each | ||
| 117 | -; and every HTML block. Turning this option on has serious performance | ||
| 118 | -; implications and is generally recommended for debugging purposes only. | ||
| 119 | -implicit_flush = Off | ||
| 120 | - | ||
| 121 | -; Whether to enable the ability to force arguments to be passed by reference | ||
| 122 | -; at function call time. This method is deprecated and is likely to be | ||
| 123 | -; unsupported in future versions of PHP/Zend. The encouraged method of | ||
| 124 | -; specifying which arguments should be passed by reference is in the function | ||
| 125 | -; declaration. You're encouraged to try and turn this option Off and make | ||
| 126 | -; sure your scripts work properly with it in order to ensure they will work | ||
| 127 | -; with future versions of the language (you will receive a warning each time | ||
| 128 | -; you use this feature, and the argument will be passed by value instead of by | ||
| 129 | -; reference). | ||
| 130 | -allow_call_time_pass_reference = On | ||
| 131 | - | ||
| 132 | -; Safe Mode | ||
| 133 | -; | ||
| 134 | -safe_mode = Off | ||
| 135 | - | ||
| 136 | -; By default, Safe Mode does a UID compare check when | ||
| 137 | -; opening files. If you want to relax this to a GID compare, | ||
| 138 | -; then turn on safe_mode_gid. | ||
| 139 | -safe_mode_gid = Off | ||
| 140 | - | ||
| 141 | -; When safe_mode is on, UID/GID checks are bypassed when | ||
| 142 | -; including files from this directory and its subdirectories. | ||
| 143 | -; (directory must also be in include_path or full path must | ||
| 144 | -; be used when including) | ||
| 145 | -safe_mode_include_dir = | ||
| 146 | - | ||
| 147 | -; When safe_mode is on, only executables located in the safe_mode_exec_dir | ||
| 148 | -; will be allowed to be executed via the exec family of functions. | ||
| 149 | -safe_mode_exec_dir = | ||
| 150 | - | ||
| 151 | -; open_basedir, if set, limits all file operations to the defined directory | ||
| 152 | -; and below. This directive makes most sense if used in a per-directory | ||
| 153 | -; or per-virtualhost web server configuration file. | ||
| 154 | -; | ||
| 155 | -;open_basedir = | ||
| 156 | - | ||
| 157 | -; Setting certain environment variables may be a potential security breach. | ||
| 158 | -; This directive contains a comma-delimited list of prefixes. In Safe Mode, | ||
| 159 | -; the user may only alter environment variables whose names begin with the | ||
| 160 | -; prefixes supplied here. By default, users will only be able to set | ||
| 161 | -; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR). | ||
| 162 | -; | ||
| 163 | -; Note: If this directive is empty, PHP will let the user modify ANY | ||
| 164 | -; environment variable! | ||
| 165 | -safe_mode_allowed_env_vars = PHP_ | ||
| 166 | - | ||
| 167 | -; This directive contains a comma-delimited list of environment variables that | ||
| 168 | -; the end user won't be able to change using putenv(). These variables will be | ||
| 169 | -; protected even if safe_mode_allowed_env_vars is set to allow to change them. | ||
| 170 | -safe_mode_protected_env_vars = LD_LIBRARY_PATH | ||
| 171 | - | ||
| 172 | -; This directive allows you to disable certain functions for security reasons. | ||
| 173 | -; It receives a comma-delimited list of function names. This directive is | ||
| 174 | -; *NOT* affected by whether Safe Mode is turned On or Off. | ||
| 175 | -disable_functions = | ||
| 176 | - | ||
| 177 | -; Colors for Syntax Highlighting mode. Anything that's acceptable in | ||
| 178 | -; <font color="??????"> would work. | ||
| 179 | -highlight.string = #CC0000 | ||
| 180 | -highlight.comment = #FF9900 | ||
| 181 | -highlight.keyword = #006600 | ||
| 182 | -highlight.bg = #FFFFFF | ||
| 183 | -highlight.default = #0000CC | ||
| 184 | -highlight.html = #000000 | ||
| 185 | - | ||
| 186 | - | ||
| 187 | -; | ||
| 188 | -; Misc | ||
| 189 | -; | ||
| 190 | -; Decides whether PHP may expose the fact that it is installed on the server | ||
| 191 | -; (e.g. by adding its signature to the Web server header). It is no security | ||
| 192 | -; threat in any way, but it makes it possible to determine whether you use PHP | ||
| 193 | -; on your server or not. | ||
| 194 | -expose_php = On | ||
| 195 | - | ||
| 196 | - | ||
| 197 | -;;;;;;;;;;;;;;;;;;; | ||
| 198 | -; Resource Limits ; | ||
| 199 | -;;;;;;;;;;;;;;;;;;; | ||
| 200 | - | ||
| 201 | -max_execution_time = 60 ; Maximum execution time of each script, in seconds | ||
| 202 | -memory_limit = 1000M ; Maximum amount of memory a script may consume (8MB) | ||
| 203 | - | ||
| 204 | - | ||
| 205 | -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 206 | -; Error handling and logging ; | ||
| 207 | -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 208 | - | ||
| 209 | -; error_reporting is a bit-field. Or each number up to get desired error | ||
| 210 | -; reporting level | ||
| 211 | -; E_ALL - All errors and warnings | ||
| 212 | -; E_ERROR - fatal run-time errors | ||
| 213 | -; E_WARNING - run-time warnings (non-fatal errors) | ||
| 214 | -; E_PARSE - compile-time parse errors | ||
| 215 | -; E_NOTICE - run-time notices (these are warnings which often result | ||
| 216 | -; from a bug in your code, but it's possible that it was | ||
| 217 | -; intentional (e.g., using an uninitialized variable and | ||
| 218 | -; relying on the fact it's automatically initialized to an | ||
| 219 | -; empty string) | ||
| 220 | -; E_CORE_ERROR - fatal errors that occur during PHP's initial startup | ||
| 221 | -; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's | ||
| 222 | -; initial startup | ||
| 223 | -; E_COMPILE_ERROR - fatal compile-time errors | ||
| 224 | -; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) | ||
| 225 | -; E_USER_ERROR - user-generated error message | ||
| 226 | -; E_USER_WARNING - user-generated warning message | ||
| 227 | -; E_USER_NOTICE - user-generated notice message | ||
| 228 | -; | ||
| 229 | -; Examples: | ||
| 230 | -; | ||
| 231 | -; - Show all errors, except for notices | ||
| 232 | -; | ||
| 233 | -;error_reporting = E_ALL & ~E_NOTICE | ||
| 234 | -; | ||
| 235 | -; - Show only errors | ||
| 236 | -; | ||
| 237 | -;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR | ||
| 238 | -; | ||
| 239 | -; - Show all errors except for notices | ||
| 240 | -; | ||
| 241 | -error_reporting = E_ALL & ~E_NOTICE | ||
| 242 | - | ||
| 243 | -; Print out errors (as a part of the output). For production web sites, | ||
| 244 | -; you're strongly encouraged to turn this feature off, and use error logging | ||
| 245 | -; instead (see below). Keeping display_errors enabled on a production web site | ||
| 246 | -; may reveal security information to end users, such as file paths on your Web | ||
| 247 | -; server, your database schema or other information. | ||
| 248 | -display_errors = Off | ||
| 249 | - | ||
| 250 | -; Even when display_errors is on, errors that occur during PHP's startup | ||
| 251 | -; sequence are not displayed. It's strongly recommended to keep | ||
| 252 | -; display_startup_errors off, except for when debugging. | ||
| 253 | -display_startup_errors = Off | ||
| 254 | - | ||
| 255 | -; Log errors into a log file (server-specific log, stderr, or error_log (below)) | ||
| 256 | -; As stated above, you're strongly advised to use error logging in place of | ||
| 257 | -; error displaying on production web sites. | ||
| 258 | -log_errors = On | ||
| 259 | - | ||
| 260 | -; Store the last error/warning message in $php_errormsg (boolean). | ||
| 261 | -track_errors = Off | ||
| 262 | - | ||
| 263 | -; Disable the inclusion of HTML tags in error messages. | ||
| 264 | -;html_errors = Off | ||
| 265 | - | ||
| 266 | -; String to output before an error message. | ||
| 267 | -;error_prepend_string = "<font color=ff0000>" | ||
| 268 | - | ||
| 269 | -; String to output after an error message. | ||
| 270 | -;error_append_string = "</font>" | ||
| 271 | - | ||
| 272 | -; Log errors to specified file. | ||
| 273 | -error_log = /var/log/php-error.log | ||
| 274 | - | ||
| 275 | -; Log errors to syslog (Event Log on NT, not valid in Windows 95). | ||
| 276 | -;error_log = syslog | ||
| 277 | - | ||
| 278 | - | ||
| 279 | -;;;;;;;;;;;;;;;;; | ||
| 280 | -; Data Handling ; | ||
| 281 | -;;;;;;;;;;;;;;;;; | ||
| 282 | -; | ||
| 283 | -; Note - track_vars is ALWAYS enabled as of PHP 4.0.3 | ||
| 284 | - | ||
| 285 | -; The separator used in PHP generated URLs to separate arguments. | ||
| 286 | -; Default is "&". | ||
| 287 | -;arg_separator.output = "&" | ||
| 288 | - | ||
| 289 | -; List of separator(s) used by PHP to parse input URLs into variables. | ||
| 290 | -; Default is "&". | ||
| 291 | -; NOTE: Every character in this directive is considered as separator! | ||
| 292 | -;arg_separator.input = ";&" | ||
| 293 | - | ||
| 294 | -; This directive describes the order in which PHP registers GET, POST, Cookie, | ||
| 295 | -; Environment and Built-in variables (G, P, C, E & S respectively, often | ||
| 296 | -; referred to as EGPCS or GPC). Registration is done from left to right, newer | ||
| 297 | -; values override older values. | ||
| 298 | -variables_order = "EGPCS" | ||
| 299 | - | ||
| 300 | -; Whether or not to register the EGPCS variables as global variables. You may | ||
| 301 | -; want to turn this off if you don't want to clutter your scripts' global scope | ||
| 302 | -; with user data. This makes most sense when coupled with track_vars - in which | ||
| 303 | -; case you can access all of the GPC variables through the $HTTP_*_VARS[], | ||
| 304 | -; variables. | ||
| 305 | -; | ||
| 306 | -; You should do your best to write your scripts so that they do not require | ||
| 307 | -; register_globals to be on; Using form variables as globals can easily lead | ||
| 308 | -; to possible security problems, if the code is not very well thought of. | ||
| 309 | -register_globals = Off | ||
| 310 | - | ||
| 311 | -; This directive tells PHP whether to declare the argv&argc variables (that | ||
| 312 | -; would contain the GET information). If you don't use these variables, you | ||
| 313 | -; should turn it off for increased performance. | ||
| 314 | -register_argc_argv = Off | ||
| 315 | - | ||
| 316 | -; Maximum size of POST data that PHP will accept. | ||
| 317 | -post_max_size = 2000M | ||
| 318 | - | ||
| 319 | -; This directive is deprecated. Use variables_order instead. | ||
| 320 | -gpc_order = "GPC" | ||
| 321 | - | ||
| 322 | -; Magic quotes | ||
| 323 | -; | ||
| 324 | - | ||
| 325 | -; Magic quotes for incoming GET/POST/Cookie data. | ||
| 326 | -magic_quotes_gpc = On | ||
| 327 | - | ||
| 328 | -; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. | ||
| 329 | -magic_quotes_runtime = Off | ||
| 330 | - | ||
| 331 | -; Use Sybase-style magic quotes (escape ' with '' instead of \'). | ||
| 332 | -magic_quotes_sybase = Off | ||
| 333 | - | ||
| 334 | -; Automatically add files before or after any PHP document. | ||
| 335 | -auto_prepend_file = | ||
| 336 | -auto_append_file = | ||
| 337 | - | ||
| 338 | -; As of 4.0b4, PHP always outputs a character encoding by default in | ||
| 339 | -; the Content-type: header. To disable sending of the charset, simply | ||
| 340 | -; set it to be empty. | ||
| 341 | -; | ||
| 342 | -; PHP's built-in default is text/html | ||
| 343 | -default_mimetype = "text/html" | ||
| 344 | -;default_charset = "iso-8859-1" | ||
| 345 | - | ||
| 346 | -; Always populate the $HTTP_RAW_POST_DATA variable. | ||
| 347 | -;always_populate_raw_post_data = On | ||
| 348 | - | ||
| 349 | -;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 350 | -; Paths and Directories ; | ||
| 351 | -;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| 352 | - | ||
| 353 | -; UNIX: "/path1:/path2" | ||
| 354 | -;include_path = ".:/php/includes" | ||
| 355 | -; | ||
| 356 | -; Windows: "\path1;\path2" | ||
| 357 | -;include_path = ".;c:\php\includes" | ||
| 358 | - | ||
| 359 | -; The root of the PHP pages, used only if nonempty. | ||
| 360 | -; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root | ||
| 361 | -; if you are running php as a CGI under any web server (other than IIS) | ||
| 362 | -; see documentation for security issues. The alternate is to use the | ||
| 363 | -; cgi.force_redirect configuration below | ||
| 364 | -doc_root = | ||
| 365 | - | ||
| 366 | -; The directory under which PHP opens the script using /~usernamem used only | ||
| 367 | -; if nonempty. | ||
| 368 | -user_dir = | ||
| 369 | - | ||
| 370 | -; Directory in which the loadable extensions (modules) reside. | ||
| 371 | -extension_dir = ./ | ||
| 372 | - | ||
| 373 | -; Whether or not to enable the dl() function. The dl() function does NOT work | ||
| 374 | -; properly in multithreaded servers, such as IIS or Zeus, and is automatically | ||
| 375 | -; disabled on them. | ||
| 376 | -enable_dl = On | ||
| 377 | - | ||
| 378 | -; cgi.force_redirect is necessary to provide security running PHP as a CGI under | ||
| 379 | -; most web servers. Left undefined, PHP turns this on by default. You can | ||
| 380 | -; turn it off here AT YOUR OWN RISK | ||
| 381 | -; **You CAN safely turn this off for IIS, in fact, you MUST.** | ||
| 382 | -; cgi.force_redirect = 1 | ||
| 383 | - | ||
| 384 | -; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape | ||
| 385 | -; (iPlanet) web servers, you MAY need to set an environment variable name that PHP | ||
| 386 | -; will look for to know it is OK to continue execution. Setting this variable MAY | ||
| 387 | -; cause security issues, KNOW WHAT YOU ARE DOING FIRST. | ||
| 388 | -; cgi.redirect_status_env = ; | ||
| 389 | - | ||
| 390 | -;;;;;;;;;;;;;;;; | ||
| 391 | -; File Uploads ; | ||
| 392 | -;;;;;;;;;;;;;;;; | ||
| 393 | - | ||
| 394 | -; Whether to allow HTTP file uploads. | ||
| 395 | -file_uploads = On | ||
| 396 | - | ||
| 397 | -; Temporary directory for HTTP uploaded files (will use system default if not | ||
| 398 | -; specified). | ||
| 399 | -;upload_tmp_dir = | ||
| 400 | - | ||
| 401 | -; Maximum allowed size for uploaded files. | ||
| 402 | -upload_max_filesize = 1000M | ||
| 403 | - | ||
| 404 | - | ||
| 405 | -;;;;;;;;;;;;;;;;;; | ||
| 406 | -; Fopen wrappers ; | ||
| 407 | -;;;;;;;;;;;;;;;;;; | ||
| 408 | - | ||
| 409 | -; Whether to allow the treatment of URLs (like http:// or ftp://) as files. | ||
| 410 | -allow_url_fopen = On | ||
| 411 | - | ||
| 412 | -; Define the anonymous ftp password (your email address) | ||
| 413 | -;from="john@doe.com" | ||
| 414 | - | ||
| 415 | - | ||
| 416 | -;;;;;;;;;;;;;;;;;;;;;; | ||
| 417 | -; Dynamic Extensions ; | ||
| 418 | -;;;;;;;;;;;;;;;;;;;;;; | ||
| 419 | -; | ||
| 420 | -; If you wish to have an extension loaded automatically, use the following | ||
| 421 | -; syntax: | ||
| 422 | -; | ||
| 423 | -; extension=modulename.extension | ||
| 424 | -; | ||
| 425 | -; For example, on Windows: | ||
| 426 | -; | ||
| 427 | -; extension=msql.dll | ||
| 428 | -; | ||
| 429 | -; ... or under UNIX: | ||
| 430 | -; | ||
| 431 | -; extension=msql.so | ||
| 432 | -; | ||
| 433 | -; Note that it should be the name of the module only; no directory information | ||
| 434 | -; needs to go here. Specify the location of the extension with the | ||
| 435 | -; extension_dir directive above. | ||
| 436 | - | ||
| 437 | - | ||
| 438 | -;Windows Extensions | ||
| 439 | -;Note that MySQL and ODBC support is now built in, so no dll is needed for it. | ||
| 440 | -; | ||
| 441 | -;extension=php_bz2.dll | ||
| 442 | -;extension=php_ctype.dll | ||
| 443 | -;extension=php_cpdf.dll | ||
| 444 | -;extension=php_curl.dll | ||
| 445 | -;extension=php_cybercash.dll | ||
| 446 | -;extension=php_db.dll | ||
| 447 | -;extension=php_dba.dll | ||
| 448 | -;extension=php_dbase.dll | ||
| 449 | -;extension=php_dbx.dll | ||
| 450 | -;extension=php_domxml.dll | ||
| 451 | -;extension=php_dotnet.dll | ||
| 452 | -;extension=php_exif.dll | ||
| 453 | -;extension=php_fbsql.dll | ||
| 454 | -;extension=php_fdf.dll | ||
| 455 | -;extension=php_filepro.dll | ||
| 456 | -;extension=php_gd.dll | ||
| 457 | -;extension=php_gettext.dll | ||
| 458 | -;extension=php_hyperwave.dll | ||
| 459 | -;extension=php_iconv.dll | ||
| 460 | -;extension=php_ifx.dll | ||
| 461 | -;extension=php_iisfunc.dll | ||
| 462 | -;extension=php_imap.dll | ||
| 463 | -;extension=php_ingres.dll | ||
| 464 | -;extension=php_interbase.dll | ||
| 465 | -;extension=php_java.dll | ||
| 466 | -;extension=php_ldap.dll | ||
| 467 | -;extension=php_mbstring.dll | ||
| 468 | -;extension=php_mcrypt.dll | ||
| 469 | -;extension=php_mhash.dll | ||
| 470 | -;extension=php_ming.dll | ||
| 471 | -;extension=php_mssql.dll | ||
| 472 | -;extension=php_oci8.dll | ||
| 473 | -;extension=php_openssl.dll | ||
| 474 | -;extension=php_oracle.dll | ||
| 475 | -;extension=php_pdf.dll | ||
| 476 | -;extension=php_pgsql.dll | ||
| 477 | -;extension=php_printer.dll | ||
| 478 | -;extension=php_shmop.dll | ||
| 479 | -;extension=php_snmp.dll | ||
| 480 | -;extension=php_sockets.dll | ||
| 481 | -;extension=php_sybase_ct.dll | ||
| 482 | -;extension=php_tokenizer.dll | ||
| 483 | -;extension=php_w32api.dll | ||
| 484 | -;extension=php_xslt.dll | ||
| 485 | -;extension=php_yaz.dll | ||
| 486 | -;extension=php_zlib.dll | ||
| 487 | - | ||
| 488 | - | ||
| 489 | -;;;;;;;;;;;;;;;;;;; | ||
| 490 | -; Module Settings ; | ||
| 491 | -;;;;;;;;;;;;;;;;;;; | ||
| 492 | - | ||
| 493 | -[Syslog] | ||
| 494 | -; Whether or not to define the various syslog variables (e.g. $LOG_PID, | ||
| 495 | -; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In | ||
| 496 | -; runtime, you can define these variables by calling define_syslog_variables(). | ||
| 497 | -define_syslog_variables = Off | ||
| 498 | - | ||
| 499 | -[mail function] | ||
| 500 | -; For Win32 only. | ||
| 501 | -SMTP = localhost | ||
| 502 | - | ||
| 503 | -; For Win32 only. | ||
| 504 | -sendmail_from = me@localhost.com | ||
| 505 | - | ||
| 506 | -; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). | ||
| 507 | -;sendmail_path = | ||
| 508 | - | ||
| 509 | -[Java] | ||
| 510 | -;java.class.path = .\php_java.jar | ||
| 511 | -;java.home = c:\jdk | ||
| 512 | -;java.library = c:\jdk\jre\bin\hotspot\jvm.dll | ||
| 513 | -;java.library.path = .\ | ||
| 514 | - | ||
| 515 | -[SQL] | ||
| 516 | -sql.safe_mode = Off | ||
| 517 | - | ||
| 518 | -[ODBC] | ||
| 519 | -;odbc.default_db = Not yet implemented | ||
| 520 | -;odbc.default_user = Not yet implemented | ||
| 521 | -;odbc.default_pw = Not yet implemented | ||
| 522 | - | ||
| 523 | -; Allow or prevent persistent links. | ||
| 524 | -odbc.allow_persistent = On | ||
| 525 | - | ||
| 526 | -; Check that a connection is still valid before reuse. | ||
| 527 | -odbc.check_persistent = On | ||
| 528 | - | ||
| 529 | -; Maximum number of persistent links. -1 means no limit. | ||
| 530 | -odbc.max_persistent = -1 | ||
| 531 | - | ||
| 532 | -; Maximum number of links (persistent + non-persistent). -1 means no limit. | ||
| 533 | -odbc.max_links = -1 | ||
| 534 | - | ||
| 535 | -; Handling of LONG fields. Returns number of bytes to variables. 0 means | ||
| 536 | -; passthru. | ||
| 537 | -odbc.defaultlrl = 4096 | ||
| 538 | - | ||
| 539 | -; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. | ||
| 540 | -; See the documentation on odbc_binmode and odbc_longreadlen for an explanation | ||
| 541 | -; of uodbc.defaultlrl and uodbc.defaultbinmode | ||
| 542 | -odbc.defaultbinmode = 1 | ||
| 543 | - | ||
| 544 | -[MySQL] | ||
| 545 | -; Allow or prevent persistent links. | ||
| 546 | -mysql.allow_persistent = On | ||
| 547 | - | ||
| 548 | -; Maximum number of persistent links. -1 means no limit. | ||
| 549 | -mysql.max_persistent = -1 | ||
| 550 | - | ||
| 551 | -; Maximum number of links (persistent + non-persistent). -1 means no limit. | ||
| 552 | -mysql.max_links = -1 | ||
| 553 | - | ||
| 554 | -; Default port number for mysql_connect(). If unset, mysql_connect() will use | ||
| 555 | -; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the | ||
| 556 | -; compile-time value defined MYSQL_PORT (in that order). Win32 will only look | ||
| 557 | -; at MYSQL_PORT. | ||
| 558 | -mysql.default_port = | ||
| 559 | - | ||
| 560 | -; Default socket name for local MySQL connects. If empty, uses the built-in | ||
| 561 | -; MySQL defaults. | ||
| 562 | -mysql.default_socket = | ||
| 563 | - | ||
| 564 | -; Default host for mysql_connect() (doesn't apply in safe mode). | ||
| 565 | -mysql.default_host = | ||
| 566 | - | ||
| 567 | -; Default user for mysql_connect() (doesn't apply in safe mode). | ||
| 568 | -mysql.default_user = | ||
| 569 | - | ||
| 570 | -; Default password for mysql_connect() (doesn't apply in safe mode). | ||
| 571 | -; Note that this is generally a *bad* idea to store passwords in this file. | ||
| 572 | -; *Any* user with PHP access can run 'echo cfg_get_var("mysql.default_password") | ||
| 573 | -; and reveal this password! And of course, any users with read access to this | ||
| 574 | -; file will be able to reveal the password as well. | ||
| 575 | -mysql.default_password = | ||
| 576 | - | ||
| 577 | -[mSQL] | ||
| 578 | -; Allow or prevent persistent links. | ||
| 579 | -msql.allow_persistent = On | ||
| 580 | - | ||
| 581 | -; Maximum number of persistent links. -1 means no limit. | ||
| 582 | -msql.max_persistent = -1 | ||
| 583 | - | ||
| 584 | -; Maximum number of links (persistent+non persistent). -1 means no limit. | ||
| 585 | -msql.max_links = -1 | ||
| 586 | - | ||
| 587 | -[PostgresSQL] | ||
| 588 | -; Allow or prevent persistent links. | ||
| 589 | -pgsql.allow_persistent = On | ||
| 590 | - | ||
| 591 | -; Detect broken persistent links always with pg_pconnect(). Need a little overhead. | ||
| 592 | -pgsql.auto_reset_persistent = Off | ||
| 593 | - | ||
| 594 | -; Maximum number of persistent links. -1 means no limit. | ||
| 595 | -pgsql.max_persistent = -1 | ||
| 596 | - | ||
| 597 | -; Maximum number of links (persistent+non persistent). -1 means no limit. | ||
| 598 | -pgsql.max_links = -1 | ||
| 599 | - | ||
| 600 | -[Sybase] | ||
| 601 | -; Allow or prevent persistent links. | ||
| 602 | -sybase.allow_persistent = On | ||
| 603 | - | ||
| 604 | -; Maximum number of persistent links. -1 means no limit. | ||
| 605 | -sybase.max_persistent = -1 | ||
| 606 | - | ||
| 607 | -; Maximum number of links (persistent + non-persistent). -1 means no limit. | ||
| 608 | -sybase.max_links = -1 | ||
| 609 | - | ||
| 610 | -;sybase.interface_file = "/usr/sybase/interfaces" | ||
| 611 | - | ||
| 612 | -; Minimum error severity to display. | ||
| 613 | -sybase.min_error_severity = 10 | ||
| 614 | - | ||
| 615 | -; Minimum message severity to display. | ||
| 616 | -sybase.min_message_severity = 10 | ||
| 617 | - | ||
| 618 | -; Compatability mode with old versions of PHP 3.0. | ||
| 619 | -; If on, this will cause PHP to automatically assign types to results according | ||
| 620 | -; to their Sybase type, instead of treating them all as strings. This | ||
| 621 | -; compatability mode will probably not stay around forever, so try applying | ||
| 622 | -; whatever necessary changes to your code, and turn it off. | ||
| 623 | -sybase.compatability_mode = Off | ||
| 624 | - | ||
| 625 | -[Sybase-CT] | ||
| 626 | -; Allow or prevent persistent links. | ||
| 627 | -sybct.allow_persistent = On | ||
| 628 | - | ||
| 629 | -; Maximum number of persistent links. -1 means no limit. | ||
| 630 | -sybct.max_persistent = -1 | ||
| 631 | - | ||
| 632 | -; Maximum number of links (persistent + non-persistent). -1 means no limit. | ||
| 633 | -sybct.max_links = -1 | ||
| 634 | - | ||
| 635 | -; Minimum server message severity to display. | ||
| 636 | -sybct.min_server_severity = 10 | ||
| 637 | - | ||
| 638 | -; Minimum client message severity to display. | ||
| 639 | -sybct.min_client_severity = 10 | ||
| 640 | - | ||
| 641 | -[bcmath] | ||
| 642 | -; Number of decimal digits for all bcmath functions. | ||
| 643 | -bcmath.scale = 0 | ||
| 644 | - | ||
| 645 | -[browscap] | ||
| 646 | -;browscap = extra/browscap.ini | ||
| 647 | - | ||
| 648 | -[Informix] | ||
| 649 | -; Default host for ifx_connect() (doesn't apply in safe mode). | ||
| 650 | -ifx.default_host = | ||
| 651 | - | ||
| 652 | -; Default user for ifx_connect() (doesn't apply in safe mode). | ||
| 653 | -ifx.default_user = | ||
| 654 | - | ||
| 655 | -; Default password for ifx_connect() (doesn't apply in safe mode). | ||
| 656 | -ifx.default_password = | ||
| 657 | - | ||
| 658 | -; Allow or prevent persistent links. | ||
| 659 | -ifx.allow_persistent = On | ||
| 660 | - | ||
| 661 | -; Maximum number of persistent links. -1 means no limit. | ||
| 662 | -ifx.max_persistent = -1 | ||
| 663 | - | ||
| 664 | -; Maximum number of links (persistent + non-persistent). -1 means no limit. | ||
| 665 | -ifx.max_links = -1 | ||
| 666 | - | ||
| 667 | -; If on, select statements return the contents of a text blob instead of its id. | ||
| 668 | -ifx.textasvarchar = 0 | ||
| 669 | - | ||
| 670 | -; If on, select statements return the contents of a byte blob instead of its id. | ||
| 671 | -ifx.byteasvarchar = 0 | ||
| 672 | - | ||
| 673 | -; Trailing blanks are stripped from fixed-length char columns. May help the | ||
| 674 | -; life of Informix SE users. | ||
| 675 | -ifx.charasvarchar = 0 | ||
| 676 | - | ||
| 677 | -; If on, the contents of text and byte blobs are dumped to a file instead of | ||
| 678 | -; keeping them in memory. | ||
| 679 | -ifx.blobinfile = 0 | ||
| 680 | - | ||
| 681 | -; NULL's are returned as empty strings, unless this is set to 1. In that case, | ||
| 682 | -; NULL's are returned as string 'NULL'. | ||
| 683 | -ifx.nullformat = 0 | ||
| 684 | - | ||
| 685 | -[Session] | ||
| 686 | -; Handler used to store/retrieve data. | ||
| 687 | -session.save_handler = files | ||
| 688 | - | ||
| 689 | -; Argument passed to save_handler. In the case of files, this is the path | ||
| 690 | -; where data files are stored. Note: Windows users have to change this | ||
| 691 | -; variable in order to use PHP's session functions. | ||
| 692 | -session.save_path = /tmp | ||
| 693 | - | ||
| 694 | -; Whether to use cookies. | ||
| 695 | -session.use_cookies = 1 | ||
| 696 | - | ||
| 697 | - | ||
| 698 | -; Name of the session (used as cookie name). | ||
| 699 | -session.name = PHPSESSID | ||
| 700 | - | ||
| 701 | -; Initialize session on request startup. | ||
| 702 | -session.auto_start = 0 | ||
| 703 | - | ||
| 704 | -; Lifetime in seconds of cookie or, if 0, until browser is restarted. | ||
| 705 | -session.cookie_lifetime = 0 | ||
| 706 | - | ||
| 707 | -; The path for which the cookie is valid. | ||
| 708 | -session.cookie_path = / | ||
| 709 | - | ||
| 710 | -; The domain for which the cookie is valid. | ||
| 711 | -session.cookie_domain = | ||
| 712 | - | ||
| 713 | -; Handler used to serialize data. php is the standard serializer of PHP. | ||
| 714 | -session.serialize_handler = php | ||
| 715 | - | ||
| 716 | -; Percentual probability that the 'garbage collection' process is started | ||
| 717 | -; on every session initialization. | ||
| 718 | -session.gc_probability = 1 | ||
| 719 | - | ||
| 720 | -; After this number of seconds, stored data will be seen as 'garbage' and | ||
| 721 | -; cleaned up by the garbage collection process. | ||
| 722 | -session.gc_maxlifetime = 1440 | ||
| 723 | - | ||
| 724 | -; Check HTTP Referer to invalidate externally stored URLs containing ids. | ||
| 725 | -; HTTP_REFERER has to contain this substring for the session to be | ||
| 726 | -; considered as valid. | ||
| 727 | -session.referer_check = | ||
| 728 | - | ||
| 729 | -; How many bytes to read from the file. | ||
| 730 | -session.entropy_length = 0 | ||
| 731 | - | ||
| 732 | -; Specified here to create the session id. | ||
| 733 | -session.entropy_file = | ||
| 734 | - | ||
| 735 | -;session.entropy_length = 16 | ||
| 736 | - | ||
| 737 | -;session.entropy_file = /dev/urandom | ||
| 738 | - | ||
| 739 | -; Set to {nocache,private,public} to determine HTTP caching aspects. | ||
| 740 | -session.cache_limiter = nocache | ||
| 741 | - | ||
| 742 | -; Document expires after n minutes. | ||
| 743 | -session.cache_expire = 180 | ||
| 744 | - | ||
| 745 | -; trans sid support is disabled by default. | ||
| 746 | -; Use of trans sid may risk your users security. | ||
| 747 | -; Use this option with caution. | ||
| 748 | -; - User may send URL contains active session ID | ||
| 749 | -; to other person via. email/irc/etc. | ||
| 750 | -; - URL that contains active session ID may be stored | ||
| 751 | -; in publically accessible computer. | ||
| 752 | -; - User may access your site with the same session ID | ||
| 753 | -; always using URL stored in browser's history or bookmarks. | ||
| 754 | -session.use_trans_sid = 0 | ||
| 755 | - | ||
| 756 | -url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" | ||
| 757 | - | ||
| 758 | -[MSSQL] | ||
| 759 | -; Allow or prevent persistent links. | ||
| 760 | -mssql.allow_persistent = On | ||
| 761 | - | ||
| 762 | -; Maximum number of persistent links. -1 means no limit. | ||
| 763 | -mssql.max_persistent = -1 | ||
| 764 | - | ||
| 765 | -; Maximum number of links (persistent+non persistent). -1 means no limit. | ||
| 766 | -mssql.max_links = -1 | ||
| 767 | - | ||
| 768 | -; Minimum error severity to display. | ||
| 769 | -mssql.min_error_severity = 10 | ||
| 770 | - | ||
| 771 | -; Minimum message severity to display. | ||
| 772 | -mssql.min_message_severity = 10 | ||
| 773 | - | ||
| 774 | -; Compatability mode with old versions of PHP 3.0. | ||
| 775 | -mssql.compatability_mode = Off | ||
| 776 | - | ||
| 777 | -; Valid range 0 - 2147483647. Default = 4096. | ||
| 778 | -;mssql.textlimit = 4096 | ||
| 779 | - | ||
| 780 | -; Valid range 0 - 2147483647. Default = 4096. | ||
| 781 | -;mssql.textsize = 4096 | ||
| 782 | - | ||
| 783 | -; Limits the number of records in each batch. 0 = all records in one batch. | ||
| 784 | -;mssql.batchsize = 0 | ||
| 785 | - | ||
| 786 | -[Assertion] | ||
| 787 | -; Assert(expr); active by default. | ||
| 788 | -;assert.active = On | ||
| 789 | - | ||
| 790 | -; Issue a PHP warning for each failed assertion. | ||
| 791 | -;assert.warning = On | ||
| 792 | - | ||
| 793 | -; Don't bail out by default. | ||
| 794 | -;assert.bail = Off | ||
| 795 | - | ||
| 796 | -; User-function to be called if an assertion fails. | ||
| 797 | -;assert.callback = 0 | ||
| 798 | - | ||
| 799 | -; Eval the expression with current error_reporting(). Set to true if you want | ||
| 800 | -; error_reporting(0) around the eval(). | ||
| 801 | -;assert.quiet_eval = 0 | ||
| 802 | - | ||
| 803 | -[Ingres II] | ||
| 804 | -; Allow or prevent persistent links. | ||
| 805 | -ingres.allow_persistent = On | ||
| 806 | - | ||
| 807 | -; Maximum number of persistent links. -1 means no limit. | ||
| 808 | -ingres.max_persistent = -1 | ||
| 809 | - | ||
| 810 | -; Maximum number of links, including persistents. -1 means no limit. | ||
| 811 | -ingres.max_links = -1 | ||
| 812 | - | ||
| 813 | -; Default database (format: [node_id::]dbname[/srv_class]). | ||
| 814 | -ingres.default_database = | ||
| 815 | - | ||
| 816 | -; Default user. | ||
| 817 | -ingres.default_user = | ||
| 818 | - | ||
| 819 | -; Default password. | ||
| 820 | -ingres.default_password = | ||
| 821 | - | ||
| 822 | -[Verisign Payflow Pro] | ||
| 823 | -; Default Payflow Pro server. | ||
| 824 | -pfpro.defaulthost = "test-payflow.verisign.com" | ||
| 825 | - | ||
| 826 | -; Default port to connect to. | ||
| 827 | -pfpro.defaultport = 443 | ||
| 828 | - | ||
| 829 | -; Default timeout in seconds. | ||
| 830 | -pfpro.defaulttimeout = 30 | ||
| 831 | - | ||
| 832 | -; Default proxy IP address (if required). | ||
| 833 | -;pfpro.proxyaddress = | ||
| 834 | - | ||
| 835 | -; Default proxy port. | ||
| 836 | -;pfpro.proxyport = | ||
| 837 | - | ||
| 838 | -; Default proxy logon. | ||
| 839 | -;pfpro.proxylogon = | ||
| 840 | - | ||
| 841 | -; Default proxy password. | ||
| 842 | -;pfpro.proxypassword = | ||
| 843 | - | ||
| 844 | -[Sockets] | ||
| 845 | -; Use the system read() function instead of the php_read() wrapper. | ||
| 846 | -sockets.use_system_read = On | ||
| 847 | - | ||
| 848 | -[com] | ||
| 849 | -; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs | ||
| 850 | -;com.typelib_file = | ||
| 851 | -; allow Distributed-COM calls | ||
| 852 | -;com.allow_dcom = true | ||
| 853 | -; autoregister constants of a components typlib on com_load() | ||
| 854 | -;com.autoregister_typelib = true | ||
| 855 | -; register constants casesensitive | ||
| 856 | -;com.autoregister_casesensitive = false | ||
| 857 | -; show warnings on duplicate constat registrations | ||
| 858 | -;com.autoregister_verbose = true | ||
| 859 | - | ||
| 860 | -[Printer] | ||
| 861 | -;printer.default_printer = "" | ||
| 862 | - | ||
| 863 | -[mbstring] | ||
| 864 | -;mbstring.internal_encoding = EUC-JP | ||
| 865 | -;mbstring.http_input = auto | ||
| 866 | -;mbstring.http_output = SJIS | ||
| 867 | -;mbstring.detect_order = auto | ||
| 868 | -;mbstring.substitutemax_character = none; | ||
| 869 | - | ||
| 870 | -[FrontBase] | ||
| 871 | -;fbsql.allow_persistent = On | ||
| 872 | -;fbsql.autocommit = On | ||
| 873 | -;fbsql.default_database = | ||
| 874 | -;fbsql.default_database_password = | ||
| 875 | -;fbsql.default_host = | ||
| 876 | -;fbsql.default_password = | ||
| 877 | -;fbsql.default_user = "_SYSTEM" | ||
| 878 | -;fbsql.generate_warnings = Off | ||
| 879 | -;fbsql.max_connections = 128 | ||
| 880 | -;fbsql.max_links = 128 | ||
| 881 | -;fbsql.max_persistent = -1 | ||
| 882 | -;fbsql.max_results = 128 | ||
| 883 | -;fbsql.batchSize = 1000 | ||
| 884 | - | ||
| 885 | -; Local Variables: | ||
| 886 | -; tab-width: 4 | ||
| 887 | -; End: |