How do I configure Apache 2.0.x to support ActivePerl?

These instructions assume that you have installed the Apache web server according to the instructions for the 2.0.x Windows version.

  1. Open the httpd.conf file for editing by selecting Start > Programs > Apache HTTP Server > Configure Apache Server > Edit the Apache httpd.conf Configuration File.

    This will open your httpd.conf file in the notepad editor.

  2. Make the following changes to the httpd.conf file:
    • In the DocumentRoot section, set the value of DocumentRoot to the directory in which your web site files will be located on your system’s hard drive(s). Ensure that you use forward slashes (/) in the path, as Apache doesn’t understand backward slashes (\) in paths. For example:
      # DocumentRoot: The directory out of which you will serve your
      # documents. By default, all requests are taken from this directory, but
      # symbolic links and aliases may be used to point to other locations.
      DocumentRoot "C:/apacheroot"
    • In the main directory section, add ExecCGI to the Options line. For example:
      Options FollowSymLinks ExecCGI
    • Search for the following line and remove the hash mark character (#) to uncomment this line. (You can also change .cgi to .pl if you prefer.) For example:
      #AddHandler cgi-script .cgi

      Should look like:

      AddHandler cgi-script .pl
  3. Save your changes to the httpd.conf file, and restart the Apache Service using the Apache Service Monitor.
  4. Test your configuration as described in the Testing Your Web Server Configuration section below.

Laisser un commentaire

WordPress database error: [Table 'foubert.wp_ss_stats' doesn't exist]
INSERT INTO wp_ss_stats (remote_ip,country,language,domain,referer,resource,user_agent,platform,browser,version,dt) VALUES ('','Indeterminable','empty','','','/wordpress/?p=35','CCBot/2.0 (','Indeterminable','Crawler/Search Engine','Indeterminable',1532199970)