Red Hat NETWORK PROXY SERVER 3.7 - Manuel d'utilisateur Page 90

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 101
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 89
80 Configuring Optional Packages
The lines should read:
Alias /perl/ /home/httpd/perl/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
/home/httpd/perl/ can be any directory whereyou want tostore your
Perlscripts. The/home/httpd/perl/ directorywillbelikeyourcgi-bin
directory. /perl/ is the directory where you’ll access scripts on your
server with URLs like http://www.domain.com/perl/.
If you want to have mod perl handle scripts based just on file extensions,
add these lines to your srm.conf file (but leave the previous lines com-
mented out):
<Files *.pl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
</Files>
With this configuration, mod perl should handle any URLs like
http://www.domain.com/yourscript.pl.
You’ll need to restart your server for these modifications to take effect, as
described in section 2.7 on page 40.
For more informationon using mod perl as a CGI replacementreferto the
cgi to mod perl Perl documentation by running the command:
perldoc cgi_to_mod_perl
For more information onmod perl’s configuration and capabilities, please
refer to the Apache/Perl Integration Project web pages at
http://perl.apache.org/.
Vue de la page 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 100 101

Commentaires sur ces manuels

Pas de commentaire