Ticket #561 (closed New Feature: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: alfonsoml Owned by: alfonsoml
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Server : ASP Version: SVN (FCKeditor)
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

Changed 2 years ago by alfonsoml

  • status changed from new to assigned
  • milestone set to FCKeditor 2.5

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)

Changed 2 years ago by alfonsoml

  • status changed from assigned to closed
  • resolution set to fixed

Fixed on trunk with [413]

Note: See TracTickets for help on using tickets.