Skip to content

Commit 177c78a

Browse files
committed
email feature
1 parent d970adb commit 177c78a

File tree

4 files changed

+850
-281
lines changed

4 files changed

+850
-281
lines changed

.htaccess

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ RewriteBase /
1313
# ^ = start of string
1414
# [NC] = case insensitive search
1515
RewriteCond %{HTTP_REFERER} !^http://localhost/santoshmagar/ [NC]
16+
RewriteCond %{HTTP_REFERER} !^http://santoshmagar.local/ [NC]
17+
RewriteCond %{HTTP_REFERER} !^https://santoshmagar.com.np/ [NC]
1618

1719
# \ = match any
1820
# . = any character
@@ -21,7 +23,7 @@ RewriteCond %{HTTP_REFERER} !^http://localhost/santoshmagar/ [NC]
2123
# [F] = forbidden, 403
2224
# [L] = stop processing further rules
2325

24-
RewriteRule \.(gif|jpg|jpeg|png|svg|mp4|mov|mkv|flv|js)$ - [F,L]
26+
RewriteRule ^\.(gif|jpg|jpeg|png|svg|mp4|mov|mkv|flv|js)$ / [F,L]
2527

2628
#Redirect 404 to Homepage
2729
ErrorDocument 404 /

0 commit comments

Comments
 (0)