Jump to content


Photo

Error Message when using Field search facility

file permissions server search

  • Please log in to reply
1 reply to this topic

#1 wscwt01

wscwt01

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 13 October 2013 - 12:51 PM

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: -

Forbidden

You 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.



#2 Adam

Adam

    Advanced Member

  • Gurus
  • 5,680 posts
  • LocationSheffield / UK

Posted 19 October 2013 - 07:33 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com