Просмотр файла .htaccess

Размер файла: 2.12Kb
  1. RemoveType .php3 .phtml .php4 .php5 .cgi .pl
  2.  
  3. php_value register_globals 0
  4. php_value magic_quotes_gpc 0
  5. php_value session.use_trans_sid 1
  6. php_value session.cookie_lifetime 0
  7. php_value zlib.output_compression 4096
  8. php_value zlib.output_compression_level 5
  9. php_value arg_separator.output "&"
  10. php_value error_reporting 0
  11.  
  12. ErrorDocument 400 http://coder-lib.ru
  13. ErrorDocument 401 http://coder-lib.ru
  14. ErrorDocument 402 http://coder-lib.ru
  15. ErrorDocument 403 http://coder-lib.ru
  16. ErrorDocument 404 http://coder-lib.ru
  17. ErrorDocument 500 http://coder-lib.ru
  18. ErrorDocument 502 http://coder-lib.ru
  19.  
  20.  
  21. AddDefaultCharset UTF-8
  22.  
  23.  
  24. DirectoryIndex index.php
  25. Options -Indexes
  26.  
  27.  
  28. <Files ~ ".tpl">
  29. Order allow,deny
  30. Deny from all
  31. Satisfy All
  32. </Files>
  33.  
  34.  
  35. AddType text/vnd.wap.wml;charset=utf-8 .wml
  36. AddType application/vnd.sonyericsson.mms-template tpl
  37. AddType application/vnd.wap.wmlc .wmlc
  38. AddType text/vnd.wap.wmlscript .wmls
  39. AddType application/vnd.wap.wmlscriptc .wmlsc
  40. AddType image/vnd.wap.wbmp .wbmp
  41. AddType application/vnd.eri.thm .thm
  42. AddType application/vnd.mophun.application .mpn
  43. AddType application/vnd.mophun.certificate .mpc
  44. AddType text/vnd.sun.j2me.app-descriptor .jad
  45. Addtype text/x-vmel .mel
  46. Addtype audio/imelody .imy
  47. AddType application/vnd.smaf .mmf
  48. Addtype text/x-vmel .emy
  49. AddType audio/amr .amr
  50. AddType audio/x-wav .wav
  51. AddType application/x-tar .hid
  52. Addtype image/jpeg .jpg
  53. Addtype image/jpeg .jpeg
  54. Addtype image/gif .gif
  55. Addtype image/png .png
  56. Addtype image/bmp .bmp
  57. Addtype text/x-imelody .imy
  58. Addtype text/x-emelody .emy
  59. Addtype text/x-vcard .vcf
  60. Addtype text/x-vcalendar .vcs
  61. Addtype text/calendar .ics
  62. Addtype application/smil .smil
  63. Addtype application/smil .smi
  64. Addtype application/java-archive .jar
  65. Addtype application/vnd.symbian.install .sis
  66. Addtype audio/wav .wav
  67. Addtype audio/midi .midi
  68. Addtype audio/midi .mid
  69. Addtype audio/rmf .rmf
  70. Addtype application/vnd.wap.mms-message .mms
  71. AddType video/flv .flv
  72. AddType video/mp4 .mp4
  73. Addtype video/3gpp .3gp
  74. Addtype application/zip .zip
  75.  
  76.  
  77.  
  78. RewriteEngine On
  79. RewriteCond %{REQUEST_METHOD} ^TRACE
  80. RewriteRule .* - [F]