Advertisement
Guest User

xampp config

a guest
Sep 24th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  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. Require all granted
  26. </Directory>
  27.  
  28. # since LAMPP 1.0RC1
  29. AddType application/x-httpd-php .php .php3 .php4
  30.  
  31. XBitHack on
  32.  
  33. # since 0.9.8 we've mod_perl
  34. <IfModule mod_perl.c>
  35. AddHandler perl-script .pl
  36. PerlHandler ModPerl::PerlRunPrefork
  37. PerlOptions +ParseHeaders
  38. PerlSendHeader On
  39. </IfModule>
  40.  
  41. # demo for mod_perl responsehandler
  42. #PerlModule Apache::CurrentTime
  43. #<Location /time>
  44. # SetHandler modperl
  45. # PerlResponseHandler Apache::CurrentTime
  46. #</Location>
  47.  
  48. # AcceptMutex sysvsem is default but on some systems we need this
  49. # thanks to jeff ort for this hint
  50. #AcceptMutex flock
  51. #LockFile /opt/lampp/logs/accept.lock
  52.  
  53. # this makes mod_dbd happy - oswald, 02aug06
  54. # mod_dbd doesn't work in Apache 2.2.3: getting always heaps of "glibc detected *** corrupted double-linked list" on shutdown - oswald, 10sep06
  55. DBDriver sqlite3
  56.  
  57. #
  58. # New XAMPP security concept
  59. #
  60. <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
  61. Allow from all
  62. ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
  63. </LocationMatch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement