Advertisement
Guest User

Untitled

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