dmaon
(Nourahmad khosravi)
March 21, 2022, 4:07pm
1
Hello everyone,
I used Yii2 framework with advanced template. when i run my project on lampp, everything is fine, but when i copied and test on my host, backend of my project it get 403 http error. everythong looks fine and my files perimission is 0757, where did I go wrong?
This is my htaccess file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
evstevemd
(Stefano Mtangoo)
March 22, 2022, 5:55am
2
mentioning standard HTTP error with no stack trace is going to help no body
1 Like
dmaon
(Nourahmad khosravi)
May 17, 2022, 7:15pm
3
Hi, there is no stack trace or any errors. this is work well in my lampp. but when i want to run it in my host, i get 403 error.
evstevemd
(Stefano Mtangoo)
May 21, 2022, 5:54pm
4
403 is an exception thrown. Exceptions generates trace unless you have disabled it under log configuration
dmaon
(Nourahmad khosravi)
June 25, 2022, 2:33pm
5
Hi, this is my stack trace.
2022-06-25 19:01:38 [37.202.224.96][-][-][trace][yii\base\Application::bootstrap] Bootstrap with yii\log\Dispatcher
2022-06-25 19:01:38 [37.202.224.96][-][-][trace][yii\web\UrlManager::parseRequest] Pretty URL not enabled. Using default URL parsing logic.
2022-06-25 19:01:38 [37.202.224.96][-][-][trace][yii\web\Application::handleRequest] Route requested: ''
2022-06-25 19:01:38 [37.202.224.96][-][-][trace][yii\base\Controller::runAction] Route to run: site/index
2022-06-25 19:01:38 [37.202.224.96][-][-][info][yii\web\Session::open] Session started
2022-06-25 19:01:38 [37.202.224.96][-][-][info][application] $_GET = []
Everything looks fine. what should i do?
evstevemd
(Stefano Mtangoo)
June 27, 2022, 5:28am
6
can you show your log configurations?
Search any configuration with word log and paste the whole array of that section.Or remove sensitive information and paste whole web config file?