Red Hat NETWORK PROXY SERVER 3.7 - Manual de usuario Pagina 90

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 101
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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/.
Vista de pagina 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 100 101

Comentarios a estos manuales

Sin comentarios