?
Solved

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

Posted on 2014-08-27
3
Medium Priority
?
509 Views
Last Modified: 2014-08-27
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. Forbidden error
The CHMOD setup of the folder is the second screenshot. CHMOD permissions
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?
0
Comment
Question by:badwolfff
  • 3
3 Comments
 

Author Comment

by:badwolfff
ID: 40289414
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.
0
 

Accepted Solution

by:
badwolfff earned 0 total points
ID: 40289454
I sorted it out myself. The popup was calling http://mysite.com
I downloaded the database and changed every instance of http://mysite.com with http://www.mysite.com and it all works now! :)
0
 

Author Closing Comment

by:badwolfff
ID: 40289456
I sorted the problem out myself
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month16 days, 22 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question