[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 # 2 # Based upon the NCSA server configuration files originally by Rob McCool. 3 # 4 # This is the main Apache server configuration file. It contains the 5 # configuration directives that give the server its instructions. 6 # See <URL:http://httpd.apache.org/docs-2.0/> for detailed information about 7 # the directives. 8 # 9 # Do NOT simply read the instructions in here without understanding 10 # what they do. They're here only as hints or reminders. If you are unsure 11 # consult the online docs. You have been warned. 12 # 13 # The configuration directives are grouped into three basic sections: 14 # 1. Directives that control the operation of the Apache server process as a 15 # whole (the 'global environment'). 16 # 2. Directives that define the parameters of the 'main' or 'default' server, 17 # which responds to requests that aren't handled by a virtual host. 18 # These directives also provide default values for the settings 19 # of all virtual hosts. 20 # 3. Settings for virtual hosts, which allow Web requests to be sent to 21 # different IP addresses or hostnames and have them handled by the 22 # same Apache server process. 23 # 24 # Configuration and logfile names: If the filenames you specify for many 25 # of the server's control files begin with "/" (or "drive:/" for Win32), the 26 # server will use that explicit path. If the filenames do *not* begin 27 # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" 28 # with ServerRoot set to "VTIGERCRM/apache" will be interpreted by the 29 # server as "VTIGERCRM/apache/logs/foo.log". 30 # 31 32 ### Section 1: Global Environment 33 # 34 # The directives in this section affect the overall operation of Apache, 35 # such as the number of concurrent requests it can handle or where it 36 # can find its configuration files. 37 # 38 39 # 40 # ServerRoot: The top of the directory tree under which the server's 41 # configuration, error, and log files are kept. 42 # 43 # NOTE! If you intend to place this on an NFS (or otherwise network) 44 # mounted filesystem then please read the LockFile documentation (available 45 # at <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>); 46 # you will save yourself a lot of trouble. 47 # 48 # Do NOT add a slash at the end of the directory path. 49 # 50 ServerRoot "VTIGERCRM/apache" 51 #refer http://www.faqs.org/docs/securing/chap29sec245.html 52 MinSpareServers 16 53 MaxSpareServers 64 54 StartServers 16 55 MaxClients 512 56 MaxRequestsPerChild 100000 57 58 59 # 60 # The accept serialization lock file MUST BE STORED ON A LOCAL DISK. 61 # 62 <IfModule !mpm_winnt.c> 63 <IfModule !mpm_netware.c> 64 #LockFile logs/accept.lock 65 </IfModule> 66 </IfModule> 67 68 # 69 # ScoreBoardFile: File used to store internal server process information. 70 # If unspecified (the default), the scoreboard will be stored in an 71 # anonymous shared memory segment, and will be unavailable to third-party 72 # applications. 73 # If specified, ensure that no two invocations of Apache share the same 74 # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK. 75 # 76 <IfModule !mpm_netware.c> 77 <IfModule !perchild.c> 78 #ScoreBoardFile logs/apache_runtime_status 79 </IfModule> 80 </IfModule> 81 82 83 # 84 # PidFile: The file in which the server should record its process 85 # identification number when it starts. 86 # 87 <IfModule !mpm_netware.c> 88 PidFile logs/httpd.pid 89 </IfModule> 90 91 # 92 # Timeout: The number of seconds before receives and sends time out. 93 # 94 Timeout 300 95 96 # 97 # KeepAlive: Whether or not to allow persistent connections (more than 98 # one request per connection). Set to "Off" to deactivate. 99 # 100 KeepAlive On 101 102 # 103 # MaxKeepAliveRequests: The maximum number of requests to allow 104 # during a persistent connection. Set to 0 to allow an unlimited amount. 105 # We recommend you leave this number high, for maximum performance. 106 # referred http://www.ece.concordia.ca/~daniel/tips/apache_tuning.html 107 MaxKeepAliveRequests 100 108 # 109 # KeepAliveTimeout: Number of seconds to wait for the next request from the 110 # same client on the same connection. 111 # 112 KeepAliveTimeout 10 113 114 ## 115 ## Server-Pool Size Regulation (MPM specific) 116 ## 117 118 # prefork MPM 119 # StartServers: number of server processes to start 120 # MinSpareServers: minimum number of server processes which are kept spare 121 # MaxSpareServers: maximum number of server processes which are kept spare 122 # MaxClients: maximum number of server processes allowed to start 123 # MaxRequestsPerChild: maximum number of requests a server process serves 124 <IfModule prefork.c> 125 StartServers 5 126 MinSpareServers 10 127 MaxSpareServers 15 128 MaxClients 150 129 MaxRequestsPerChild 100000 130 </IfModule> 131 132 # worker MPM 133 # StartServers: initial number of server processes to start 134 # MaxClients: maximum number of simultaneous client connections 135 # MinSpareThreads: minimum number of worker threads which are kept spare 136 # MaxSpareThreads: maximum number of worker threads which are kept spare 137 # ThreadsPerChild: constant number of worker threads in each server process 138 # MaxRequestsPerChild: maximum number of requests a server process serves 139 <IfModule worker.c> 140 StartServers 10 141 MaxClients 150 142 MinSpareThreads 25 143 MaxSpareThreads 75 144 ThreadsPerChild 25 145 MaxRequestsPerChild 20 146 </IfModule> 147 148 # perchild MPM 149 # NumServers: constant number of server processes 150 # StartThreads: initial number of worker threads in each server process 151 # MinSpareThreads: minimum number of worker threads which are kept spare 152 # MaxSpareThreads: maximum number of worker threads which are kept spare 153 # MaxThreadsPerChild: maximum number of worker threads in each server process 154 # MaxRequestsPerChild: maximum number of connections per server process 155 <IfModule perchild.c> 156 NumServers 5 157 StartThreads 5 158 MinSpareThreads 5 159 MaxSpareThreads 10 160 MaxThreadsPerChild 20 161 MaxRequestsPerChild 0 162 </IfModule> 163 164 # WinNT MPM 165 # ThreadsPerChild: constant number of worker threads in the server process 166 # MaxRequestsPerChild: maximum number of requests a server process serves 167 <IfModule mpm_winnt.c> 168 ThreadsPerChild 250 169 MaxRequestsPerChild 0 170 </IfModule> 171 172 # BeOS MPM 173 # StartThreads: how many threads do we initially spawn? 174 # MaxClients: max number of threads we can have (1 thread == 1 client) 175 # MaxRequestsPerThread: maximum number of requests each thread will process 176 <IfModule beos.c> 177 StartThreads 10 178 MaxClients 50 179 MaxRequestsPerThread 10000 180 </IfModule> 181 182 # NetWare MPM 183 # ThreadStackSize: Stack size allocated for each worker thread 184 # StartThreads: Number of worker threads launched at server startup 185 # MinSpareThreads: Minimum number of idle threads, to handle request spikes 186 # MaxSpareThreads: Maximum number of idle threads 187 # MaxThreads: Maximum number of worker threads alive at the same time 188 # MaxRequestsPerChild: Maximum number of requests a thread serves. It is 189 # recommended that the default value of 0 be set for this 190 # directive on NetWare. This will allow the thread to 191 # continue to service requests indefinitely. 192 <IfModule mpm_netware.c> 193 ThreadStackSize 65536 194 StartThreads 250 195 MinSpareThreads 25 196 MaxSpareThreads 250 197 MaxThreads 1000 198 MaxRequestsPerChild 0 199 MaxMemFree 100 200 </IfModule> 201 202 # OS/2 MPM 203 # StartServers: Number of server processes to maintain 204 # MinSpareThreads: Minimum number of idle threads per process, 205 # to handle request spikes 206 # MaxSpareThreads: Maximum number of idle threads per process 207 # MaxRequestsPerChild: Maximum number of connections per server process 208 <IfModule mpmt_os2.c> 209 StartServers 2 210 MinSpareThreads 5 211 MaxSpareThreads 10 212 MaxRequestsPerChild 0 213 </IfModule> 214 215 # 216 # Listen: Allows you to bind Apache to specific IP addresses and/or 217 # ports, instead of the default. See also the <VirtualHost> 218 # directive. 219 # 220 # Change this to Listen on specific IP addresses as shown below to 221 # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) 222 # 223 #Listen 12.34.56.78:80 224 225 Listen WEBSERVER_PORT 226 227 # 228 # Dynamic Shared Object (DSO) Support 229 # 230 # To be able to use the functionality of a module which was built as a DSO you 231 # have to place corresponding `LoadModule' lines at this location so the 232 # directives contained in it are actually available _before_ they are used. 233 # Statically compiled modules (those listed by `httpd -l') do not need 234 # to be loaded here. 235 # 236 # Example: 237 # LoadModule foo_module modules/mod_foo.so 238 LoadModule php5_module modules/libphp5.so 239 # 240 241 # 242 # ExtendedStatus controls whether Apache will generate "full" status 243 # information (ExtendedStatus On) or just basic information (ExtendedStatus 244 # Off) when the "server-status" handler is called. The default is Off. 245 # 246 #ExtendedStatus On 247 248 ### Section 2: 'Main' server configuration 249 # 250 # The directives in this section set up the values used by the 'main' 251 # server, which responds to any requests that aren't handled by a 252 # <VirtualHost> definition. These values also provide defaults for 253 # any <VirtualHost> containers you may define later in the file. 254 # 255 # All of these directives may appear inside <VirtualHost> containers, 256 # in which case these default settings will be overridden for the 257 # virtual host being defined. 258 # 259 260 <IfModule !mpm_winnt.c> 261 <IfModule !mpm_netware.c> 262 # 263 # If you wish httpd to run as a different user or group, you must run 264 # httpd as root initially and it will switch. 265 # 266 # User/Group: The name (or #number) of the user/group to run httpd as. 267 # . On SCO (ODT 3) use "User nouser" and "Group nogroup". 268 # . On HPUX you may not be able to use shared memory as nobody, and the 269 # suggested workaround is to create a user www and use that user. 270 # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) 271 # when the value of (unsigned)Group is above 60000; 272 # don't use Group #-1 on these systems! 273 # 274 User nobody 275 Group #-1 276 </IfModule> 277 </IfModule> 278 279 # 280 # ServerAdmin: Your address, where problems with the server should be 281 # e-mailed. This address appears on some server-generated pages, such 282 # as error documents. e.g. [email protected] 283 # 284 ServerAdmin [email protected] 285 286 # 287 # ServerName gives the name and port that the server uses to identify itself. 288 # This can often be determined automatically, but we recommend you specify 289 # it explicitly to prevent problems during startup. 290 # 291 # If this is not set to valid DNS name for your host, server-generated 292 # redirections will not work. See also the UseCanonicalName directive. 293 # 294 # If your host doesn't have a registered DNS name, enter its IP address here. 295 # You will have to access it by its address anyway, and this will make 296 # redirections work in a sensible way. 297 # 298 #ServerName www.example.com:80 299 300 # 301 # UseCanonicalName: Determines how Apache constructs self-referencing 302 # URLs and the SERVER_NAME and SERVER_PORT variables. 303 # When set "Off", Apache will use the Hostname and Port supplied 304 # by the client. When set "On", Apache will use the value of the 305 # ServerName directive. 306 # 307 UseCanonicalName Off 308 309 # 310 # DocumentRoot: The directory out of which you will serve your 311 # documents. By default, all requests are taken from this directory, but 312 # symbolic links and aliases may be used to point to other locations. 313 # 314 DocumentRoot "VTIGERCRM/apache/htdocs/vtigerCRM" 315 316 # 317 # Each directory to which Apache has access can be configured with respect 318 # to which services and features are allowed and/or disabled in that 319 # directory (and its subdirectories). 320 # 321 # First, we configure the "default" to be a very restrictive set of 322 # features. 323 # 324 <Directory /> 325 Options FollowSymLinks 326 AllowOverride None 327 </Directory> 328 329 # 330 # Note that from this point forward you must specifically allow 331 # particular features to be enabled - so if something's not working as 332 # you might expect, make sure that you have specifically enabled it 333 # below. 334 # 335 336 # 337 # This should be changed to whatever you set DocumentRoot to. 338 # 339 <Directory "VTIGERCRM/apache/htdocs"> 340 341 # 342 # Possible values for the Options directive are "None", "All", 343 # or any combination of: 344 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews 345 # 346 # Note that "MultiViews" must be named *explicitly* --- "Options All" 347 # doesn't give it to you. 348 # 349 # The Options directive is both complicated and important. Please see 350 # http://httpd.apache.org/docs-2.0/mod/core.html#options 351 # for more information. 352 # 353 Options Indexes FollowSymLinks 354 355 # 356 # AllowOverride controls what directives may be placed in .htaccess files. 357 # It can be "All", "None", or any combination of the keywords: 358 # Options FileInfo AuthConfig Limit 359 # 360 AllowOverride All 361 362 # 363 # Controls who can get stuff from this server. 364 # 365 Order allow,deny 366 Allow from all 367 368 </Directory> 369 370 # 371 # UserDir: The name of the directory that is appended onto a user's home 372 # directory if a ~user request is received. 373 # 374 UserDir public_html 375 376 # 377 # Control access to UserDir directories. The following is an example 378 # for a site where these directories are restricted to read-only. 379 # 380 #<Directory /home/*/public_html> 381 # AllowOverride FileInfo AuthConfig Limit Indexes 382 # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec 383 # <Limit GET POST OPTIONS PROPFIND> 384 # Order allow,deny 385 # Allow from all 386 # </Limit> 387 # <LimitExcept GET POST OPTIONS PROPFIND> 388 # Order deny,allow 389 # Deny from all 390 # </LimitExcept> 391 #</Directory> 392 393 # 394 # DirectoryIndex: sets the file that Apache will serve if a directory 395 # is requested. 396 # 397 # The index.html.var file (a type-map) is used to deliver content- 398 # negotiated documents. The MultiViews Option can be used for the 399 # same purpose, but it is much slower. 400 # 401 DirectoryIndex index.html index.html.var index.php 402 403 # 404 # AccessFileName: The name of the file to look for in each directory 405 # for additional configuration directives. See also the AllowOverride 406 # directive. 407 # 408 AccessFileName .htaccess 409 410 # 411 # The following lines prevent .htaccess and .htpasswd files from being 412 # viewed by Web clients. 413 # 414 <Files ~ "^\.ht"> 415 Order allow,deny 416 Deny from all 417 </Files> 418 419 # 420 # TypesConfig describes where the mime.types file (or equivalent) is 421 # to be found. 422 # 423 TypesConfig conf/mime.types 424 425 # 426 # DefaultType is the default MIME type the server will use for a document 427 # if it cannot otherwise determine one, such as from filename extensions. 428 # If your server contains mostly text or HTML documents, "text/plain" is 429 # a good value. If most of your content is binary, such as applications 430 # or images, you may want to use "application/octet-stream" instead to 431 # keep browsers from trying to display binary files as though they are 432 # text. 433 # 434 DefaultType text/plain 435 436 # 437 # The mod_mime_magic module allows the server to use various hints from the 438 # contents of the file itself to determine its type. The MIMEMagicFile 439 # directive tells the module where the hint definitions are located. 440 # 441 <IfModule mod_mime_magic.c> 442 MIMEMagicFile conf/magic 443 </IfModule> 444 445 # 446 # HostnameLookups: Log the names of clients or just their IP addresses 447 # e.g., www.apache.org (on) or 204.62.129.132 (off). 448 # The default is off because it'd be overall better for the net if people 449 # had to knowingly turn this feature on, since enabling it means that 450 # each client request will result in AT LEAST one lookup request to the 451 # nameserver. 452 # 453 HostnameLookups Off 454 455 # 456 # EnableMMAP: Control whether memory-mapping is used to deliver 457 # files (assuming that the underlying OS supports it). 458 # The default is on; turn this off if you serve from NFS-mounted 459 # filesystems. On some systems, turning it off (regardless of 460 # filesystem) can improve performance; for details, please see 461 # http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap 462 # 463 #EnableMMAP off 464 465 # 466 # EnableSendfile: Control whether the sendfile kernel support is 467 # used to deliver files (assuming that the OS supports it). 468 # The default is on; turn this off if you serve from NFS-mounted 469 # filesystems. Please see 470 # http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile 471 # 472 #EnableSendfile off 473 474 # 475 # ErrorLog: The location of the error log file. 476 # If you do not specify an ErrorLog directive within a <VirtualHost> 477 # container, error messages relating to that virtual host will be 478 # logged here. If you *do* define an error logfile for a <VirtualHost> 479 # container, that host's errors will be logged there and not here. 480 # 481 ErrorLog logs/error_log 482 483 # 484 # LogLevel: Control the number of messages logged to the error_log. 485 # Possible values include: debug, info, notice, warn, error, crit, 486 # alert, emerg. 487 # 488 LogLevel warn 489 490 # 491 # The following directives define some format nicknames for use with 492 # a CustomLog directive (see below). 493 # 494 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 495 LogFormat "%h %l %u %t \"%r\" %>s %b" common 496 LogFormat "%{Referer}i -> %U" referer 497 LogFormat "%{User-agent}i" agent 498 499 # You need to enable mod_logio.c to use %I and %O 500 #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio 501 502 # 503 # The location and format of the access logfile (Common Logfile Format). 504 # If you do not define any access logfiles within a <VirtualHost> 505 # container, they will be logged here. Contrariwise, if you *do* 506 # define per-<VirtualHost> access logfiles, transactions will be 507 # logged therein and *not* in this file. 508 # 509 CustomLog logs/access_log common 510 511 # 512 # If you would like to have agent and referer logfiles, uncomment the 513 # following directives. 514 # 515 #CustomLog logs/referer_log referer 516 #CustomLog logs/agent_log agent 517 518 # 519 # If you prefer a single logfile with access, agent, and referer information 520 # (Combined Logfile Format) you can use the following directive. 521 # 522 #CustomLog logs/access_log combined 523 524 # 525 # ServerTokens 526 # This directive configures what you return as the Server HTTP response 527 # Header. The default is 'Full' which sends information about the OS-Type 528 # and compiled in modules. 529 # Set to one of: Full | OS | Minor | Minimal | Major | Prod 530 # where Full conveys the most information, and Prod the least. 531 # 532 ServerTokens Full 533 534 # 535 # Optionally add a line containing the server version and virtual host 536 # name to server-generated pages (internal error documents, FTP directory 537 # listings, mod_status and mod_info output etc., but not CGI generated 538 # documents or custom error documents). 539 # Set to "EMail" to also include a mailto: link to the ServerAdmin. 540 # Set to one of: On | Off | EMail 541 # 542 ServerSignature On 543 544 # 545 # Aliases: Add here as many aliases as you need (with no limit). The format is 546 # Alias fakename realname 547 # 548 # Note that if you include a trailing / on fakename then the server will 549 # require it to be present in the URL. So "/icons" isn't aliased in this 550 # example, only "/icons/". If the fakename is slash-terminated, then the 551 # realname must also be slash terminated, and if the fakename omits the 552 # trailing slash, the realname must also omit it. 553 # 554 # We include the /icons/ alias for FancyIndexed directory listings. If you 555 # do not use FancyIndexing, you may comment this out. 556 # 557 Alias /icons/ "VTIGERCRM/apache/icons/" 558 559 <Directory "VTIGERCRM/apache/icons"> 560 Options Indexes MultiViews 561 AllowOverride None 562 Order allow,deny 563 Allow from all 564 </Directory> 565 566 # 567 # This should be changed to the ServerRoot/manual/. The alias provides 568 # the manual, even if you choose to move your DocumentRoot. You may comment 569 # this out if you do not care for the documentation. 570 # 571 AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "VTIGERCRM/apache/manual$1" 572 573 <Directory "VTIGERCRM/apache/manual"> 574 Options Indexes 575 AllowOverride None 576 Order allow,deny 577 Allow from all 578 579 <Files *.html> 580 SetHandler type-map 581 </Files> 582 583 SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1 584 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 585 </Directory> 586 587 # 588 # ScriptAlias: This controls which directories contain server scripts. 589 # ScriptAliases are essentially the same as Aliases, except that 590 # documents in the realname directory are treated as applications and 591 # run by the server when requested rather than as documents sent to the client. 592 # The same rules about trailing "/" apply to ScriptAlias directives as to 593 # Alias. 594 # 595 ScriptAlias /cgi-bin/ "VTIGERCRM/apache/cgi-bin/" 596 597 <IfModule mod_cgid.c> 598 # 599 # Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path> 600 # for setting UNIX socket for communicating with cgid. 601 # 602 #Scriptsock logs/cgisock 603 </IfModule> 604 605 # 606 # "VTIGERCRM/apache/cgi-bin" should be changed to whatever your ScriptAliased 607 # CGI directory exists, if you have that configured. 608 # 609 <Directory "VTIGERCRM/apache/cgi-bin"> 610 AllowOverride None 611 Options None 612 Order allow,deny 613 Allow from all 614 </Directory> 615 616 # 617 # Redirect allows you to tell clients about documents which used to exist in 618 # your server's namespace, but do not anymore. This allows you to tell the 619 # clients where to look for the relocated document. 620 # Example: 621 # Redirect permanent /foo http://www.example.com/bar 622 623 # 624 # Directives controlling the display of server-generated directory listings. 625 # 626 627 # 628 # IndexOptions: Controls the appearance of server-generated directory 629 # listings. 630 # 631 IndexOptions FancyIndexing VersionSort 632 633 # 634 # AddIcon* directives tell the server which icon to show for different 635 # files or filename extensions. These are only displayed for 636 # FancyIndexed directories. 637 # 638 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip 639 640 AddIconByType (TXT,/icons/text.gif) text/* 641 AddIconByType (IMG,/icons/image2.gif) image/* 642 AddIconByType (SND,/icons/sound2.gif) audio/* 643 AddIconByType (VID,/icons/movie.gif) video/* 644 645 AddIcon /icons/binary.gif .bin .exe 646 AddIcon /icons/binhex.gif .hqx 647 AddIcon /icons/tar.gif .tar 648 AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv 649 AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip 650 AddIcon /icons/a.gif .ps .ai .eps 651 AddIcon /icons/layout.gif .html .shtml .htm .pdf 652 AddIcon /icons/text.gif .txt 653 AddIcon /icons/c.gif .c 654 AddIcon /icons/p.gif .pl .py 655 AddIcon /icons/f.gif .for 656 AddIcon /icons/dvi.gif .dvi 657 AddIcon /icons/uuencoded.gif .uu 658 AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl 659 AddIcon /icons/tex.gif .tex 660 AddIcon /icons/bomb.gif core 661 662 AddIcon /icons/back.gif .. 663 AddIcon /icons/hand.right.gif README 664 AddIcon /icons/folder.gif ^^DIRECTORY^^ 665 AddIcon /icons/blank.gif ^^BLANKICON^^ 666 667 # 668 # DefaultIcon is which icon to show for files which do not have an icon 669 # explicitly set. 670 # 671 DefaultIcon /icons/unknown.gif 672 673 # 674 # AddDescription allows you to place a short description after a file in 675 # server-generated indexes. These are only displayed for FancyIndexed 676 # directories. 677 # Format: AddDescription "description" filename 678 # 679 #AddDescription "GZIP compressed document" .gz 680 #AddDescription "tar archive" .tar 681 #AddDescription "GZIP compressed tar archive" .tgz 682 683 # 684 # ReadmeName is the name of the README file the server will look for by 685 # default, and append to directory listings. 686 # 687 # HeaderName is the name of a file which should be prepended to 688 # directory indexes. 689 ReadmeName README.html 690 HeaderName HEADER.html 691 692 # 693 # IndexIgnore is a set of filenames which directory indexing should ignore 694 # and not include in the listing. Shell-style wildcarding is permitted. 695 # 696 IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t 697 698 # 699 # DefaultLanguage and AddLanguage allows you to specify the language of 700 # a document. You can then use content negotiation to give a browser a 701 # file in a language the user can understand. 702 # 703 # Specify a default language. This means that all data 704 # going out without a specific language tag (see below) will 705 # be marked with this one. You probably do NOT want to set 706 # this unless you are sure it is correct for all cases. 707 # 708 # * It is generally better to not mark a page as 709 # * being a certain language than marking it with the wrong 710 # * language! 711 # 712 # DefaultLanguage nl 713 # 714 # Note 1: The suffix does not have to be the same as the language 715 # keyword --- those with documents in Polish (whose net-standard 716 # language code is pl) may wish to use "AddLanguage pl .po" to 717 # avoid the ambiguity with the common suffix for perl scripts. 718 # 719 # Note 2: The example entries below illustrate that in some cases 720 # the two character 'Language' abbreviation is not identical to 721 # the two character 'Country' code for its country, 722 # E.g. 'Danmark/dk' versus 'Danish/da'. 723 # 724 # Note 3: In the case of 'ltz' we violate the RFC by using a three char 725 # specifier. There is 'work in progress' to fix this and get 726 # the reference data for rfc1766 cleaned up. 727 # 728 # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl) 729 # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de) 730 # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja) 731 # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn) 732 # Norwegian (no) - Polish (pl) - Portugese (pt) 733 # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv) 734 # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW) 735 # 736 AddLanguage ca .ca 737 AddLanguage cs .cz .cs 738 AddLanguage da .dk 739 AddLanguage de .de 740 AddLanguage el .el 741 AddLanguage en .en 742 AddLanguage eo .eo 743 AddLanguage es .es 744 AddLanguage et .et 745 AddLanguage fr .fr 746 AddLanguage he .he 747 AddLanguage hr .hr 748 AddLanguage it .it 749 AddLanguage ja .ja 750 AddLanguage ko .ko 751 AddLanguage ltz .ltz 752 AddLanguage nl .nl 753 AddLanguage nn .nn 754 AddLanguage no .no 755 AddLanguage pl .po 756 AddLanguage pt .pt 757 AddLanguage pt-BR .pt-br 758 AddLanguage ru .ru 759 AddLanguage sv .sv 760 AddLanguage zh-CN .zh-cn 761 AddLanguage zh-TW .zh-tw 762 763 # 764 # LanguagePriority allows you to give precedence to some languages 765 # in case of a tie during content negotiation. 766 # 767 # Just list the languages in decreasing order of preference. We have 768 # more or less alphabetized them here. You probably want to change this. 769 # 770 LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW 771 772 # 773 # ForceLanguagePriority allows you to serve a result page rather than 774 # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback) 775 # [in case no accepted languages matched the available variants] 776 # 777 ForceLanguagePriority Prefer Fallback 778 779 # 780 # Specify a default charset for all pages sent out. This is 781 # always a good idea and opens the door for future internationalisation 782 # of your web site, should you ever want it. Specifying it as 783 # a default does little harm; as the standard dictates that a page 784 # is in iso-8859-1 (latin1) unless specified otherwise i.e. you 785 # are merely stating the obvious. There are also some security 786 # reasons in browsers, related to javascript and URL parsing 787 # which encourage you to always set a default char set. 788 # 789 #AddDefaultCharset ISO-8859-1 790 AddDefaultCharset UTF-8 791 792 # 793 # Commonly used filename extensions to character sets. You probably 794 # want to avoid clashes with the language extensions, unless you 795 # are good at carefully testing your setup after each change. 796 # See http://www.iana.org/assignments/character-sets for the 797 # official list of charset names and their respective RFCs. 798 # 799 AddCharset ISO-8859-1 .iso8859-1 .latin1 800 AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen 801 AddCharset ISO-8859-3 .iso8859-3 .latin3 802 AddCharset ISO-8859-4 .iso8859-4 .latin4 803 AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru 804 AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb 805 AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk 806 AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb 807 AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk 808 AddCharset ISO-2022-JP .iso2022-jp .jis 809 AddCharset ISO-2022-KR .iso2022-kr .kis 810 AddCharset ISO-2022-CN .iso2022-cn .cis 811 AddCharset Big5 .Big5 .big5 812 # For russian, more than one charset is used (depends on client, mostly): 813 AddCharset WINDOWS-1251 .cp-1251 .win-1251 814 AddCharset CP866 .cp866 815 AddCharset KOI8-r .koi8-r .koi8-ru 816 AddCharset KOI8-ru .koi8-uk .ua 817 AddCharset ISO-10646-UCS-2 .ucs2 818 AddCharset ISO-10646-UCS-4 .ucs4 819 AddCharset UTF-8 .utf8 820 821 # The set below does not map to a specific (iso) standard 822 # but works on a fairly wide range of browsers. Note that 823 # capitalization actually matters (it should not, but it 824 # does for some browsers). 825 # 826 # See http://www.iana.org/assignments/character-sets 827 # for a list of sorts. But browsers support few. 828 # 829 AddCharset GB2312 .gb2312 .gb 830 AddCharset utf-7 .utf7 831 AddCharset utf-8 .utf8 832 AddCharset big5 .big5 .b5 833 AddCharset EUC-TW .euc-tw 834 AddCharset EUC-JP .euc-jp 835 AddCharset EUC-KR .euc-kr 836 AddCharset shift_jis .sjis 837 838 # 839 # AddType allows you to add to or override the MIME configuration 840 # file mime.types for specific file types. 841 # 842 #AddType application/x-tar .tgz 843 # 844 # AddEncoding allows you to have certain browsers uncompress 845 # information on the fly. Note: Not all browsers support this. 846 # Despite the name similarity, the following Add* directives have nothing 847 # to do with the FancyIndexing customization directives above. 848 # 849 #AddEncoding x-compress .Z 850 #AddEncoding x-gzip .gz .tgz 851 # 852 # If the AddEncoding directives above are commented-out, then you 853 # probably should define those extensions to indicate media types: 854 # 855 AddType application/x-compress .Z 856 AddType application/x-gzip .gz .tgz 857 858 # 859 # AddHandler allows you to map certain file extensions to "handlers": 860 # actions unrelated to filetype. These can be either built into the server 861 # or added with the Action directive (see below) 862 # 863 # To use CGI scripts outside of ScriptAliased directories: 864 # (You will also need to add "ExecCGI" to the "Options" directive.) 865 # 866 #AddHandler cgi-script .cgi 867 868 # 869 # For files that include their own HTTP headers: 870 # 871 #AddHandler send-as-is asis 872 873 # 874 # For server-parsed imagemap files: 875 # 876 #AddHandler imap-file map 877 878 # 879 # For type maps (negotiated resources): 880 # (This is enabled by default to allow the Apache "It Worked" page 881 # to be distributed in multiple languages.) 882 # 883 AddHandler type-map var 884 885 # 886 # Filters allow you to process content before it is sent to the client. 887 # 888 # To parse .shtml files for server-side includes (SSI): 889 # (You will also need to add "Includes" to the "Options" directive.) 890 # 891 #AddType text/html .shtml 892 #AddOutputFilter INCLUDES .shtml 893 894 # 895 # Action lets you define media types that will execute a script whenever 896 # a matching file is called. This eliminates the need for repeated URL 897 # pathnames for oft-used CGI file processors. 898 # Format: Action media/type /cgi-script/location 899 # Format: Action handler-name /cgi-script/location 900 # 901 902 # 903 # Customizable error responses come in three flavors: 904 # 1) plain text 2) local redirects 3) external redirects 905 # 906 # Some examples: 907 #ErrorDocument 500 "The server made a boo boo." 908 #ErrorDocument 404 /missing.html 909 #ErrorDocument 404 "/cgi-bin/missing_handler.pl" 910 #ErrorDocument 402 http://www.example.com/subscription_info.html 911 # 912 913 # 914 # Putting this all together, we can internationalize error responses. 915 # 916 # We use Alias to redirect any /error/HTTP_<error>.html.var response to 917 # our collection of by-error message multi-language collections. We use 918 # includes to substitute the appropriate text. 919 # 920 # You can modify the messages' appearance without changing any of the 921 # default HTTP_<error>.html.var files by adding the line: 922 # 923 # Alias /error/include/ "/your/include/path/" 924 # 925 # which allows you to create your own set of files by starting with the 926 # VTIGERCRM/apache/error/include/ files and copying them to /your/include/path/, 927 # even on a per-VirtualHost basis. The default include files will display 928 # your Apache version number and your ServerAdmin email address regardless 929 # of the setting of ServerSignature. 930 # 931 # The internationalized error documents require mod_alias, mod_include 932 # and mod_negotiation. To activate them, uncomment the following 30 lines. 933 934 # Alias /error/ "VTIGERCRM/apache/error/" 935 # 936 # <Directory "VTIGERCRM/apache/error"> 937 # AllowOverride None 938 # Options IncludesNoExec 939 # AddOutputFilter Includes html 940 # AddHandler type-map var 941 # Order allow,deny 942 # Allow from all 943 # LanguagePriority en cs de es fr it nl sv pt-br ro 944 # ForceLanguagePriority Prefer Fallback 945 # </Directory> 946 # 947 # ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var 948 # ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var 949 # ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var 950 # ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var 951 # ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var 952 # ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var 953 # ErrorDocument 410 /error/HTTP_GONE.html.var 954 # ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var 955 # ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var 956 # ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var 957 # ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var 958 # ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var 959 # ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var 960 # ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var 961 # ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var 962 # ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var 963 # ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var 964 965 966 # 967 # The following directives modify normal HTTP response behavior to 968 # handle known problems with browser implementations. 969 # 970 BrowserMatch "Mozilla/2" nokeepalive 971 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 972 BrowserMatch "RealPlayer 4\.0" force-response-1.0 973 BrowserMatch "Java/1\.0" force-response-1.0 974 BrowserMatch "JDK/1\.0" force-response-1.0 975 976 # 977 # The following directive disables redirects on non-GET requests for 978 # a directory that does not include the trailing slash. This fixes a 979 # problem with Microsoft WebFolders which does not appropriately handle 980 # redirects for folders with DAV methods. 981 # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV. 982 # 983 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully 984 BrowserMatch "^WebDrive" redirect-carefully 985 BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully 986 BrowserMatch "^gnome-vfs" redirect-carefully 987 988 # 989 # Allow server status reports generated by mod_status, 990 # with the URL of http://servername/server-status 991 # Change the ".example.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 .example.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 ".example.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 .example.com 1010 #</Location> 1011 1012 1013 # 1014 # Bring in additional module-specific configurations 1015 # 1016 <IfModule mod_ssl.c> 1017 Include conf/ssl.conf 1018 </IfModule> 1019 1020 1021 ### Section 3: Virtual Hosts 1022 # 1023 # VirtualHost: If you want to maintain multiple domains/hostnames on your 1024 # machine you can setup VirtualHost containers for them. Most configurations 1025 # use only name-based virtual hosts so the server doesn't need to worry about 1026 # IP addresses. This is indicated by the asterisks in the directives below. 1027 # 1028 # Please see the documentation at 1029 # <URL:http://httpd.apache.org/docs-2.0/vhosts/> 1030 # for further details before you try to setup virtual hosts. 1031 # 1032 # You may use the command line option '-S' to verify your virtual host 1033 # configuration. 1034 1035 # 1036 # Use name-based virtual hosting. 1037 # 1038 #NameVirtualHost *:80 1039 1040 # 1041 # VirtualHost example: 1042 # Almost any Apache directive may go into a VirtualHost container. 1043 # The first VirtualHost section is used for requests without a known 1044 # server name. 1045 # 1046 #<VirtualHost *:80> 1047 # ServerAdmin [email protected] 1048 # DocumentRoot /www/docs/dummy-host.example.com 1049 # ServerName dummy-host.example.com 1050 # ErrorLog logs/dummy-host.example.com-error_log 1051 # CustomLog logs/dummy-host.example.com-access_log common 1052 #</VirtualHost>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |