Apache-iNcom

 view release on metacpan or  search on metacpan

demo/conf/httpd-perl.conf  view on Meta::CPAN

#AddModule mod_include.c
#AddModule mod_autoindex.c
AddModule mod_dir.c
#AddModule mod_cgi.c
#AddModule mod_asis.c
#AddModule mod_imap.c
AddModule mod_actions.c
#AddModule mod_speling.c
#AddModule mod_userdir.c
#AddModule mod_proxy.c
AddModule mod_alias.c
#AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
#AddModule mod_auth_anon.c
#AddModule mod_auth_db.c
#AddModule mod_digest.c
#AddModule mod_cern_meta.c
#AddModule mod_expires.c
#AddModule mod_headers.c
#AddModule mod_usertrack.c
#AddModule mod_unique_id.c
AddModule mod_so.c
AddModule mod_setenvif.c
#<IfDefine SSL>
#AddModule mod_ssl.c
#</IfDefine>
AddModule mod_perl.c

DocumentRoot /home/francis/copiscan/html

ServerAdmin webmaster@localhost

DirectoryIndex index.html index.html 
AccessFileName .htaccess

<Files .htaccess>
    Order allow,deny
    Deny from all
</Files>

UseCanonicalName On
TypesConfig /etc/httpd/conf/mime.types

DefaultType text/plain

HostnameLookups Off

ErrorLog logs/error_log
LogLevel debug

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

CustomLog logs/access_log combined

ServerSignature On

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0

BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

<IfModule mod_perl.c>
    PerlRequire conf/startup.pl

    <Location /perl-status>
	SetHandler perl-script
        PerlHandler Apache::Status

	Order deny,allow
	Deny from all
	Allow from 127.0.0.1
    </Location>

    PerlInitHandler		iNcom::request_init
    PerlSetVar INCOM_URL_PREFIX /copiscan/
    PerlSetVar INCOM_ROOT       /home/francis/copiscan/pages
    PerlSetVar INCOM_DBI_DSN    "dbi:Pg(ChopBlanks=>1):dbname=francis"
</IfModule>



( run in 0.758 second using v1.01-cache-2.11-cpan-df04353d9ac )