Can I change the upload directory. Can I change the upload directory.
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Can I change the upload directory.

Started by cdrake, April 14, 2005, 10:25:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cdrake

I am wanting to change the upload directory to something like images.domain.com instead of domain.com/gallery/albums/etc

How can this be done if possible?

cdrake

If that is not possible can I at least ftp the files to the images.domain.com and the entry into coppermine somehow.

krkeegan

Not sure I totally understand what you are trying to do  ??? Is "images.domain.com" on the same server. I assume you are using something like cpanel and "images.domain.com" is equal to domain.com/images.

Given that I am still confused with what you are trying to do. I use the subdomain gallery.krkeegan.com. I still upload to /home/krkeegan/www/gallery/album but from the website side it appears that my images are served from gallery.krkeegn.com/album.

The short answer is yes you could change your album directory. But it might be helpful to know why you want to do that.

Kevin
There are no stupid questions, only stupid people. -Mr. Mackey, South Park

cdrake

Well my server's bandwidth is high and I was wanting to put half of the images on the other server so I could distribute the bandwidth.

Nibbler

You can't do that. Search the board for previous discussions on this.

cdrake

I cant place the files there myself and disable file upload and some how manually add the files in the db?