File: asp.conf

package info (click to toggle)
libapache-asp-perl 2.63-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,120 kB
  • sloc: perl: 6,044; php: 409; sh: 62; lisp: 22; makefile: 10
file content (37 lines) | stat: -rw-r--r-- 687 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

# base config for all site/eg asp scripts
%Config = ( 
  Debug => 3,
  MailHost => 'localhost',
  TimeHiRes => 1,
  XMLSubsMatch => 'my:\w+',
  GlobalPackage => 'Apache::ASP::Demo',
  BufferingOn => 1,
  FileUploadMax => 200000,
  FileUploadTemp => 1,
  StateDir => '/tmp/aspcgidemo',
);

if($0 =~ /asp$/) {
	$Config{NoState} = 0;
} else {
	$Config{NoState} = 1;
}

if($0 =~ /xml_subs_strict.asp/) {
  $Config{XMLSubsStrict} = 1;
}

if($0 =~ /\.xml$/) {
  $Config{XSLT} = 'template.xsl',
  $Config{XSLTCache} = 1,
  $Config{CacheDir} = '/tmp/aspcgidemo_cache';
}

if($0 =~ /session_query_parse/) {
  $Config{SessionQueryParse} = 1;
}

if($0 =~ /cgi.htm/) {
  $Config{CgiHeaders} = 1;
}