Jump to content

Error Message when using Field search facility


Recommended Posts

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.