E
E
eldar_web2014-12-24 11:01:40
Yii
eldar_web, 2014-12-24 11:01:40

How to stub a website in yii

In htaccess, I wrote the path to the redirect to the close.html page, which contains the stub info:
RewriteCond %{REQUEST_URI} !^/close.html
RewriteRule ^.*$ close.html
But how to allow entry to the admin part (for example admin/index controller, etc) ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2014-12-24
@xmoonlight

IP, COOKIES, IfEnv did not try to use? Does not help?)

M
Max, 2014-12-24
@AloneCoder

https://github.com/ekaragodin/MaintenanceMode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question