This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

admin17994
admin17994

I have copied the rewrite rules from install guide

rewrite ^themes/.*/(layouts|pages|partials)/.*.htm /index.php break;
rewrite ^bootstrap/.* /index.php break;
rewrite ^config/.* /index.php break;
rewrite ^vendor/.* /index.php break;
rewrite ^storage/cms/.* /index.php break;
rewrite ^storage/logs/.* http://$server_name break;
rewrite ^storage/framework/.* /index.php break;
rewrite ^storage/temp/protected/.* /index.php break;
rewrite ^storage/app/uploads/protected/.* /index.php break;

but when I try to access the log file from browser, I can still download it(http://www.xxxx.com/storage/logs/system.log). The rewrite rules doesn't seems to be working. Can anyone help? Thanks in advance.

admin17994
admin17994

Problem solved, I should have rewrite ^/storage/app/uploads/protected/. /index.php break; Instead of rewrite ^storage/app/uploads/protected/. /index.php break;

lubos.len21112
lubos.len21112

Same here but your reply the two lines look the same, no change so how did you fix it ?

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.