[go: up one dir, main page]

Menu

[r3]: / trunk / .htaccess  Maximize  Restore  History

Download this file

29 lines (22 with data), 831 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Options -Indexes
Options +FollowSymLinks
DirectoryIndex index.php index.html index.htm
<Files favicon.ico>
ErrorDocument 404 "The requested file favicon.ico was not found.
</Files>
<IfModule mod_rewrite.c>
RewriteEngine on
# hide directories that starts with a . (dot)
RewriteRule "(^|/)\." - [F]
# Redirect to the www version of the site
#RewriteCond %{HTTP_HOST} !^www\. [NC]
#RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
<FilesMatch "\.(htaccess|htpasswd|ini|php|fla|psd|log|sh)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch "(index\.php|ajax\.adm_server\.php|ajax\.server\.php|paypal\.php|tasks\.php|tiny_mce_gzip\.php|index_tiny\.php|scormXmlTree\.php|soaplms\.php|scorm_page_body\.php)$">
Order Allow,Deny
Allow from all
</FilesMatch>