mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-10 05:26:06 +00:00
protect utils and doc directory
This commit is contained in:
parent
5997717099
commit
61a15c877f
|
@ -6,6 +6,10 @@ RewriteRule ^favicon.ico$ styles/bootstrap/favicon.ico [L]
|
||||||
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
|
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
|
||||||
RewriteRule ^.*$ - [E=CWD:%2]
|
RewriteRule ^.*$ - [E=CWD:%2]
|
||||||
|
|
||||||
|
# Do not allow access on the other directories in www
|
||||||
|
RewriteRule "^utils/.*$" "" [F]
|
||||||
|
RewriteRule "^doc/.*$" "" [F]
|
||||||
|
|
||||||
# Anything below the following dirs will never be rewritten
|
# Anything below the following dirs will never be rewritten
|
||||||
RewriteRule "^pdfviewer/.*$" "-" [L]
|
RewriteRule "^pdfviewer/.*$" "-" [L]
|
||||||
RewriteRule "^views/bootstrap/images.*$" "-" [L]
|
RewriteRule "^views/bootstrap/images.*$" "-" [L]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user