daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Sep 24th, 2012 34 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <IfDefine PHP4>
  2. LoadModule php4_module        modules/libphp4.so
  3. </IfDefine>
  4. <IfDefine PHP5>
  5. LoadModule php5_module        modules/libphp5.so
  6. </IfDefine>
  7. # Disabled in XAMPP 1.8.0-beta2 because of current incompatibilities with Apache 2.4
  8.  LoadModule perl_module        modules/mod_perl.so
  9.  
  10.  
  11. Alias /phpmyadmin "/opt/lampp/phpmyadmin"
  12. Alias /phpsqliteadmin "/opt/lampp/phpsqliteadmin"
  13.  
  14. # since XAMPP 1.4.3
  15. <Directory "/opt/lampp/phpmyadmin">
  16.     AllowOverride AuthConfig Limit
  17.     Order allow,deny
  18.     Allow from all
  19. </Directory>
  20.  
  21. <Directory "/opt/lampp/phpsqliteadmin">
  22.     AllowOverride AuthConfig Limit
  23.     Order allow,deny
  24.     Allow from all
  25. </Directory>
  26.  
  27. # since LAMPP 1.0RC1
  28. AddType application/x-httpd-php .php .php3 .php4
  29.  
  30. XBitHack on
  31.  
  32. # since 0.9.8 we've mod_perl
  33. <IfModule mod_perl.c>
  34.         AddHandler perl-script .pl
  35.         PerlHandler ModPerl::PerlRunPrefork
  36.         PerlOptions +ParseHeaders
  37.         PerlSendHeader On
  38. </IfModule>
  39.  
  40. # demo for mod_perl responsehandler
  41. #PerlModule Apache::CurrentTime
  42. #<Location /time>
  43. #      SetHandler modperl
  44. #      PerlResponseHandler Apache::CurrentTime
  45. #</Location>
  46.  
  47. # AcceptMutex sysvsem is default but on some systems we need this
  48. # thanks to jeff ort for this hint
  49. #AcceptMutex flock
  50. #LockFile /opt/lampp/logs/accept.lock
  51.  
  52. # this makes mod_dbd happy - oswald, 02aug06
  53. # mod_dbd doesn't work in Apache 2.2.3: getting always heaps of "glibc detected *** corrupted double-linked list" on shutdown - oswald, 10sep06
  54. DBDriver sqlite3
  55.  
  56. #
  57. # New XAMPP security concept
  58. #
  59. <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
  60.         Allow from all
  61.         ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
  62. </LocationMatch>
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top