Opened 10 years ago

Closed 10 years ago

#561 closed New Feature (fixed)

Provide an easy way to upload files to a physical path and use a different url

Reported by: Alfonso Martínez de Lizarrondo Owned by: Alfonso Martínez de Lizarrondo
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Server : ASP Version: SVN (FCKeditor) - Retired
Keywords: Cc:

Description

example:

being able to use FCKeditor from http://admin.mysite.com but make sure that the links to the images are created with http://www.mysite.com (as server.mapPath might not match between the 2 servers, although they are the same physical machine) so they do work in the editor.

it would mean basically to port the UserFilesAbsolutePath setting to asp. If it does exist then use it instead of mapPath, if not then work as usual.

Change History (2)

comment:1 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Milestone: FCKeditor 2.5
Status: newassigned

Checked in proposed patch in [389]

Example configuration:

ConfigFileTypesPath.Add "Image", "http://127.0.0.1/userfiles/image/"
ConfigFileTypesAbsolutePath.Add "Image", "d:\inetpub\wwwroot\docs\image\"

(I didn't bring the UserFilesAbsolutePath setting for all the file types as it wasn't needed for backwards compatibility)

comment:2 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Resolution: fixed
Status: assignedclosed

Fixed on trunk with [413]

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy