You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#101475 Help with Server Filesystem

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Tuesday, 23 February 2021 19:40 GMT

PhilD13
I recently setup a directory on Amazon S3 and made an subdomain on my site assets.mysite.org that links via C-Name to the S3 bucket. This works fine and I can type in the url https://assets.mysite.org/images/myimage.png as the path to access the image instead of the bucket path (https://xxx.s3.amazonaws.com/images/myimage.png)to the image file.

I'm now trying to set up the JCE Editor plugin Server Filesystem so I can browse/select an image from the image manager to insert an image in an article without having to type the path manually every time. I am having difficulty I think with the Base URL path to use in this case.

I have the Root URL set to https://assets.mysite.org/
and the Base Directory as /home/username/assets.mysite.org/

I have tried other base directory paths, but it does not seem to work. Just shows Home and Images directory with nothing in it. I believe the public settings for the directory on S3 are correct as I can access the desired image via url.

Any suggestions?
Thanks

PhilD13
I'm not sure if this is correct or why why it works, but leaving the base directory blank seems to enable browsing image directories and selecting images from the image manager from assets.mysite.org and the url to the image is correct.

Ryan
I'm not sure if this is correct or why why it works, but leaving the base directory blank seems to enable browsing image directories and selecting images from the image manager from assets.mysite.org and the url to the image is correct.


The Server Filesystem plugin is intended for accessing files located on the server itself, but outside of the the Joomla root folder. Technically you should be using the Amazon S3 Filesystem plugin to access your files directly from S3. You should consider installing and using this instead, as it will allow you to access and manage all files in the S3 bucket, not just public ones.

https://www.joomlacontenteditor.net/downloads/plugins/amazon-s3-filesystem

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

PhilD13
Thanks Ryan.
The server filesystem is working but I have installed the S3 filesystem and will set it up when I have a chance to do so and check it out.

Phil DeGruy

Smit
Can this plugin be used to access files on another server?

Ryan
Can this plugin be used to access files on another server?


No, as I said in my previous post:

The Server Filesystem plugin is intended for accessing files located on the server itself, but outside of the the Joomla root folder.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.