1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
.htaccess (affects current directory and directories below it)
---------
* AddType text/x-server-parsed-html .html
Specifies extension for SSI documents (by default is .shtml)
* AddType application/x-httpd-php .html
Specifies alternative extensions for PHP scripts
* ForceType application/x-httpd-php
All files treated as PHP scripts
* <Files "foo">
ForceType application/x-httpd-php
</Files>
Treat specified files as PHP script (with this name in all subdirs)
* ErrorDocument 404 /errorpage.html
Specifies page to display on error 404
* DirctoryIndex index.php index.php3
Alternative directory indexes
* SSLRequireSSL
Only secure connections
|