Advertisement
Guest User

Untitled

a guest
Jan 17th, 2013
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. ServerRoot "/opt/twlan/apache"
  2. Listen 80
  3. <IfModule mpm_winnt_module>
  4. ThreadsPerChild 200
  5. LoadModule alias_module modules/mod_alias.so
  6. LoadModule authz_host_module modules/mod_authz_host.so
  7. LoadModule deflate_module modules/mod_deflate.so
  8. LoadModule dir_module modules/mod_dir.so
  9. LoadModule headers_module modules/mod_headers.so
  10. LoadModule log_config_module modules/mod_log_config.so
  11. LoadModule mime_module modules/mod_mime.so
  12. LoadModule setenvif_module modules/mod_setenvif.so
  13. LoadFile bin/php4ts.dll
  14. LoadModule php4_module bin/php4apache2.dll
  15. Win32DisableAcceptEx
  16. </IfModule>
  17. <IfModule !mpm_winnt_module>
  18. LoadModule php4_module modules/libphp4.so
  19. User nobody
  20. Group nogroup
  21. </IfModule>
  22. ServerAdmin you@example.com
  23. ServerName localhost
  24. DocumentRoot "../htdocs"
  25. <Directory />
  26. Options FollowSymLinks
  27. AllowOverride None
  28. Order deny,allow
  29. Deny from all
  30. </Directory>
  31. <Directory "/opt/twlan/htdocs">
  32. Options Indexes FollowSymLinks
  33. AllowOverride Limit Options
  34. Order allow,deny
  35. Allow from all
  36. </Directory>
  37. <IfModule dir_module>
  38. DirectoryIndex index.php index.html
  39. </IfModule>
  40. <FilesMatch "^\.ht">
  41. Order allow,deny
  42. Deny from all
  43. Satisfy All
  44. </FilesMatch>
  45. ErrorLog "logs/error_log"
  46. # Possible values include: debug, info, notice, warn, error, crit,
  47. # alert, emerg.
  48. LogLevel warn
  49. <IfModule log_config_module>
  50. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  51. # CustomLog "logs/access_log" common
  52. </IfModule>
  53. DefaultType text/plain
  54.  
  55. <IfModule mime_module>
  56. TypesConfig conf/mime.types
  57. </IfModule>
  58. <IfModule php4_module>
  59. PHPIniDir "/opt/twlan/php/php.ini"
  60. AddHandler application/x-httpd-php .php
  61. </IfModule>
  62. #EnableMMAP off
  63. #EnableSendfile off
  64.  
  65. # deflate
  66. <Location />
  67. SetOutputFilter DEFLATE
  68. # Netscape 4.x has some problems...
  69. BrowserMatch ^Mozilla/4 gzip-only-text/html
  70. # Netscape 4.06-4.08 have some more problems
  71. BrowserMatch ^Mozilla/4\.0[678] no-gzip
  72. # MSIE masquerades as Netscape, but it is fine
  73. BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  74. #__SetEnvIfNoCase Request_URI \
  75. #__ \.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|avi|mp?g)$ no-gzip dont-vary
  76. Header append Vary User-Agent env=!dont-vary
  77. </Location>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement