Apache2::ASP::Manual::HttpdConf

Apache2::ASP::Manual::HttpdConf is a Perl module that contains documentation about httpd.conf for Apache2::ASP.
Download

Apache2::ASP::Manual::HttpdConf Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • John Drago
  • Publisher web site:
  • http://search.cpan.org/~johnd/Apache2-ASP-1.23/lib/Apache2/ASP/Manual/HttpdConf.pod

Apache2::ASP::Manual::HttpdConf Tags


Apache2::ASP::Manual::HttpdConf Description

Apache2::ASP::Manual::HttpdConf is a Perl module that contains documentation about httpd.conf for Apache2::ASP. Apache2::ASP::Manual::HttpdConf is a Perl module that contains documentation about httpd.conf for Apache2::ASP.To run Apache2::ASP under Apache, you need to set up the Apache configuration properly.Apache configuration takes place in its httpd.conf file.Although you could simply place your configuration in the main httpd.conf file, it is recommended that you instead use your local httpd.conf file located under your application's root in conf/httpd.conf.To include your local httpd.conf file in the global httpd.conf, simply add the following line near the bottom of your global httpd.conf: # Config for Apache2::ASP application: Include /path/to/your/app/conf/httpd.confThe comment is important as well.EXAMPLEThe following is an example httpd.conf: # !IMPORTANT! # This is the libapreq2 config entry: LoadModule apreq_module /usr/local/apache2/modules/mod_apreq2.so # !IMPORTANT! # This must be set before Apache2::ASP::PostConfigHandler is run: PerlSetEnv APACHE2_ASP_APPLICATION_ROOT /var/www # Load up some important modules: PerlModule Apache2::ASP PerlModule Apache2::ASP::PostConfigHandler PerlPostConfigHandler Apache2::ASP::PostConfigHandler # Configuration for MediaManager: PerlModule Apache2::ASP::TransHandler # Main website: < VirtualHost *:80 > # !IMPORTANT! # ServerName is not *required* for Apache2::ASP # but is included here in the example, just as an example. # *IF* you do include the ServerName directive, make sure it is correct! ServerName whatever.com # Where your *.asp scripts live: DocumentRoot /var/www/html # Set the directory index, so that /foldername/ will map to /foldername/index.asp: DirectoryIndex index.asp # Apache2::ASP::TransHandler converts /media/filename.txt urls so that they # really mean /handlers/MediaManager?file=filename.txt PerlTransHandler Apache2::ASP::TransHandler # !IMPORTANT! Prevent anyone from viewing your GlobalASA.pm < Files ~ (.pm$) > Order allow,deny Deny from all < /Files > # All *.asp files are handled by Apache2::ASP < Files ~ (.asp$) > SetHandler perl-script PerlHandler Apache2::ASP < /Files > # All requests to /handlers/* will be handled by their respective handler: < Location /handlers > SetHandler perl-script PerlHandler Apache2::ASP < /Location > < /VirtualHost > Requirements: · Perl


Apache2::ASP::Manual::HttpdConf Related Software