home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / asp / asp.conf < prev    next >
Encoding:
Text File  |  2003-09-03  |  723 b   |  38 lines

  1.  
  2. # base config for all site/eg asp scripts
  3. %Config = ( 
  4.   Debug => 3,
  5.   MailHost => 'localhost',
  6.   TimeHiRes => 1,
  7.   XMLSubsMatch => 'my:\w+',
  8.   GlobalPackage => 'Apache::ASP::Demo',
  9.   BufferingOn => 1,
  10.   FileUploadMax => 50000,
  11.   FileUploadTemp => 1,
  12.   StateDir => '/tmp/aspcgidemo',
  13. );
  14.  
  15. if($0 =~ /asp$/) {
  16.     $Config{NoState} = 0;
  17. } else {
  18.     $Config{NoState} = 1;
  19. }
  20.  
  21. if($0 =~ /xml_subs_strict.asp/) {
  22.   $Config{XMLSubsStrict} = 1;
  23. }
  24.  
  25. if($0 =~ /\.xml$/) {
  26.   $Config{XSLT} = 'template.xsl',
  27.   $Config{XSLTCache} = 1,
  28.   $Config{CacheDir} = '/tmp/aspcgidemo_cache';
  29. }
  30.  
  31. if($0 =~ /session_query_parse/) {
  32.   $Config{SessionQueryParse} = 1;
  33. }
  34.  
  35. if($0 =~ /cgi.htm/) {
  36.   $Config{CgiHeaders} = 1;
  37. }
  38.