Link to home
Start Free TrialLog in
Avatar of badwolfff
badwolfffFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Why can I not access this file from within Wordpress? I keep getting a "Forbidden error"!

Hi al,

I installed the WP-Filebase plugin in my wordpress installation. It works perfectly in the frontend and also in the plugin's main page (by clicking the plugin button in the left menu of wordpress) where I can upload files without any problem. But it breaks when I try to import the created sets in pages or posts. In the popup I see the contents of the attached file. User generated image
The CHMOD setup of the folder is the second screenshot. User generated image
I saw someone suggest this on another forum so I tried it: there is a .htaccess file at the moment in the plugins folder where the file in question is and its contents are:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Open in new window


For your information it is a Ubuntu 14.04 x46 VPS with PHP 5.5.9-1ubuntu4.3 (cli) running on Apache/2.4.7 with MySql 5.5.3. Could anyone tell me what is wrong where and how to go about fixing it?
Avatar of badwolfff
badwolfff
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

By the way I tried to access the same page using the full URL in a separate tab and it works.
The URL was something like:
http://www.mysite.com/wp-content/plugins/wp-filebase/editor_plugin.php

So it works on its own but not inside a popup. What could it be?
Hotlinking is NOT off on my site at the moment.
ASKER CERTIFIED SOLUTION
Avatar of badwolfff
badwolfff
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I sorted the problem out myself