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