wscwt01 Posted October 13, 2013 Share Posted October 13, 2013 Hi, I have built an application in PHPRunner. Everything is ok except on my search facility. Normal Search works fine. However when ever I try to search by a specific column I get the error message: - ForbiddenYou don't have permission to access /pgcommission/tblworklistV2_list.php on this server. I have taken advice and read several forums etc and I am told it is due to File Permissions. I have tried every combination I can on both my _List.php and _search.php files for the respective Table but to no avail. Is there someone out there that can give me a fresh perspective on this and make suggestions? Many thanks desperate, Carl. Quote Link to comment https://forums.phpfreaks.com/topic/282937-error-message-when-using-field-search-facility/ Share on other sites More sharing options...
Solution Adam Posted October 20, 2013 Solution Share Posted October 20, 2013 Sounds like Apache is blocking access, not a file permission issue. If you're using Apache >= 2.4.6, you need to permit access to the directory in the Apache config with: <Directory /path/to/files> Require all granted </Directory> Prior to that you need to use: <Directory /path/to/files> Allow from all </Directory> You can, and possibly should, improve the specificity of those directives though. Read here for more help on how to use them. Quote Link to comment https://forums.phpfreaks.com/topic/282937-error-message-when-using-field-search-facility/#findComment-1454570 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.