Guest User

Untitled

a guest
Oct 5th, 2010
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.10 KB | None | 0 0
  1. # C:/PROGRA~1/AppServ/www
  2. #########################################
  3. # This is the main Apache HTTP server configuration file. It contains the
  4. # configuration directives that give the server its instructions.
  5. # See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
  6. # In particular, see
  7. # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
  8. # for a discussion of each configuration directive.
  9. #
  10. # Do NOT simply read the instructions in here without understanding
  11. # what they do. They're here only as hints or reminders. If you are unsure
  12. # consult the online docs. You have been warned.
  13. #
  14. # Configuration and logfile names: If the filenames you specify for many
  15. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  16. # server will use that explicit path. If the filenames do *not* begin
  17. # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
  18. # with ServerRoot set to "C:/PROGRA~1/AppServ/Apache2.2" will be interpreted by the
  19. # server as "C:/PROGRA~1/AppServ/Apache2.2/logs/foo.log".
  20. #
  21. # NOTE: Where filenames are specified, you must use forward slashes
  22. # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
  23. # If a drive letter is omitted, the drive on which Apache.exe is located
  24. # will be used by default. It is recommended that you always supply
  25. # an explicit drive letter in absolute paths, however, to avoid
  26. # confusion.
  27. #
  28.  
  29. # prefork MPM
  30. # StartServers: number of server processes to start
  31. # MinSpareServers: minimum number of server processes which are kept spare
  32. # MaxSpareServers: maximum number of server processes which are kept spare
  33. # MaxClients: maximum number of server processes allowed to start
  34. # MaxRequestsPerChild: maximum number of requests a server process serves
  35. <IfModule mpm_prefork_module>
  36. StartServers 5
  37. MinSpareServers 5
  38. MaxSpareServers 10
  39. MaxClients 150
  40. MaxRequestsPerChild 0
  41. </IfModule>
  42.  
  43. # ThreadsPerChild: constant number of worker threads in the server process
  44. # MaxRequestsPerChild: maximum number of requests a server process serves
  45. #ThreadsPerChild 250
  46. MaxRequestsPerChild 0
  47.  
  48. #
  49. # ServerRoot: The top of the directory tree under which the server's
  50. # configuration, error, and log files are kept.
  51. #
  52. # Do not add a slash at the end of the directory path. If you point
  53. # ServerRoot at a non-local disk, be sure to point the LockFile directive
  54. # at a local disk. If you wish to share the same ServerRoot for multiple
  55. # httpd daemons, you will need to change at least LockFile and PidFile.
  56. #
  57. ServerRoot "C:/PROGRA~1/AppServ/Apache2.2"
  58.  
  59. #
  60. # Listen: Allows you to bind Apache to specific IP addresses and/or
  61. # ports, instead of the default. See also the <VirtualHost>
  62. # directive.
  63. #
  64. # Change this to Listen on specific IP addresses as shown below to
  65. # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
  66. #
  67. #Listen 12.34.56.78:80
  68. Listen 80
  69.  
  70. #
  71. # This configuration file reflects default settings for Apache HTTP Server.
  72. #
  73. # You may change these, but chances are that you may not need to.
  74. #
  75.  
  76. #
  77. # Timeout: The number of seconds before receives and sends time out.
  78. #
  79. Timeout 300
  80.  
  81. #
  82. # KeepAlive: Whether or not to allow persistent connections (more than
  83. # one request per connection). Set to "Off" to deactivate.
  84. #
  85. KeepAlive On
  86.  
  87. #
  88. # MaxKeepAliveRequests: The maximum number of requests to allow
  89. # during a persistent connection. Set to 0 to allow an unlimited amount.
  90. # We recommend you leave this number high, for maximum performance.
  91. #
  92. MaxKeepAliveRequests 100
  93.  
  94. #
  95. # KeepAliveTimeout: Number of seconds to wait for the next request from the
  96. # same client on the same connection.
  97. #
  98. KeepAliveTimeout 5
  99.  
  100. #
  101. # UseCanonicalName: Determines how Apache constructs self-referencing
  102. # URLs and the SERVER_NAME and SERVER_PORT variables.
  103. # When set "Off", Apache will use the Hostname and Port supplied
  104. # by the client. When set "On", Apache will use the value of the
  105. # ServerName directive.
  106. #
  107. UseCanonicalName Off
  108.  
  109. #
  110. # AccessFileName: The name of the file to look for in each directory
  111. # for additional configuration directives. See also the AllowOverride
  112. # directive.
  113. #
  114. AccessFileName .htaccess
  115.  
  116. #
  117. # ServerTokens
  118. # This directive configures what you return as the Server HTTP response
  119. # Header. The default is 'Full' which sends information about the OS-Type
  120. # and compiled in modules.
  121. # Set to one of: Full | OS | Minor | Minimal | Major | Prod
  122. # where Full conveys the most information, and Prod the least.
  123. #
  124. ServerTokens Full
  125.  
  126. #
  127. # Optionally add a line containing the server version and virtual host
  128. # name to server-generated pages (internal error documents, FTP directory
  129. # listings, mod_status and mod_info output etc., but not CGI generated
  130. # documents or custom error documents).
  131. # Set to "EMail" to also include a mailto: link to the ServerAdmin.
  132. # Set to one of: On | Off | EMail
  133. #
  134. ServerSignature On
  135.  
  136. #
  137. # HostnameLookups: Log the names of clients or just their IP addresses
  138. # e.g., www.apache.org (on) or 204.62.129.132 (off).
  139. # The default is off because it'd be overall better for the net if people
  140. # had to knowingly turn this feature on, since enabling it means that
  141. # each client request will result in AT LEAST one lookup request to the
  142. # nameserver.
  143. #
  144. HostnameLookups Off
  145.  
  146. #
  147. # Dynamic Shared Object (DSO) Support
  148. #
  149. # To be able to use the functionality of a module which was built as a DSO you
  150. # have to place corresponding `LoadModule' lines at this location so the
  151. # directives contained in it are actually available _before_ they are used.
  152. # Statically compiled modules (those listed by `httpd -l') do not need
  153. # to be loaded here.
  154. #
  155. # Example:
  156. # LoadModule foo_module modules/mod_foo.so
  157. #
  158. LoadModule actions_module modules/mod_actions.so
  159. LoadModule alias_module modules/mod_alias.so
  160. LoadModule asis_module modules/mod_asis.so
  161. LoadModule auth_basic_module modules/mod_auth_basic.so
  162. #LoadModule auth_digest_module modules/mod_auth_digest.so
  163. #LoadModule authn_anon_module modules/mod_authn_anon.so
  164. #LoadModule authn_dbm_module modules/mod_authn_dbm.so
  165. LoadModule authn_default_module modules/mod_authn_default.so
  166. LoadModule authn_file_module modules/mod_authn_file.so
  167. #LoadModule authz_dbm_module modules/mod_authz_dbm.so
  168. LoadModule authz_default_module modules/mod_authz_default.so
  169. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  170. LoadModule authz_host_module modules/mod_authz_host.so
  171. LoadModule authz_user_module modules/mod_authz_user.so
  172. LoadModule autoindex_module modules/mod_autoindex.so
  173. #LoadModule cern_meta_module modules/mod_cern_meta.so
  174. LoadModule cgi_module modules/mod_cgi.so
  175. #LoadModule dav_module modules/mod_dav.so
  176. #LoadModule dav_fs_module modules/mod_dav_fs.so
  177. #LoadModule deflate_module modules/mod_deflate.so
  178. LoadModule dir_module modules/mod_dir.so
  179. LoadModule env_module modules/mod_env.so
  180. #LoadModule expires_module modules/mod_expires.so
  181. #LoadModule file_cache_module modules/mod_file_cache.so
  182. #LoadModule headers_module modules/mod_headers.so
  183. LoadModule imagemap_module modules/mod_imagemap.so
  184. LoadModule include_module modules/mod_include.so
  185. #LoadModule info_module modules/mod_info.so
  186. LoadModule isapi_module modules/mod_isapi.so
  187. LoadModule log_config_module modules/mod_log_config.so
  188. LoadModule mime_module modules/mod_mime.so
  189. #LoadModule mime_magic_module modules/mod_mime_magic.so
  190. #LoadModule proxy_module modules/mod_proxy.so
  191. #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
  192. #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  193. #LoadModule proxy_connect_module modules/mod_proxy_connect.so
  194. #LoadModule proxy_http_module modules/mod_proxy_http.so
  195. #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  196. LoadModule negotiation_module modules/mod_negotiation.so
  197. LoadModule rewrite_module modules/mod_rewrite.so
  198. LoadModule setenvif_module modules/mod_setenvif.so
  199. #LoadModule speling_module modules/mod_speling.so
  200. #LoadModule status_module modules/mod_status.so
  201. #LoadModule unique_id_module modules/mod_unique_id.so
  202. LoadModule userdir_module modules/mod_userdir.so
  203. #LoadModule usertrack_module modules/mod_usertrack.so
  204. LoadModule vhost_alias_module modules/mod_vhost_alias.so
  205. #LoadModule ssl_module modules/mod_ssl.so
  206.  
  207. # includiamo il PHP 5
  208. LoadModule php5_module C:/PROGRA~1/AppServ\php5\php5apache2_2.dll
  209.  
  210. # 'Main' server configuration
  211. #
  212. # The directives in this section set up the values used by the 'main'
  213. # server, which responds to any requests that aren't handled by a
  214. # <VirtualHost> definition. These values also provide defaults for
  215. # any <VirtualHost> containers you may define later in the file.
  216. #
  217. # All of these directives may appear inside <VirtualHost> containers,
  218. # in which case these default settings will be overridden for the
  219. # virtual host being defined.
  220. #
  221.  
  222. #
  223. # ServerAdmin: Your address, where problems with the server should be
  224. # e-mailed. This address appears on some server-generated pages, such
  225. # as error documents. e.g. [email protected]
  226. #
  227. ServerAdmin root@localhost
  228.  
  229. #
  230. # ServerName gives the name and port that the server uses to identify itself.
  231. # This can often be determined automatically, but we recommend you specify
  232. # it explicitly to prevent problems during startup.
  233. #
  234. # If your host doesn't have a registered DNS name, enter its IP address here.
  235. #
  236. ServerName localhost:80
  237.  
  238. #
  239. # DocumentRoot: The directory out of which you will serve your
  240. # documents. By default, all requests are taken from this directory, but
  241. # symbolic links and aliases may be used to point to other locations.
  242. #
  243. DocumentRoot "D:/www"
  244.  
  245. #
  246. # Each directory to which Apache has access can be configured with respect
  247. # to which services and features are allowed and/or disabled in that
  248. # directory (and its subdirectories).
  249. #
  250. # First, we configure the "default" to be a very restrictive set of
  251. # features.
  252. #
  253. <Directory />
  254. Options FollowSymLinks ExecCGI Indexes
  255. AllowOverride None
  256. Order deny,allow
  257. Deny from all
  258. Satisfy all
  259. </Directory>
  260.  
  261.  
  262. #
  263. # Alias per phpmyadmin O__o
  264. #
  265. Alias /phpmyadmin C:/PROGRA~1/AppServ/phpMyAdmin
  266. <Directory "C:/PROGRA~1/AppServ/phpMyAdmin">
  267. Options Indexes FollowSymLinks MultiViews ExecCGI
  268. Order allow,deny
  269. Allow from all
  270. AllowOverride All
  271. </Directory>
  272.  
  273.  
  274.  
  275.  
  276. #
  277. # Note that from this point forward you must specifically allow
  278. # particular features to be enabled - so if something's not working as
  279. # you might expect, make sure that you have specifically enabled it
  280. # below.
  281. #
  282.  
  283. #
  284. # This should be changed to whatever you set DocumentRoot to.
  285. #
  286. <Directory "D:/www">
  287. #
  288. # Possible values for the Options directive are "None", "All",
  289. # or any combination of:
  290. # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  291. #
  292. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  293. # doesn't give it to you.
  294. #
  295. # The Options directive is both complicated and important. Please see
  296. # http://httpd.apache.org/docs/2.2/mod/core.html#options
  297. # for more information.
  298. #
  299. Options Indexes FollowSymLinks MultiViews ExecCGI
  300.  
  301. #
  302. # AllowOverride controls what directives may be placed in .htaccess files.
  303. # It can be "All", "None", or any combination of the keywords:
  304. # Options FileInfo AuthConfig Limit
  305. #
  306. AllowOverride All
  307.  
  308. #
  309. # Controls who can get stuff from this server.
  310. #
  311. Order allow,deny
  312. Allow from all
  313.  
  314. </Directory>
  315.  
  316. #
  317. # DirectoryIndex: sets the file that Apache will serve if a directory
  318. # is requested.
  319. #
  320. <IfModule dir_module>
  321. DirectoryIndex index.php index.html index.htm
  322. </IfModule>
  323.  
  324. #
  325. # The following lines prevent .htaccess and .htpasswd files from being
  326. # viewed by Web clients.
  327. #
  328. <FilesMatch "^\.ht">
  329. Order allow,deny
  330. Deny from all
  331. </FilesMatch>
  332.  
  333. #
  334. # ErrorLog: The location of the error log file.
  335. # If you do not specify an ErrorLog directive within a <VirtualHost>
  336. # container, error messages relating to that virtual host will be
  337. # logged here. If you *do* define an error logfile for a <VirtualHost>
  338. # container, that host's errors will be logged there and not here.
  339. #
  340. ErrorLog logs/error.log
  341.  
  342. #
  343. # LogLevel: Control the number of messages logged to the error_log.
  344. # Possible values include: debug, info, notice, warn, error, crit,
  345. # alert, emerg.
  346. #
  347. LogLevel warn
  348.  
  349. <IfModule log_config_module>
  350. #
  351. # The following directives define some format nicknames for use with
  352. # a CustomLog directive (see below).
  353. #
  354. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  355. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  356.  
  357. <IfModule logio_module>
  358. # You need to enable mod_logio.c to use %I and %O
  359. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  360. </IfModule>
  361.  
  362. #
  363. # The location and format of the access logfile (Common Logfile Format).
  364. # If you do not define any access logfiles within a <VirtualHost>
  365. # container, they will be logged here. Contrariwise, if you *do*
  366. # define per-<VirtualHost> access logfiles, transactions will be
  367. # logged therein and *not* in this file.
  368. #
  369. CustomLog logs/access.log common
  370.  
  371. #
  372. # If you prefer a logfile with access, agent, and referer information
  373. # (Combined Logfile Format) you can use the following directive.
  374. #
  375. #CustomLog logs/access.log combined
  376. </IfModule>
  377.  
  378. <IfModule alias_module>
  379. #
  380. # Redirect: Allows you to tell clients about documents that used to
  381. # exist in your server's namespace, but do not anymore. The client
  382. # will make a new request for the document at its new location.
  383. # Example:
  384. # Redirect permanent /foo http://www.example.com/bar
  385.  
  386. #
  387. # Alias: Maps web paths into filesystem paths and is used to
  388. # access content that does not live under the DocumentRoot.
  389. # Example:
  390. # Alias /webpath /full/filesystem/path
  391. #
  392. # If you include a trailing / on /webpath then the server will
  393. # require it to be present in the URL. You will also likely
  394. # need to provide a <Directory> section to allow access to
  395. # the filesystem path.
  396.  
  397. #
  398. # ScriptAlias: This controls which directories contain server scripts.
  399. # ScriptAliases are essentially the same as Aliases, except that
  400. # documents in the target directory are treated as applications and
  401. # run by the server when requested rather than as documents sent to the
  402. # client. The same rules about trailing "/" apply to ScriptAlias
  403. # directives as to Alias.
  404. #
  405. ScriptAlias /cgi-bin/ "D:/www/cgi-bin/"
  406.  
  407. </IfModule>
  408.  
  409. #
  410. # "D:/www/cgi-bin" should be changed to whatever your ScriptAliased
  411. # CGI directory exists, if you have that configured.
  412. #
  413. <Directory "D:/www/cgi-bin">
  414. AllowOverride None
  415. Options None
  416. Order allow,deny
  417. Allow from all
  418. </Directory>
  419.  
  420. #
  421. # Apache parses all CGI scripts for the shebang line by default.
  422. # This comment line, the first line of the script, consists of the symbols
  423. # pound (#) and exclamation (!) followed by the path of the program that
  424. # can execute this specific script. For a perl script, with perl.exe in
  425. # the C:\Program Files\Perl directory, the shebang line should be:
  426.  
  427. #!c:/program files/perl/perl
  428.  
  429. # Note you _must_not_ indent the actual shebang line, and it must be the
  430. # first line of the file. Of course, CGI processing must be enabled by
  431. # the appropriate ScriptAlias or Options ExecCGI directives for the files
  432. # or directory in question.
  433. #
  434. # However, Apache on Windows allows either the Unix behavior above, or can
  435. # use the Registry to match files by extention. The command to execute
  436. # a file of this type is retrieved from the registry by the same method as
  437. # the Windows Explorer would use to handle double-clicking on a file.
  438. # These script actions can be configured from the Windows Explorer View menu,
  439. # 'Folder Options', and reviewing the 'File Types' tab. Clicking the Edit
  440. # button allows you to modify the Actions, of which Apache 1.3 attempts to
  441. # perform the 'Open' Action, and failing that it will try the shebang line.
  442. # This behavior is subject to change in Apache release 2.0.
  443. #
  444. # Each mechanism has it's own specific security weaknesses, from the means
  445. # to run a program you didn't intend the website owner to invoke, and the
  446. # best method is a matter of great debate.
  447. #
  448. # To enable the this Windows specific behavior (and therefore -disable- the
  449. # equivilant Unix behavior), uncomment the following directive:
  450. #
  451. #ScriptInterpreterSource registry
  452. #
  453. # The directive above can be placed in individual <Directory> blocks or the
  454. # .htaccess file, with either the 'registry' (Windows behavior) or 'script'
  455. # (Unix behavior) option, and will override this server default option.
  456. #
  457.  
  458. #
  459. # DefaultType: the default MIME type the server will use for a document
  460. # if it cannot otherwise determine one, such as from filename extensions.
  461. # If your server contains mostly text or HTML documents, "text/plain" is
  462. # a good value. If most of your content is binary, such as applications
  463. # or images, you may want to use "application/octet-stream" instead to
  464. # keep browsers from trying to display binary files as though they are
  465. # text.
  466. #
  467. DefaultType text/plain
  468.  
  469. <IfModule mime_module>
  470. #
  471. # TypesConfig points to the file containing the list of mappings from
  472. # filename extension to MIME-type.
  473. #
  474. TypesConfig conf/mime.types
  475.  
  476. #
  477. # AddType allows you to add to or override the MIME configuration
  478. # file specified in TypesConfig for specific file types.
  479. #
  480. #AddType application/x-gzip .tgz
  481. #
  482. # AddEncoding allows you to have certain browsers uncompress
  483. # information on the fly. Note: Not all browsers support this.
  484. #
  485. #AddEncoding x-compress .Z
  486. #AddEncoding x-gzip .gz .tgz
  487. #
  488. # If the AddEncoding directives above are commented-out, then you
  489. # probably should define those extensions to indicate media types:
  490. #
  491. AddType application/x-compress .Z
  492. AddType application/x-gzip .gz .tgz
  493.  
  494. #
  495. # AddHandler allows you to map certain file extensions to "handlers":
  496. # actions unrelated to filetype. These can be either built into the server
  497. # or added with the Action directive (see below)
  498. #
  499. # To use CGI scripts outside of ScriptAliased directories:
  500. # (You will also need to add "ExecCGI" to the "Options" directive.)
  501. #
  502. #AddHandler cgi-script .cgi
  503.  
  504. # For type maps (negotiated resources):
  505. #AddHandler type-map var
  506.  
  507. #
  508. # Filters allow you to process content before it is sent to the client.
  509. #
  510. # To parse .shtml files for server-side includes (SSI):
  511. # (You will also need to add "Includes" to the "Options" directive.)
  512. #
  513. #AddType text/html .shtml
  514. #AddOutputFilter INCLUDES .shtml
  515. </IfModule>
  516.  
  517. #
  518. # The mod_mime_magic module allows the server to use various hints from the
  519. # contents of the file itself to determine its type. The MIMEMagicFile
  520. # directive tells the module where the hint definitions are located.
  521. #
  522. #MIMEMagicFile conf/magic
  523.  
  524. #
  525. # Customizable error responses come in three flavors:
  526. # 1) plain text 2) local redirects 3) external redirects
  527. #
  528. # Some examples:
  529. #ErrorDocument 500 "The server made a boo boo."
  530. #ErrorDocument 404 /missing.html
  531. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  532. #ErrorDocument 402 http://www.example.com/subscription_info.html
  533. #
  534. <IfModule mod_php5.c>
  535. AddType application/x-httpd-php .php
  536. AddType application/x-httpd-php .php3
  537. AddType application/x-httpd-php-source .phps
  538. </IfModule>
  539.  
  540.  
  541.  
  542. #
  543. # EnableMMAP and EnableSendfile: On systems that support it,
  544. # memory-mapping or the sendfile syscall is used to deliver
  545. # files. This usually improves server performance, but must
  546. # be turned off when serving from networked-mounted
  547. # filesystems or if support for these functions is otherwise
  548. # broken on your system.
  549. #
  550. #EnableMMAP off
  551. #EnableSendfile off
  552.  
  553. # Supplemental configuration
  554. #
  555. # The configuration files in the conf/extra/ directory can be
  556. # included to add extra features or to modify the default configuration of
  557. # the server, or you may simply copy their contents here and change as
  558. # necessary.
  559.  
  560. # Server-pool management (MPM specific)
  561. #Include conf/extra/httpd-mpm.conf
  562.  
  563. # Multi-language error messages
  564. #Include conf/extra/httpd-multilang-errordoc.conf
  565.  
  566. # Fancy directory listings
  567. #Include conf/extra/httpd-autoindex.conf
  568.  
  569. # Language settings
  570. #Include conf/extra/httpd-languages.conf
  571.  
  572. # User home directories
  573. #Include conf/extra/httpd-userdir.conf
  574.  
  575. # Real-time info on requests and configuration
  576. #Include conf/extra/httpd-info.conf
  577.  
  578. # Virtual hosts
  579. #Include conf/extra/httpd-vhosts.conf
  580.  
  581. # Local access to the Apache HTTP Server Manual
  582. #Include conf/extra/httpd-manual.conf
  583.  
  584. # Distributed authoring and versioning (WebDAV)
  585. #Include conf/extra/httpd-dav.conf
  586.  
  587. # Various default settings
  588. #Include conf/extra/httpd-default.conf
  589.  
  590. # Secure (SSL/TLS) connections
  591. #Include conf/extra/httpd-ssl.conf
  592. #
  593. # Note: The following must must be present to support
  594. # starting without SSL on platforms with no /dev/random equivalent
  595. # but a statically compiled-in mod_ssl.
  596. #
  597. <IfModule ssl_module>
  598. SSLRandomSeed startup builtin
  599. SSLRandomSeed connect builtin
  600. </IfModule>
  601.  
  602. #
  603. # Directives controlling the display of server-generated directory listings.
  604. #
  605. # Required modules: mod_autoindex, mod_alias
  606. #
  607. # To see the listing of a directory, the Options directive for the
  608. # directory must include "Indexes", and the directory must not contain
  609. # a file matching those listed in the DirectoryIndex directive.
  610. #
  611.  
  612. #
  613. # IndexOptions: Controls the appearance of server-generated directory
  614. # listings.
  615. #
  616. IndexOptions FancyIndexing HTMLTable VersionSort
  617.  
  618. # We include the /icons/ alias for FancyIndexed directory listings. If
  619. # you do not use FancyIndexing, you may comment this out.
  620. #
  621. Alias /icons/ "C:/PROGRA~1/AppServ/Apache2.2/icons/"
  622.  
  623. <Directory "C:/PROGRA~1/AppServ/Apache2.2/icons">
  624. Options Indexes MultiViews
  625. AllowOverride None
  626. Order allow,deny
  627. Allow from all
  628. </Directory>
  629.  
  630. #
  631. # AddIcon* directives tell the server which icon to show for different
  632. # files or filename extensions. These are only displayed for
  633. # FancyIndexed directories.
  634. #
  635. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  636.  
  637. AddIconByType (TXT,/icons/text.gif) text/*
  638. AddIconByType (IMG,/icons/image2.gif) image/*
  639. AddIconByType (SND,/icons/sound2.gif) audio/*
  640. AddIconByType (VID,/icons/movie.gif) video/*
  641.  
  642. AddIcon /icons/binary.gif .bin .exe
  643. AddIcon /icons/binhex.gif .hqx
  644. AddIcon /icons/tar.gif .tar
  645. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  646. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  647. AddIcon /icons/a.gif .ps .ai .eps
  648. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  649. AddIcon /icons/text.gif .txt
  650. AddIcon /icons/c.gif .c
  651. AddIcon /icons/p.gif .pl .py
  652. AddIcon /icons/f.gif .for
  653. AddIcon /icons/dvi.gif .dvi
  654. AddIcon /icons/uuencoded.gif .uu
  655. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  656. AddIcon /icons/tex.gif .tex
  657. AddIcon /icons/bomb.gif core
  658.  
  659. AddIcon /icons/back.gif ..
  660. AddIcon /icons/hand.right.gif README
  661. AddIcon /icons/folder.gif ^^DIRECTORY^^
  662. AddIcon /icons/blank.gif ^^BLANKICON^^
  663.  
  664. #
  665. # DefaultIcon is which icon to show for files which do not have an icon
  666. # explicitly set.
  667. #
  668. DefaultIcon /icons/unknown.gif
  669.  
  670. #
  671. # AddDescription allows you to place a short description after a file in
  672. # server-generated indexes. These are only displayed for FancyIndexed
  673. # directories.
  674. # Format: AddDescription "description" filename
  675. #
  676. #AddDescription "GZIP compressed document" .gz
  677. #AddDescription "tar archive" .tar
  678. #AddDescription "GZIP compressed tar archive" .tgz
  679.  
  680. #
  681. # ReadmeName is the name of the README file the server will look for by
  682. # default, and append to directory listings.
  683. #
  684. # HeaderName is the name of a file which should be prepended to
  685. # directory indexes.
  686. ReadmeName README.html
  687. HeaderName HEADER.html
  688.  
  689. #
  690. # IndexIgnore is a set of filenames which directory indexing should ignore
  691. # and not include in the listing. Shell-style wildcarding is permitted.
  692. #
  693. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
Advertisement
Add Comment
Please, Sign In to add comment