home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / conf / asp.conf < prev    next >
Encoding:
Text File  |  2003-11-17  |  1.0 KB  |  45 lines

  1. #
  2. # [DON'T BRING IT BACK TO HTTPD.CONF!]
  3. # [DON'T BRING IT BACK TO HTTPD.CONF!]
  4. # [DON'T BRING IT BACK TO HTTPD.CONF!]
  5. #
  6. #  --> Otherwise your Control Center won't work correctly!
  7. #
  8. # This is excluded from httpd.conf for making it possible 
  9. # to activate or de-activate the entire ASP-Support and not 
  10. # only suppress the Handler.
  11. #
  12. # Apache can start faster this way...
  13. #
  14. # ATTENTION: Take care to load asp.conf OR perl.conf!
  15. #
  16.  
  17. Alias /asp/  "asp/"
  18.  
  19. PerlModule Apache::ASP
  20. PerlSetVar NoState 1
  21. <Files ~ (\.asp)>
  22.  SetHandler perl-script
  23.  PerlHandler Apache::ASP
  24.  PerlSetVar Global .
  25.   @@PERLSETVAR@@
  26. </Files>
  27.  
  28. <Location /asp>
  29.   SetHandler perl-script
  30.   PerlResponseHandler Apache::ASP
  31.   PerlSetVar Global .
  32.   @@PERLSETVAR@@
  33. </Location>
  34.  
  35. #
  36. # Make this directory to serve asp-perl's
  37. # This is for demonstration only, so be aware
  38. # of what you're doing and what you better shouldn't!
  39. #
  40. <Directory "modperl/asp/eg">
  41.   Options +ExecCGI Indexes FollowSymLinks
  42.   AllowOverride All
  43.   Order allow,deny
  44.   Allow from all
  45. </Directory>