Guest User

Untitled

a guest
Oct 26th, 2011
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 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. # since LAMPP 0.9.8:
  8. LoadModule perl_module modules/mod_perl.so
  9.  
  10. Alias /phpmyadmin "/opt/lampp/phpmyadmin"
  11. Alias /phpsqliteadmin "/opt/lampp/phpsqliteadmin"
  12.  
  13. # since XAMPP 1.4.3
  14. <Directory "/opt/lampp/phpmyadmin">
  15. AllowOverride AuthConfig Limit
  16. Order allow,deny
  17. Allow from all
  18. </Directory>
  19.  
  20. <Directory "/opt/lampp/phpsqliteadmin">
  21. AllowOverride AuthConfig Limit
  22. Order allow,deny
  23. Allow from all
  24. </Directory>
  25.  
  26. # since LAMPP 1.0RC1
  27. AddType application/x-httpd-php .php .php3 .php4
  28.  
  29. XBitHack on
  30.  
  31. # since 0.9.8 we've mod_perl
  32. <IfModule mod_perl.c>
  33. AddHandler perl-script .pl
  34. PerlHandler ModPerl::PerlRunPrefork
  35. PerlOptions +ParseHeaders
  36. PerlSendHeader On
  37. </IfModule>
  38.  
  39. # demo for mod_perl responsehandler
  40. #PerlModule Apache::CurrentTime
  41. #<Location /time>
  42. # SetHandler modperl
  43. # PerlResponseHandler Apache::CurrentTime
  44. #</Location>
  45.  
  46. # AcceptMutex sysvsem is default but on some systems we need this
  47. # thanks to jeff ort for this hint
  48. #AcceptMutex flock
  49. #LockFile /opt/lampp/logs/accept.lock
  50.  
  51. # this makes mod_dbd happy - oswald, 02aug06
  52. # mod_dbd doesn't work in Apache 2.2.3: getting always heaps of "glibc detected *** corrupted double-linked list" on shutdown - oswald, 10sep06
  53. #DBDriver sqlite3
  54.  
  55. #
  56. # New XAMPP security concept
  57. #
  58. <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
  59. Order deny,allow
  60. Deny from all
  61. Allow from ::1 127.0.0.0/8 \
  62. fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
  63. fe80::/10 169.254.0.0/16
  64.  
  65. ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
  66. </LocationMatch>
  67.  
Advertisement
Add Comment
Please, Sign In to add comment