U
U
uniBKO2019-01-24 09:48:12
Yii
uniBKO, 2019-01-24 09:48:12

How to make YII2 file ignore?

Good afternoon, please tell me how to disable routing for a specific file in yii2?
We have a test server on CentOS on which there is a script that should open when going to test.ru/deploy.php (auto-deploying), but as you understand, due to Yii2 routing, a 404 error pops up. How can I disable this in htaccess?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2019-01-24
@uniBKO

1. Do you have a deploy script that is accessible from the web? What's stopping him from putting it up a level?
2. If someone is forcing you to do this by blackmail and there is no other way, then why not run the script from yii?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question