Viktor2015-08-19 07:24:11
Viktor, 2015-08-19 07:24:11

Apache yii2 advanced close backend/web?

All the good time of the day! How to disable direct access to backend/web using .htaccess? I did as it is written here Yii2 advanced CNC and began to go to site.com/admin , but still goes to site.com/backend/web

Answer the question

In order to leave comments, you need to log in

1 answer(s)
vyachin, 2015-08-20

RewriteCond %{REQUEST_URI} ^/backend
RewriteRule ^ - [R=404,L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question