PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Aug 08, 2020 2:04 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Oct 28, 2007 10:27 pm 
Offline
Forum Commoner

Joined: Sun Oct 28, 2007 10:20 pm
Posts: 96
Location: Hamilton, Ontario, Canada


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 29, 2007 12:54 am 
Offline
Tranquility In Moderation
User avatar

Joined: Sun Feb 06, 2005 8:18 pm
Posts: 5001
Location: Indiana
You may have PHP installed, but not configured with apache.

Post your httpd.conf file.

_________________
- A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 29, 2007 6:35 am 
Offline
Forum Commoner

Joined: Sun Oct 28, 2007 10:20 pm
Posts: 96
Location: Hamilton, Ontario, Canada
feyd | Please use
Syntax: [ Download ] [ Hide ]
,
[syntax=php]and
Syntax: [ Download ] [ Hide ]
  1. tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: to learn how to do it too. 
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Thank-you for your response. Here's the httpd.conf contents. 
  8.  
  9.  
  10.  
  11. [syntax="apache"]# 
  12.  
  13. # Based upon the NCSA server configuration files originally by Rob McCool. 
  14.  
  15.  
  16. # This is the main Apache server configuration file. It contains the 
  17.  
  18. # configuration directives that give the server its instructions. 
  19.  
  20. # See <URL:http://httpd.apache.org/docs/2.0/> for detailed information about 
  21.  
  22. # the directives. 
  23.  
  24.  
  25. # Do NOT simply read the instructions in here without understanding 
  26.  
  27. # what they do. They're here only as hints or reminders. If you are unsure 
  28.  
  29. # consult the online docs. You have been warned.  
  30.  
  31.  
  32. # The configuration directives are grouped into three basic sections: 
  33.  
  34. # 1. Directives that control the operation of the Apache server process as a 
  35.  
  36. # whole (the 'global environment'). 
  37.  
  38. # 2. Directives that define the parameters of the 'main' or 'default' server, 
  39.  
  40. # which responds to requests that aren't handled by a virtual host. 
  41.  
  42. # These directives also provide default values for the settings 
  43.  
  44. # of all virtual hosts. 
  45.  
  46. # 3. Settings for virtual hosts, which allow Web requests to be sent to 
  47.  
  48. # different IP addresses or hostnames and have them handled by the 
  49.  
  50. # same Apache server process. 
  51.  
  52.  
  53. # Configuration and logfile names: If the filenames you specify for many 
  54.  
  55. # of the server's control files begin with "/" (or "drive:/" for Win32), the 
  56.  
  57. # server will use that explicit path. If the filenames do *not* begin 
  58.  
  59. # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" 
  60.  
  61. # with ServerRoot set to "C:/Webserver/Apache2" will be interpreted by the 
  62.  
  63. # server as "C:/Webserver/Apache2/logs/foo.log". 
  64.  
  65.  
  66. # NOTE: Where filenames are specified, you must use forward slashes 
  67.  
  68. # instead of backslashes (e.g., "c:/apache" instead of "c:\apache"). 
  69.  
  70. # If a drive letter is omitted, the drive on which Apache.exe is located 
  71.  
  72. # will be used by default. It is recommended that you always supply 
  73.  
  74. # an explicit drive letter in absolute paths, however, to avoid 
  75.  
  76. # confusion. 
  77.  
  78.  
  79.  
  80.  
  81. ### Section 1: Global Environment 
  82.  
  83.  
  84. # The directives in this section affect the overall operation of Apache, 
  85.  
  86. # such as the number of concurrent requests it can handle or where it 
  87.  
  88. # can find its configuration files. 
  89.  
  90.  
  91.  
  92.  
  93.  
  94. # ServerRoot: The top of the directory tree under which the server's 
  95.  
  96. # configuration, error, and log files are kept. 
  97.  
  98.  
  99. # NOTE! If you intend to place this on an NFS (or otherwise network) 
  100.  
  101. # mounted filesystem then please read the LockFile documentation (available 
  102.  
  103. # at <URL:http://httpd.apache.org/docs/2.0/mod/mpm_common.html#lockfile>); 
  104.  
  105. # you will save yourself a lot of trouble. 
  106.  
  107.  
  108. # Do NOT add a slash at the end of the directory path. 
  109.  
  110.  
  111. ServerRoot "C:/Webserver/Apache2" 
  112.  
  113.  
  114.  
  115.  
  116. # ScoreBoardFile: File used to store internal server process information. 
  117.  
  118. # If unspecified (the default), the scoreboard will be stored in an 
  119.  
  120. # anonymous shared memory segment, and will be unavailable to third-party 
  121.  
  122. # applications. 
  123.  
  124. # If specified, ensure that no two invocations of Apache share the same 
  125.  
  126. # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK. 
  127.  
  128.  
  129. #ScoreBoardFile logs/apache_runtime_status 
  130.  
  131.  
  132.  
  133.  
  134. # PidFile: The file in which the server should record its process 
  135.  
  136. # identification number when it starts. 
  137.  
  138.  
  139. PidFile logs/httpd.pid 
  140.  
  141.  
  142.  
  143.  
  144. # Timeout: The number of seconds before receives and sends time out. 
  145.  
  146.  
  147. Timeout 300 
  148.  
  149.  
  150.  
  151.  
  152. # KeepAlive: Whether or not to allow persistent connections (more than 
  153.  
  154. # one request per connection). Set to "Off" to deactivate. 
  155.  
  156.  
  157. KeepAlive On 
  158.  
  159.  
  160.  
  161.  
  162. # MaxKeepAliveRequests: The maximum number of requests to allow 
  163.  
  164. # during a persistent connection. Set to 0 to allow an unlimited amount. 
  165.  
  166. # We recommend you leave this number high, for maximum performance. 
  167.  
  168.  
  169. MaxKeepAliveRequests 100 
  170.  
  171.  
  172.  
  173.  
  174. # KeepAliveTimeout: Number of seconds to wait for the next request from the 
  175.  
  176. # same client on the same connection. 
  177.  
  178.  
  179. KeepAliveTimeout 15 
  180.  
  181.  
  182.  
  183. ## 
  184.  
  185. ## Server-Pool Size Regulation (MPM specific) 
  186.  
  187. ##  
  188.  
  189.  
  190.  
  191. # WinNT MPM 
  192.  
  193. # ThreadsPerChild: constant number of worker threads in the server process 
  194.  
  195. # MaxRequestsPerChild: maximum number of requests a server process serves 
  196.  
  197. <IfModule mpm_winnt.c> 
  198.  
  199. ThreadsPerChild 250 
  200.  
  201. MaxRequestsPerChild 0 
  202.  
  203. </IfModule> 
  204.  
  205.  
  206.  
  207.  
  208. # Listen: Allows you to bind Apache to specific IP addresses and/or 
  209.  
  210. # ports, instead of the default. See also the <VirtualHost> 
  211.  
  212. # directive. 
  213.  
  214.  
  215. # Change this to Listen on specific IP addresses as shown below to  
  216.  
  217. # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) 
  218.  
  219.  
  220. #Listen 12.34.56.78:80 
  221.  
  222. Listen 80 
  223.  
  224.  
  225.  
  226.  
  227. # Dynamic Shared Object (DSO) Support 
  228.  
  229.  
  230. # To be able to use the functionality of a module which was built as a DSO you 
  231.  
  232. # have to place corresponding `LoadModule' lines at this location so the 
  233.  
  234. # directives contained in it are actually available _before_ they are used. 
  235.  
  236. # Statically compiled modules (those listed by `httpd -l') do not need 
  237.  
  238. # to be loaded here. 
  239.  
  240.  
  241. # Example: 
  242.  
  243. # LoadModule foo_module modules/mod_foo.so 
  244.  
  245.  
  246.  
  247.  
  248. PHPIniDir "C:/webserver/php/" 
  249.  
  250. LoadModule php5_module "C:/Webserver/php/php5apache2.dll" 
  251.  
  252. LoadModule access_module modules/mod_access.so 
  253.  
  254. LoadModule actions_module modules/mod_actions.so 
  255.  
  256. LoadModule alias_module modules/mod_alias.so 
  257.  
  258. LoadModule asis_module modules/mod_asis.so 
  259.  
  260. LoadModule auth_module modules/mod_auth.so 
  261.  
  262. #LoadModule auth_anon_module modules/mod_auth_anon.so 
  263.  
  264. #LoadModule auth_dbm_module modules/mod_auth_dbm.so 
  265.  
  266. #LoadModule auth_digest_module modules/mod_auth_digest.so 
  267.  
  268. LoadModule autoindex_module modules/mod_autoindex.so 
  269.  
  270. #LoadModule cern_meta_module modules/mod_cern_meta.so 
  271.  
  272. LoadModule cgi_module modules/mod_cgi.so 
  273.  
  274. #LoadModule dav_module modules/mod_dav.so 
  275.  
  276. #LoadModule dav_fs_module modules/mod_dav_fs.so 
  277.  
  278. LoadModule dir_module modules/mod_dir.so 
  279.  
  280. LoadModule env_module modules/mod_env.so 
  281.  
  282. #LoadModule expires_module modules/mod_expires.so 
  283.  
  284. #LoadModule file_cache_module modules/mod_file_cache.so 
  285.  
  286. #LoadModule headers_module modules/mod_headers.so 
  287.  
  288. LoadModule imap_module modules/mod_imap.so 
  289.  
  290. LoadModule include_module modules/mod_include.so 
  291.  
  292. #LoadModule info_module modules/mod_info.so 
  293.  
  294. LoadModule isapi_module modules/mod_isapi.so 
  295.  
  296. LoadModule log_config_module modules/mod_log_config.so 
  297.  
  298. LoadModule mime_module modules/mod_mime.so 
  299.  
  300. #LoadModule mime_magic_module modules/mod_mime_magic.so 
  301.  
  302. #LoadModule proxy_module modules/mod_proxy.so 
  303.  
  304. #LoadModule proxy_connect_module modules/mod_proxy_connect.so 
  305.  
  306. #LoadModule proxy_http_module modules/mod_proxy_http.so 
  307.  
  308. #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so 
  309.  
  310. LoadModule negotiation_module modules/mod_negotiation.so 
  311.  
  312. #LoadModule rewrite_module modules/mod_rewrite.so 
  313.  
  314. LoadModule setenvif_module modules/mod_setenvif.so 
  315.  
  316. #LoadModule speling_module modules/mod_speling.so 
  317.  
  318. #LoadModule status_module modules/mod_status.so 
  319.  
  320. #LoadModule unique_id_module modules/mod_unique_id.so 
  321.  
  322. LoadModule userdir_module modules/mod_userdir.so 
  323.  
  324. #LoadModule usertrack_module modules/mod_usertrack.so 
  325.  
  326. #LoadModule vhost_alias_module modules/mod_vhost_alias.so 
  327.  
  328. #LoadModule ssl_module modules/mod_ssl.so 
  329.  
  330.  
  331.  
  332.  
  333. # ExtendedStatus controls whether Apache will generate "full" status 
  334.  
  335. # information (ExtendedStatus On) or just basic information (ExtendedStatus 
  336.  
  337. # Off) when the "server-status" handler is called. The default is Off. 
  338.  
  339.  
  340. #ExtendedStatus On 
  341.  
  342.  
  343.  
  344. ### Section 2: 'Main' server configuration 
  345.  
  346.  
  347. # The directives in this section set up the values used by the 'main' 
  348.  
  349. # server, which responds to any requests that aren't handled by a 
  350.  
  351. # <VirtualHost> definition. These values also provide defaults for 
  352.  
  353. # any <VirtualHost> containers you may define later in the file. 
  354.  
  355.  
  356. # All of these directives may appear inside <VirtualHost> containers, 
  357.  
  358. # in which case these default settings will be overridden for the 
  359.  
  360. # virtual host being defined. 
  361.  
  362.  
  363.  
  364.  
  365.  
  366. # ServerAdmin: Your address, where problems with the server should be 
  367.  
  368. # e-mailed. This address appears on some server-generated pages, such 
  369.  
  370. # as error documents. e.g. admin@your-domain.com 
  371.  
  372.  
  373. ServerAdmin info@localhost 
  374.  
  375.  
  376.  
  377.  
  378. # ServerName gives the name and port that the server uses to identify itself. 
  379.  
  380. # This can often be determined automatically, but we recommend you specify 
  381.  
  382. # it explicitly to prevent problems during startup. 
  383.  
  384.  
  385. # If this is not set to valid DNS name for your host, server-generated 
  386.  
  387. # redirections will not work. See also the UseCanonicalName directive. 
  388.  
  389.  
  390. # If your host doesn't have a registered DNS name, enter its IP address here. 
  391.  
  392. # You will have to access it by its address anyway, and this will make  
  393.  
  394. # redirections work in a sensible way. 
  395.  
  396.  
  397. ServerName localhost:80 
  398.  
  399.  
  400.  
  401.  
  402. # UseCanonicalName: Determines how Apache constructs self-referencing  
  403.  
  404. # URLs and the SERVER_NAME and SERVER_PORT variables. 
  405.  
  406. # When set "Off", Apache will use the Hostname and Port supplied 
  407.  
  408. # by the client. When set "On", Apache will use the value of the 
  409.  
  410. # ServerName directive. 
  411.  
  412.  
  413. UseCanonicalName Off 
  414.  
  415.  
  416.  
  417.  
  418. # DocumentRoot: The directory out of which you will serve your 
  419.  
  420. # documents. By default, all requests are taken from this directory, but 
  421.  
  422. # symbolic links and aliases may be used to point to other locations. 
  423.  
  424.  
  425. DocumentRoot "C:/Webserver/Apache2/htdocs" 
  426.  
  427.  
  428.  
  429.  
  430. # Each directory to which Apache has access can be configured with respect 
  431.  
  432. # to which services and features are allowed and/or disabled in that 
  433.  
  434. # directory (and its subdirectories).  
  435.  
  436.  
  437. # First, we configure the "default" to be a very restrictive set of  
  438.  
  439. # features.  
  440.  
  441.  
  442. <Directory /> 
  443.  
  444. Options FollowSymLinks 
  445.  
  446. AllowOverride None 
  447.  
  448. </Directory> 
  449.  
  450.  
  451.  
  452.  
  453. # Note that from this point forward you must specifically allow 
  454.  
  455. # particular features to be enabled - so if something's not working as 
  456.  
  457. # you might expect, make sure that you have specifically enabled it 
  458.  
  459. # below. 
  460.  
  461.  
  462.  
  463.  
  464.  
  465. # This should be changed to whatever you set DocumentRoot to. 
  466.  
  467.  
  468. <Directory "C:/Webserver/Apache2/htdocs"> 
  469.  
  470.  
  471.  
  472.  
  473. # Possible values for the Options directive are "None", "All", 
  474.  
  475. # or any combination of: 
  476.  
  477. # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews 
  478.  
  479.  
  480. # Note that "MultiViews" must be named *explicitly* --- "Options All" 
  481.  
  482. # doesn't give it to you. 
  483.  
  484.  
  485. # The Options directive is both complicated and important. Please see 
  486.  
  487. # http://httpd.apache.org/docs/2.0/mod/core.html#options 
  488.  
  489. # for more information. 
  490.  
  491.  
  492. Options Indexes FollowSymLinks 
  493.  
  494.  
  495.  
  496.  
  497. # AllowOverride controls what directives may be placed in .htaccess files. 
  498.  
  499. # It can be "All", "None", or any combination of the keywords: 
  500.  
  501. # Options FileInfo AuthConfig Limit 
  502.  
  503.  
  504. AllowOverride None 
  505.  
  506.  
  507.  
  508.  
  509. # Controls who can get stuff from this server. 
  510.  
  511.  
  512. Order allow,deny 
  513.  
  514. Allow from all 
  515.  
  516.  
  517.  
  518. </Directory> 
  519.  
  520.  
  521.  
  522.  
  523. # UserDir: The name of the directory that is appended onto a user's home 
  524.  
  525. # directory if a ~user request is received. Be especially careful to use 
  526.  
  527. # proper, forward slashes here. On Windows NT, "Personal/My Website" 
  528.  
  529. # is a more appropriate choice. 
  530.  
  531.  
  532. UserDir "My Documents/My Website" 
  533.  
  534.  
  535.  
  536.  
  537. # Control access to UserDir directories. The following is an example 
  538.  
  539. # for a site where these directories are restricted to read-only. 
  540.  
  541.  
  542. # You must correct the path for the root to match your system's configured 
  543.  
  544. # user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My Website" 
  545.  
  546. # or whichever, as appropriate. 
  547.  
  548.  
  549. #<Directory "C:/Documents and Settings/*/My Documents/My Website"> 
  550.  
  551. # AllowOverride FileInfo AuthConfig Limit 
  552.  
  553. # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec 
  554.  
  555. # <Limit GET POST OPTIONS PROPFIND> 
  556.  
  557. # Order allow,deny 
  558.  
  559. # Allow from all 
  560.  
  561. # </Limit> 
  562.  
  563. # <LimitExcept GET POST OPTIONS PROPFIND> 
  564.  
  565. # Order deny,allow 
  566.  
  567. # Deny from all 
  568.  
  569. # </LimitExcept> 
  570.  
  571. #</Directory> 
  572.  
  573.  
  574.  
  575.  
  576. # DirectoryIndex: sets the file that Apache will serve if a directory 
  577.  
  578. # is requested. 
  579.  
  580.  
  581. # The index.html.var file (a type-map) is used to deliver content- 
  582.  
  583. # negotiated documents. The MultiViews Option can be used for the  
  584.  
  585. # same purpose, but it is much slower. 
  586.  
  587.  
  588. DirectoryIndex index.html index.html.var 
  589.  
  590.  
  591.  
  592.  
  593. # AccessFileName: The name of the file to look for in each directory 
  594.  
  595. # for additional configuration directives. See also the AllowOverride  
  596.  
  597. # directive. 
  598.  
  599.  
  600. AccessFileName .htaccess 
  601.  
  602.  
  603.  
  604.  
  605. # The following lines prevent .htaccess and .htpasswd files from being  
  606.  
  607. # viewed by Web clients.  
  608.  
  609.  
  610. <FilesMatch "^\.ht"> 
  611.  
  612. Order allow,deny 
  613.  
  614. Deny from all 
  615.  
  616. </FilesMatch> 
  617.  
  618.  
  619.  
  620.  
  621. # TypesConfig describes where the mime.types file (or equivalent) is 
  622.  
  623. # to be found. 
  624.  
  625.  
  626. TypesConfig conf/mime.types 
  627.  
  628.  
  629.  
  630.  
  631. # DefaultType is the default MIME type the server will use for a document 
  632.  
  633. # if it cannot otherwise determine one, such as from filename extensions. 
  634.  
  635. # If your server contains mostly text or HTML documents, "text/plain" is 
  636.  
  637. # a good value. If most of your content is binary, such as applications 
  638.  
  639. # or images, you may want to use "application/octet-stream" instead to 
  640.  
  641. # keep browsers from trying to display binary files as though they are 
  642.  
  643. # text. 
  644.  
  645.  
  646. DefaultType text/plain 
  647.  
  648.  
  649.  
  650.  
  651. # The mod_mime_magic module allows the server to use various hints from the 
  652.  
  653. # contents of the file itself to determine its type. The MIMEMagicFile 
  654.  
  655. # directive tells the module where the hint definitions are located. 
  656.  
  657.  
  658. <IfModule mod_mime_magic.c> 
  659.  
  660. MIMEMagicFile conf/magic 
  661.  
  662. </IfModule> 
  663.  
  664.  
  665.  
  666.  
  667. # HostnameLookups: Log the names of clients or just their IP addresses 
  668.  
  669. # e.g., http://www.apache.org (on) or 204.62.129.132 (off). 
  670.  
  671. # The default is off because it'd be overall better for the net if people 
  672.  
  673. # had to knowingly turn this feature on, since enabling it means that 
  674.  
  675. # each client request will result in AT LEAST one lookup request to the 
  676.  
  677. # nameserver. 
  678.  
  679.  
  680. HostnameLookups Off 
  681.  
  682.  
  683.  
  684.  
  685. # EnableMMAP: Control whether memory-mapping is used to deliver 
  686.  
  687. # files (assuming that the underlying OS supports it). 
  688.  
  689. # The default is on; turn this off if you serve from NFS-mounted  
  690.  
  691. # filesystems. On some systems, turning it off (regardless of 
  692.  
  693. # filesystem) can improve performance; for details, please see 
  694.  
  695. # http://httpd.apache.org/docs/2.0/mod/co ... enablemmap 
  696.  
  697.  
  698. #EnableMMAP off 
  699.  
  700.  
  701.  
  702.  
  703. # EnableSendfile: Control whether the sendfile kernel support is  
  704.  
  705. # used to deliver files (assuming that the OS supports it). 
  706.  
  707. # The default is on; turn this off if you serve from NFS-mounted  
  708.  
  709. # filesystems. Please see 
  710.  
  711. # http://httpd.apache.org/docs/2.0/mod/co ... lesendfile 
  712.  
  713.  
  714. #EnableSendfile off 
  715.  
  716.  
  717.  
  718.  
  719. # ErrorLog: The location of the error log file. 
  720.  
  721. # If you do not specify an ErrorLog directive within a <VirtualHost> 
  722.  
  723. # container, error messages relating to that virtual host will be 
  724.  
  725. # logged here. If you *do* define an error logfile for a <VirtualHost> 
  726.  
  727. # container, that host's errors will be logged there and not here. 
  728.  
  729.  
  730. ErrorLog logs/error.log 
  731.  
  732.  
  733.  
  734.  
  735. # LogLevel: Control the number of messages logged to the error.log. 
  736.  
  737. # Possible values include: debug, info, notice, warn, error, crit, 
  738.  
  739. # alert, emerg. 
  740.  
  741.  
  742. LogLevel warn 
  743.  
  744.  
  745.  
  746.  
  747. # The following directives define some format nicknames for use with 
  748.  
  749. # a CustomLog directive (see below). 
  750.  
  751.  
  752. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 
  753.  
  754. LogFormat "%h %l %u %t \"%r\" %>s %b" common 
  755.  
  756. LogFormat "%{Referer}i -> %U" referer 
  757.  
  758. LogFormat "%{User-agent}i" agent 
  759.  
  760.  
  761.  
  762. # You need to enable mod_logio.c to use %I and %O 
  763.  
  764. #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio 
  765.  
  766.  
  767.  
  768.  
  769. # The location and format of the access logfile (Common Logfile Format). 
  770.  
  771. # If you do not define any access logfiles within a <VirtualHost> 
  772.  
  773. # container, they will be logged here. Contrariwise, if you *do* 
  774.  
  775. # define per-<VirtualHost> access logfiles, transactions will be 
  776.  
  777. # logged therein and *not* in this file. 
  778.  
  779.  
  780. CustomLog logs/access.log common 
  781.  
  782.  
  783.  
  784.  
  785. # If you would like to have agent and referer logfiles, uncomment the 
  786.  
  787. # following directives. 
  788.  
  789.  
  790. #CustomLog logs/referer.log referer 
  791.  
  792. #CustomLog logs/agent.log agent 
  793.  
  794.  
  795.  
  796.  
  797. # If you prefer a single logfile with access, agent, and referer information 
  798.  
  799. # (Combined Logfile Format) you can use the following directive. 
  800.  
  801.  
  802. #CustomLog logs/access.log combined 
  803.  
  804.  
  805.  
  806.  
  807. # ServerTokens 
  808.  
  809. # This directive configures what you return as the Server HTTP response 
  810.  
  811. # Header. The default is 'Full' which sends information about the OS-Type 
  812.  
  813. # and compiled in modules. 
  814.  
  815. # Set to one of: Full | OS | Minor | Minimal | Major | Prod 
  816.  
  817. # where Full conveys the most information, and Prod the least. 
  818.  
  819.  
  820. ServerTokens Full 
  821.  
  822.  
  823.  
  824.  
  825. # Optionally add a line containing the server version and virtual host 
  826.  
  827. # name to server-generated pages (internal error documents, FTP directory  
  828.  
  829. # listings, mod_status and mod_info output etc., but not CGI generated  
  830.  
  831. # documents or custom error documents). 
  832.  
  833. # Set to "EMail" to also include a mailto: link to the ServerAdmin. 
  834.  
  835. # Set to one of: On | Off | EMail 
  836.  
  837.  
  838. ServerSignature On 
  839.  
  840.  
  841.  
  842.  
  843. # Aliases: Add here as many aliases as you need (with no limit). The format is  
  844.  
  845. # Alias fakename realname 
  846.  
  847.  
  848. # Note that if you include a trailing / on fakename then the server will 
  849.  
  850. # require it to be present in the URL. So "/icons" isn't aliased in this 
  851.  
  852. # example, only "/icons/". If the fakename is slash-terminated, then the  
  853.  
  854. # realname must also be slash terminated, and if the fakename omits the  
  855.  
  856. # trailing slash, the realname must also omit it. 
  857.  
  858.  
  859. # We include the /icons/ alias for FancyIndexed directory listings. If you 
  860.  
  861. # do not use FancyIndexing, you may comment this out. 
  862.  
  863.  
  864. Alias /icons/ "C:/Webserver/Apache2/icons/" 
  865.  
  866.  
  867.  
  868. <Directory "C:/Webserver/Apache2/icons"> 
  869.  
  870. Options Indexes MultiViews 
  871.  
  872. AllowOverride None 
  873.  
  874. Order allow,deny 
  875.  
  876. Allow from all 
  877.  
  878. </Directory> 
  879.  
  880.  
  881.  
  882.  
  883. # This should be changed to the ServerRoot/manual/. The alias provides 
  884.  
  885. # the manual, even if you choose to move your DocumentRoot. You may comment 
  886.  
  887. # this out if you do not care for the documentation. 
  888.  
  889.  
  890. AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "C:/Webserver/Apache2/manual$1" 
  891.  
  892.  
  893.  
  894. <Directory "C:/Webserver/Apache2/manual"> 
  895.  
  896. Options Indexes 
  897.  
  898. AllowOverride None 
  899.  
  900. Order allow,deny 
  901.  
  902. Allow from all 
  903.  
  904.  
  905.  
  906. <Files *.html> 
  907.  
  908. SetHandler type-map 
  909.  
  910. </Files> 
  911.  
  912.  
  913.  
  914. SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1 
  915.  
  916. RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 
  917.  
  918. </Directory> 
  919.  
  920.  
  921.  
  922.  
  923. # ScriptAlias: This controls which directories contain server scripts. 
  924.  
  925. # ScriptAliases are essentially the same as Aliases, except that 
  926.  
  927. # documents in the realname directory are treated as applications and 
  928.  
  929. # run by the server when requested rather than as documents sent to the client. 
  930.  
  931. # The same rules about trailing "/" apply to ScriptAlias directives as to 
  932.  
  933. # Alias. 
  934.  
  935.  
  936. ScriptAlias /cgi-bin/ "C:/Webserver/Apache2/cgi-bin/" 
  937.  
  938.  
  939.  
  940.  
  941. # "C:/Webserver/Apache2/cgi-bin" should be changed to whatever your ScriptAliased 
  942.  
  943. # CGI directory exists, if you have that configured. 
  944.  
  945.  
  946. <Directory "C:/Webserver/Apache2/cgi-bin"> 
  947.  
  948. AllowOverride None 
  949.  
  950. Options None 
  951.  
  952. Order allow,deny 
  953.  
  954. Allow from all 
  955.  
  956. </Directory> 
  957.  
  958.  
  959.  
  960.  
  961. # Redirect allows you to tell clients about documents which used to exist in 
  962.  
  963. # your server's namespace, but do not anymore. This allows you to tell the 
  964.  
  965. # clients where to look for the relocated document. 
  966.  
  967. # Example: 
  968.  
  969. # Redirect permanent /foo http://www.example.com/bar 
  970.  
  971.  
  972.  
  973.  
  974. # Directives controlling the display of server-generated directory listings. 
  975.  
  976.  
  977.  
  978.  
  979.  
  980. # IndexOptions: Controls the appearance of server-generated directory 
  981.  
  982. # listings. 
  983.  
  984.  
  985. IndexOptions FancyIndexing VersionSort 
  986.  
  987.  
  988.  
  989.  
  990. # AddIcon* directives tell the server which icon to show for different 
  991.  
  992. # files or filename extensions. These are only displayed for 
  993.  
  994. # FancyIndexed directories. 
  995.  
  996.  
  997. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip 
  998.  
  999.  
  1000.  
  1001. AddIconByType (TXT,/icons/text.gif) text/* 
  1002.  
  1003. AddIconByType (IMG,/icons/image2.gif) image/* 
  1004.  
  1005. AddIconByType (SND,/icons/sound2.gif) audio/* 
  1006.  
  1007. AddIconByType (VID,/icons/movie.gif) video/* 
  1008.  
  1009.  
  1010.  
  1011. AddIcon /icons/binary.gif .bin .exe 
  1012.  
  1013. AddIcon /icons/binhex.gif .hqx 
  1014.  
  1015. AddIcon /icons/tar.gif .tar 
  1016.  
  1017. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv 
  1018.  
  1019. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip 
  1020.  
  1021. AddIcon /icons/a.gif .ps .ai .eps 
  1022.  
  1023. AddIcon /icons/layout.gif .html .shtml .htm .pdf 
  1024.  
  1025. AddIcon /icons/text.gif .txt 
  1026.  
  1027. AddIcon /icons/c.gif .c 
  1028.  
  1029. AddIcon /icons/p.gif .pl .py 
  1030.  
  1031. AddIcon /icons/f.gif .for 
  1032.  
  1033. AddIcon /icons/dvi.gif .dvi 
  1034.  
  1035. AddIcon /icons/uuencoded.gif .uu 
  1036.  
  1037. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl 
  1038.  
  1039. AddIcon /icons/tex.gif .tex 
  1040.  
  1041. AddIcon /icons/bomb.gif core 
  1042.  
  1043.  
  1044.  
  1045. AddIcon /icons/back.gif .. 
  1046.  
  1047. AddIcon /icons/hand.right.gif README 
  1048.  
  1049. AddIcon /icons/folder.gif ^^DIRECTORY^^ 
  1050.  
  1051. AddIcon /icons/blank.gif ^^BLANKICON^^ 
  1052.  
  1053.  
  1054.  
  1055.  
  1056. # DefaultIcon is which icon to show for files which do not have an icon 
  1057.  
  1058. # explicitly set. 
  1059.  
  1060.  
  1061. DefaultIcon /icons/unknown.gif 
  1062.  
  1063.  
  1064.  
  1065.  
  1066. # AddDescription allows you to place a short description after a file in 
  1067.  
  1068. # server-generated indexes. These are only displayed for FancyIndexed 
  1069.  
  1070. # directories. 
  1071.  
  1072. # Format: AddDescription "description" filename 
  1073.  
  1074.  
  1075. #AddDescription "GZIP compressed document" .gz 
  1076.  
  1077. #AddDescription "tar archive" .tar 
  1078.  
  1079. #AddDescription "GZIP compressed tar archive" .tgz 
  1080.  
  1081.  
  1082.  
  1083.  
  1084. # ReadmeName is the name of the README file the server will look for by 
  1085.  
  1086. # default, and append to directory listings. 
  1087.  
  1088.  
  1089. # HeaderName is the name of a file which should be prepended to 
  1090.  
  1091. # directory indexes.  
  1092.  
  1093. ReadmeName README.html 
  1094.  
  1095. HeaderName HEADER.html 
  1096.  
  1097.  
  1098.  
  1099.  
  1100. # IndexIgnore is a set of filenames which directory indexing should ignore 
  1101.  
  1102. # and not include in the listing. Shell-style wildcarding is permitted. 
  1103.  
  1104.  
  1105. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t 
  1106.  
  1107.  
  1108.  
  1109.  
  1110. # DefaultLanguage and AddLanguage allows you to specify the language of  
  1111.  
  1112. # a document. You can then use content negotiation to give a browser a  
  1113.  
  1114. # file in a language the user can understand. 
  1115.  
  1116.  
  1117. # Specify a default language. This means that all data 
  1118.  
  1119. # going out without a specific language tag (see below) will  
  1120.  
  1121. # be marked with this one. You probably do NOT want to set 
  1122.  
  1123. # this unless you are sure it is correct for all cases. 
  1124.  
  1125.  
  1126. # * It is generally better to not mark a page as  
  1127.  
  1128. # * being a certain language than marking it with the wrong 
  1129.  
  1130. # * language! 
  1131.  
  1132.  
  1133. # DefaultLanguage nl 
  1134.  
  1135.  
  1136. # Note 1: The suffix does not have to be the same as the language 
  1137.  
  1138. # keyword --- those with documents in Polish (whose net-standard 
  1139.  
  1140. # language code is pl) may wish to use "AddLanguage pl .po" to 
  1141.  
  1142. # avoid the ambiguity with the common suffix for perl scripts. 
  1143.  
  1144.  
  1145. # Note 2: The example entries below illustrate that in some cases  
  1146.  
  1147. # the two character 'Language' abbreviation is not identical to  
  1148.  
  1149. # the two character 'Country' code for its country, 
  1150.  
  1151. # E.g. 'Danmark/dk' versus 'Danish/da'. 
  1152.  
  1153.  
  1154. # Note 3: In the case of 'ltz' we violate the RFC by using a three char 
  1155.  
  1156. # specifier. There is 'work in progress' to fix this and get 
  1157.  
  1158. # the reference data for rfc1766 cleaned up. 
  1159.  
  1160.  
  1161. # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl) 
  1162.  
  1163. # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de) 
  1164.  
  1165. # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja) 
  1166.  
  1167. # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn) 
  1168.  
  1169. # Norwegian (no) - Polish (pl) - Portugese (pt) 
  1170.  
  1171. # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv) 
  1172.  
  1173. # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW) 
  1174.  
  1175.  
  1176. AddLanguage ca .ca 
  1177.  
  1178. AddLanguage cs .cz .cs 
  1179.  
  1180. AddLanguage da .dk 
  1181.  
  1182. AddLanguage de .de 
  1183.  
  1184. AddLanguage el .el 
  1185.  
  1186. AddLanguage en .en 
  1187.  
  1188. AddLanguage eo .eo 
  1189.  
  1190. AddLanguage es .es 
  1191.  
  1192. AddLanguage et .et 
  1193.  
  1194. AddLanguage fr .fr 
  1195.  
  1196. AddLanguage he .he 
  1197.  
  1198. AddLanguage hr .hr 
  1199.  
  1200. AddLanguage it .it 
  1201.  
  1202. AddLanguage ja .ja 
  1203.  
  1204. AddLanguage ko .ko 
  1205.  
  1206. AddLanguage ltz .ltz 
  1207.  
  1208. AddLanguage nl .nl 
  1209.  
  1210. AddLanguage nn .nn 
  1211.  
  1212. AddLanguage no .no 
  1213.  
  1214. AddLanguage pl .po 
  1215.  
  1216. AddLanguage pt .pt 
  1217.  
  1218. AddLanguage pt-BR .pt-br 
  1219.  
  1220. AddLanguage ru .ru 
  1221.  
  1222. AddLanguage sv .sv 
  1223.  
  1224. AddLanguage zh-CN .zh-cn 
  1225.  
  1226. AddLanguage zh-TW .zh-tw 
  1227.  
  1228.  
  1229.  
  1230.  
  1231. # LanguagePriority allows you to give precedence to some languages 
  1232.  
  1233. # in case of a tie during content negotiation. 
  1234.  
  1235.  
  1236. # Just list the languages in decreasing order of preference. We have 
  1237.  
  1238. # more or less alphabetized them here. You probably want to change this. 
  1239.  
  1240.  
  1241. 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 
  1242.  
  1243.  
  1244.  
  1245.  
  1246. # ForceLanguagePriority allows you to serve a result page rather than 
  1247.  
  1248. # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback) 
  1249.  
  1250. # [in case no accepted languages matched the available variants] 
  1251.  
  1252.  
  1253. ForceLanguagePriority Prefer Fallback 
  1254.  
  1255.  
  1256.  
  1257.  
  1258. # Commonly used filename extensions to character sets. You probably 
  1259.  
  1260. # want to avoid clashes with the language extensions, unless you 
  1261.  
  1262. # are good at carefully testing your setup after each change. 
  1263.  
  1264. # See http://www.iana.org/assignments/character-sets for the 
  1265.  
  1266. # official list of charset names and their respective RFCs. 
  1267.  
  1268.  
  1269. AddCharset ISO-8859-1 .iso8859-1 .latin1 
  1270.  
  1271. AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen 
  1272.  
  1273. AddCharset ISO-8859-3 .iso8859-3 .latin3 
  1274.  
  1275. AddCharset ISO-8859-4 .iso8859-4 .latin4 
  1276.  
  1277. AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru 
  1278.  
  1279. AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb 
  1280.  
  1281. AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk 
  1282.  
  1283. AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb 
  1284.  
  1285. AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk 
  1286.  
  1287. AddCharset ISO-2022-JP .iso2022-jp .jis 
  1288.  
  1289. AddCharset ISO-2022-KR .iso2022-kr .kis 
  1290.  
  1291. AddCharset ISO-2022-CN .iso2022-cn .cis 
  1292.  
  1293. AddCharset Big5 .Big5 .big5 
  1294.  
  1295. # For russian, more than one charset is used (depends on client, mostly): 
  1296.  
  1297. AddCharset WINDOWS-1251 .cp-1251 .win-1251 
  1298.  
  1299. AddCharset CP866 .cp866 
  1300.  
  1301. AddCharset KOI8-r .koi8-r .koi8-ru 
  1302.  
  1303. AddCharset KOI8-ru .koi8-uk .ua 
  1304.  
  1305. AddCharset ISO-10646-UCS-2 .ucs2 
  1306.  
  1307. AddCharset ISO-10646-UCS-4 .ucs4 
  1308.  
  1309. AddCharset UTF-8 .utf8 
  1310.  
  1311.  
  1312.  
  1313. # The set below does not map to a specific (iso) standard 
  1314.  
  1315. # but works on a fairly wide range of browsers. Note that 
  1316.  
  1317. # capitalization actually matters (it should not, but it 
  1318.  
  1319. # does for some browsers). 
  1320.  
  1321.  
  1322. # See http://www.iana.org/assignments/character-sets 
  1323.  
  1324. # for a list of sorts. But browsers support few. 
  1325.  
  1326.  
  1327. AddCharset GB2312 .gb2312 .gb  
  1328.  
  1329. AddCharset utf-7 .utf7 
  1330.  
  1331. AddCharset utf-8 .utf8 
  1332.  
  1333. AddCharset big5 .big5 .b5 
  1334.  
  1335. AddCharset EUC-TW .euc-tw 
  1336.  
  1337. AddCharset EUC-JP .euc-jp 
  1338.  
  1339. AddCharset EUC-KR .euc-kr 
  1340.  
  1341. AddCharset shift_jis .sjis 
  1342.  
  1343.  
  1344.  
  1345.  
  1346. # AddType allows you to add to or override the MIME configuration 
  1347.  
  1348. # file mime.types for specific file types. 
  1349.  
  1350.  
  1351. #AddType application/x-tar .tgz 
  1352.  
  1353.  
  1354. # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress 
  1355.  
  1356. # information on the fly. Note: Not all browsers support this. 
  1357.  
  1358. # Despite the name similarity, the following Add* directives have nothing 
  1359.  
  1360. # to do with the FancyIndexing customization directives above. 
  1361.  
  1362.  
  1363. #AddEncoding x-compress .Z 
  1364.  
  1365. #AddEncoding x-gzip .gz .tgz 
  1366.  
  1367.  
  1368. # If the AddEncoding directives above are commented-out, then you 
  1369.  
  1370. # probably should define those extensions to indicate media types: 
  1371.  
  1372.  
  1373. AddType application/x-httpd-php .php 
  1374.  
  1375. AddType application/x-compress .Z 
  1376.  
  1377. AddType application/x-gzip .gz .tgz 
  1378.  
  1379.  
  1380.  
  1381.  
  1382. # AddHandler allows you to map certain file extensions to "handlers": 
  1383.  
  1384. # actions unrelated to filetype. These can be either built into the server 
  1385.  
  1386. # or added with the Action directive (see below) 
  1387.  
  1388.  
  1389. # To use CGI scripts outside of ScriptAliased directories: 
  1390.  
  1391. # (You will also need to add "ExecCGI" to the "Options" directive.) 
  1392.  
  1393.  
  1394. #AddHandler cgi-script .cgi 
  1395.  
  1396.  
  1397.  
  1398.  
  1399. # For files that include their own HTTP headers: 
  1400.  
  1401.  
  1402. #AddHandler send-as-is asis 
  1403.  
  1404.  
  1405.  
  1406.  
  1407. # For server-parsed imagemap files: 
  1408.  
  1409.  
  1410. #AddHandler imap-file map 
  1411.  
  1412.  
  1413.  
  1414.  
  1415. # For type maps (negotiated resources): 
  1416.  
  1417. # (This is enabled by default to allow the Apache "It Worked" page 
  1418.  
  1419. # to be distributed in multiple languages.) 
  1420.  
  1421.  
  1422. AddHandler type-map var 
  1423.  
  1424.  
  1425.  
  1426.  
  1427. # Filters allow you to process content before it is sent to the client. 
  1428.  
  1429.  
  1430. # To parse .shtml files for server-side includes (SSI): 
  1431.  
  1432. # (You will also need to add "Includes" to the "Options" directive.) 
  1433.  
  1434.  
  1435. #AddType text/html .shtml 
  1436.  
  1437. #AddOutputFilter INCLUDES .shtml 
  1438.  
  1439.  
  1440.  
  1441.  
  1442. # Action lets you define media types that will execute a script whenever 
  1443.  
  1444. # a matching file is called. This eliminates the need for repeated URL 
  1445.  
  1446. # pathnames for oft-used CGI file processors. 
  1447.  
  1448. # Format: Action media/type /cgi-script/location 
  1449.  
  1450. # Format: Action handler-name /cgi-script/location 
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456. # Customizable error responses come in three flavors: 
  1457.  
  1458. # 1) plain text 2) local redirects 3) external redirects 
  1459.  
  1460.  
  1461. # Some examples: 
  1462.  
  1463. #ErrorDocument 500 "The server made a boo boo." 
  1464.  
  1465. #ErrorDocument 404 /missing.html 
  1466.  
  1467. #ErrorDocument 404 "/cgi-bin/missing_handler.pl" 
  1468.  
  1469. #ErrorDocument 402 http://www.example.com/subscription_info.html 
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475. # Putting this all together, we can internationalize error responses. 
  1476.  
  1477.  
  1478. # We use Alias to redirect any /error/HTTP_<error>.html.var response to 
  1479.  
  1480. # our collection of by-error message multi-language collections. We use  
  1481.  
  1482. # includes to substitute the appropriate text. 
  1483.  
  1484.  
  1485. # You can modify the messages' appearance without changing any of the 
  1486.  
  1487. # default HTTP_<error>.html.var files by adding the line: 
  1488.  
  1489.  
  1490. # Alias /error/include/ "/your/include/path/" 
  1491.  
  1492.  
  1493. # which allows you to create your own set of files by starting with the 
  1494.  
  1495. # @exp_errordir@/include/ files and copying them to /your/include/path/,  
  1496.  
  1497. # even on a per-VirtualHost basis. The default include files will display 
  1498.  
  1499. # your Apache version number and your ServerAdmin email address regardless 
  1500.  
  1501. # of the setting of ServerSignature. 
  1502.  
  1503.  
  1504. # The internationalized error documents require mod_alias, mod_include 
  1505.  
  1506. # and mod_negotiation. To activate them, uncomment the following 30 lines. 
  1507.  
  1508.  
  1509.  
  1510. # Alias /error/ "@exp_errordir@/" 
  1511.  
  1512.  
  1513. # <Directory "@exp_errordir@"> 
  1514.  
  1515. # AllowOverride None 
  1516.  
  1517. # Options IncludesNoExec 
  1518.  
  1519. # AddOutputFilter Includes html 
  1520.  
  1521. # AddHandler type-map var 
  1522.  
  1523. # Order allow,deny 
  1524.  
  1525. # Allow from all 
  1526.  
  1527. # LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr 
  1528.  
  1529. # ForceLanguagePriority Prefer Fallback 
  1530.  
  1531. # </Directory> 
  1532.  
  1533.  
  1534. # ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var 
  1535.  
  1536. # ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var 
  1537.  
  1538. # ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var 
  1539.  
  1540. # ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var 
  1541.  
  1542. # ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var 
  1543.  
  1544. # ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var 
  1545.  
  1546. # ErrorDocument 410 /error/HTTP_GONE.html.var 
  1547.  
  1548. # ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var 
  1549.  
  1550. # ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var 
  1551.  
  1552. # ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var 
  1553.  
  1554. # ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var 
  1555.  
  1556. # ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var 
  1557.  
  1558. # ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var 
  1559.  
  1560. # ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var 
  1561.  
  1562. # ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var 
  1563.  
  1564. # ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var 
  1565.  
  1566. # ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var 
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575. # The following directives modify normal HTTP response behavior to 
  1576.  
  1577. # handle known problems with browser implementations. 
  1578.  
  1579.  
  1580. BrowserMatch "Mozilla/2" nokeepalive 
  1581.  
  1582. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 
  1583.  
  1584. BrowserMatch "RealPlayer 4\.0" force-response-1.0 
  1585.  
  1586. BrowserMatch "Java/1\.0" force-response-1.0 
  1587.  
  1588. BrowserMatch "JDK/1\.0" force-response-1.0 
  1589.  
  1590.  
  1591.  
  1592.  
  1593. # The following directive disables redirects on non-GET requests for 
  1594.  
  1595. # a directory that does not include the trailing slash. This fixes a  
  1596.  
  1597. # problem with Microsoft WebFolders which does not appropriately handle  
  1598.  
  1599. # redirects for folders with DAV methods. 
  1600.  
  1601. # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV. 
  1602.  
  1603.  
  1604. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully 
  1605.  
  1606. BrowserMatch "MS FrontPage" redirect-carefully 
  1607.  
  1608. BrowserMatch "^WebDrive" redirect-carefully 
  1609.  
  1610. BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully 
  1611.  
  1612. BrowserMatch "^gnome-vfs" redirect-carefully 
  1613.  
  1614. BrowserMatch "^XML Spy" redirect-carefully 
  1615.  
  1616. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully 
  1617.  
  1618.  
  1619.  
  1620.  
  1621. # Allow server status reports generated by mod_status, 
  1622.  
  1623. # with the URL of http://servername/server-status 
  1624.  
  1625. # Change the ".localhost" to match your domain to enable. 
  1626.  
  1627.  
  1628. #<Location /server-status> 
  1629.  
  1630. # SetHandler server-status 
  1631.  
  1632. # Order deny,allow 
  1633.  
  1634. # Deny from all 
  1635.  
  1636. # Allow from .localhost 
  1637.  
  1638. #</Location> 
  1639.  
  1640.  
  1641.  
  1642.  
  1643. # Allow remote server configuration reports, with the URL of 
  1644.  
  1645. # http://servername/server-info (requires that mod_info.c be loaded). 
  1646.  
  1647. # Change the ".localhost" to match your domain to enable. 
  1648.  
  1649.  
  1650. #<Location /server-info> 
  1651.  
  1652. # SetHandler server-info 
  1653.  
  1654. # Order deny,allow 
  1655.  
  1656. # Deny from all 
  1657.  
  1658. # Allow from .localhost 
  1659.  
  1660. #</Location> 
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667. # Bring in additional module-specific configurations 
  1668.  
  1669.  
  1670. <IfModule mod_ssl.c> 
  1671.  
  1672. Include conf/ssl.conf 
  1673.  
  1674. </IfModule> 
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680. ### Section 3: Virtual Hosts 
  1681.  
  1682.  
  1683. # VirtualHost: If you want to maintain multiple domains/hostnames on your 
  1684.  
  1685. # machine you can setup VirtualHost containers for them. Most configurations 
  1686.  
  1687. # use only name-based virtual hosts so the server doesn't need to worry about 
  1688.  
  1689. # IP addresses. This is indicated by the asterisks in the directives below. 
  1690.  
  1691.  
  1692. # Please see the documentation at  
  1693.  
  1694. # <URL:http://httpd.apache.org/docs/2.0/vhosts/> 
  1695.  
  1696. # for further details before you try to setup virtual hosts. 
  1697.  
  1698.  
  1699. # You may use the command line option '-S' to verify your virtual host 
  1700.  
  1701. # configuration. 
  1702.  
  1703.  
  1704.  
  1705.  
  1706. # Use name-based virtual hosting. 
  1707.  
  1708.  
  1709. #NameVirtualHost *:80 
  1710.  
  1711.  
  1712.  
  1713.  
  1714. # VirtualHost example: 
  1715.  
  1716. # Almost any Apache directive may go into a VirtualHost container. 
  1717.  
  1718. # The first VirtualHost section is used for requests without a known 
  1719.  
  1720. # server name. 
  1721.  
  1722.  
  1723. #<VirtualHost *:80> 
  1724.  
  1725. # ServerAdmin webmaster@dummy-host.example.com 
  1726.  
  1727. # DocumentRoot /www/docs/dummy-host.example.com 
  1728.  
  1729. # ServerName dummy-host.example.com 
  1730.  
  1731. # ErrorLog logs/dummy-host.example.com-error_log 
  1732.  
  1733. # CustomLog logs/dummy-host.example.com-access_log common 
  1734.  
  1735. #</VirtualHost> 
  1736.  
  1737. [/syntax] 
  1738.  
  1739.  
  1740.  
  1741. Cheers  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747. feyd | Please use 
Syntax: [ Download ] [ Hide ]
,
[syntax=php]and
Syntax: [ Download ] [ Hide ]
  1. tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: to learn how to do it too. 


Top
 Profile  
 
 Post subject: Fixed my problem
PostPosted: Tue Oct 30, 2007 11:12 pm 
Offline
Forum Commoner

Joined: Sun Oct 28, 2007 10:20 pm
Posts: 96
Location: Hamilton, Ontario, Canada
This post can be removed...I simply re-installed all the software from scratch (not according to the site I originally used) and it works great.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group