Skip to content

Commit 2293021

Browse files
committed
Update .htaccess. disallow PHP inside web/
1 parent 44aaa18 commit 2293021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RewriteEngine on
1212
RedirectMatch 403 ^/app/(?!courses/proxy)(cache|courses|home|logs|upload|Resources/public/css)/.*\.ph(p[3457]?|t|tml|ar)$
1313
RedirectMatch 403 ^/main/default_course_document/images/.*\.ph(p[3457]?|t|tml|ar)$
1414
RedirectMatch 403 ^/main/lang/.*\.ph(p[3457]?|t|tml|ar)$
15-
RedirectMatch 403 ^/web/css/.*\.ph(p[3457]?|t|tml|ar)$
15+
RedirectMatch 403 ^/web/.*\.ph(p[3457]?|t|tml|ar)$
1616

1717
# http://my.chamilo.net/certificates/?id=123 to http://my.chamilo.net/certificates/index.php?id=123
1818
RewriteCond %{QUERY_STRING} ^id=(.*)$

0 commit comments

Comments
 (0)