Relative Website root directory

4 posts by 2 authors in: Forums > CMS Builder
Last Post: September 20, 2012   (RSS)

Re: [alissibronte] Relative Website root directory

Hi,

Thanks for posting, just to confirm; are your uploads currently working as you would like?

I'm not sure what you mean by managing your multiple licences. Could you clarify exactly what your trying to do and we can provide some options and approaches.

Thanks

Greg
Greg Thomas







PHP Programmer - interactivetools.com

Re: [greg] Relative Website root directory

Hi Greg,

my uploads are not working correctly for now.

To get working setup I have to set Upload Folder URL to /subdir/uploads/ instead /uploads/

I want to setup a relative Upload Folder URL because I want to create a Master CMS that I going to upload on different subdirectories and hosts.

I thought that Website Root was using to append in Upload URL and getting a full path whatever subdirectory is using.


For example:

http://www.domain.com/cms (here my uploads settings work /uploads/)
http://www.domain.com/subdirectory1/cms (here dont work and I have to setup a specific Upload Folder URL /subdirectory1/uploads/)


Any help?

Thanks in advance.

Re: [alissibronte] Relative Website root directory

Thanks for the updating me. I've set up a test example to what I think you want to create.

I have my CMS in the directory:

mysite.com/anotherDir/cmsadmin/

and I have my uploads folder in:

mysite.com/uploads

To get uploads working I had my uploads directory set to:

../../uploads/

and my upload folder url set to:

/uploads/

Let me know if I've missed anything!

Thanks
Greg Thomas







PHP Programmer - interactivetools.com