Announcement

Collapse
No announcement yet.

There is a module available called mod_perl which can be used by Apache to process...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    There is a module available called mod_perl which can be used by Apache to process...

    There is a module available called mod_perl which can be used by Apache to process calls to Perl files quicker.

    This can only be attempted by a web host who is familiar with Apache configuration.

    First you need to download and install the mod_perl module. Go to www.apache.org for more details on this.

    Once mod_perl is installed, add the following IfModule to httpd.conf:

    <IfModule mod_perl.c>
    Alias /perl /var/www/perl/
    <Directory /var/www/perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
    </Directory>
    </IfModule>

    Then look for a virtual server entry that looks like the following:

    <Directory "/var/www/virtsrv/domain.com">
    AddHandler cgi-script .cgi
    Options ExecCGI -Indexes
    </Directory>

    And change it to the following:

    <Directory "/var/www/virtsrv/domain.com/cgi-bin">
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    Options ExecCGI -Indexes
    </Directory>

    Note that the paths given are examples and may change between operating systems and control panels.
Working...
X