mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +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$
|
||||
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
|
||||
RewriteRule "^pdfviewer/.*$" "-" [L]
|
||||
RewriteRule "^views/bootstrap/images.*$" "-" [L]
|
||||
|
|
Loading…
Reference in New Issue
Block a user