-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.htaccess
34 lines (26 loc) · 1.24 KB
/
.htaccess
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
30
31
32
33
34
RewriteEngine On
RewriteRule ^(.*)fromJavaApplication(.*)$ / [R]
RewriteCond %{HTTP_HOST} www.wap4.org$ [NC]
RewriteRule (.*)$ http://wap4.org/$1 [R=301,L]
RewriteCond $1 !^(index\.php|phpinfo\.php|LayoutGala40\.html|Rss-button\.png|Twitter-button\.png|Facebook-button\.png|apc\.php|yandex_40c4d165b3b00416\.html|y_key_a357eb9e00cfb0e3\.html|y_key_9c905fa9098cd9a3\.html|yandex_60c3b750e23e6a4e\.html|wap4\.jad|wap4\.jar|google7ce006f3052bd2a8.html|images|BingSiteAuth\.xml|downloads|dload|dir|jiffwap|logo|source\.php|rat|youtube|files|img|ffmpeg|css|js|xampp|robots\.txt|y_key|favicon\.ico|dropbox\.php)
RewriteRule ^(.+)$ index.php?$1 [L]
<FilesMatch “^index.php$”>
AcceptPathInfo On
</FilesMatch>
<FilesMatch "\.(amr|3gp|mp4|mp3)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/x-icon A2419200
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType text/css A604800
ExpiresByType application/x-javascript A604800
ExpiresByType application/x-shockwave-flash A604800
ExpiresByType application/pdf A604800
</IfModule>
Header unset ETag
FileETag None