Jump to content

Moving pictures folder for use with CWP


This topic is 2312 days old. Please don't post here. Open a new topic instead.

Recommended Posts

LS,

We are running FMserver with custom webpublishing. People can connect to the website and see pictures that are attached to propositions.

The pictures folder is located on the FMServer as well and getting pretty big now. So we are complating moving the folder ( it is currently located in htdocs ( running on a Mac )).

How do we reconfigure FMServer/apache to do this?

Kind regards....

Link to comment
Share on other sites

Joost,

 I don't believe that there is anything to do on FMS or Apache itself.  But in php, provide the full LOCAL path to the new pictures folder location.  In this example, I'm setting up a DEFINE in the config file to the pictures folder relocated to an external hard drive:

define('PICTURES', '/Volumes/Your_External_Hard_Drive_Name/pictures/');

You might need to experiment with the permissions on the pictures folder and/or the hard drive so that fmserver/apache/php can access. 

BTW...This answer is assuming that you are storing the images directly in a folder and using html/php to retrieve them, versus storing and retrieving them from a FileMaker container.

Link to comment
Share on other sites

This topic is 2312 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.