Change 'albums' and 'cache' path ?

Hi !

I would like to know if it's possible to change the path of the 'albums' and 'cache' directories.

The explanation is that have access to 2 servers.
The first one (free.fr) is the one of my internet provider for personnal pages. It garantees 1Go per account and I have several accounts.
The second one is based on my name (basille.net) but hosted on a server of another society. I'm limited to 250Mo on this one.

In a ideal world, I could host everything on free.fr. But (there's always a 'but'), it doesn't allow to change permissions... So I canno't change 'albums' and 'cache' permissions (and they are set wrongly)...

I had then the idea to host the zenphoto scripts on basille.net and the database on free.fr. But (second 'but', I'm not lucky...), free.fr doesn't allow the execution of scripts that are not hosted on free.fr.

The idea would be then to host all the scripts AND database on one server (basille.net) and link them to the images on another one (free.fr ; or could be a personnal server). Finally the database would be on basille.net but 'albums' and 'cache' would be on free.fr.

But I don't even know if it is possible...
Any ideas ?

Thx a lot !
Maps.

Comments

  • trisweb Administrator
    Wow, that sounds fun. I have a few ideas but I can't really work it out without lots of time and testing, so it's not on my list at the moment...

    One option is to use FTP to allow the servers to communicate with each other, but that'd be pretty slow.

    So no, it's not very possible... I'd e-mail the admins at free.fr and ask them to change the perms on those directories for you.
  • Ok. Thx a lot !

    Maybe it'll be possible if I'd be better with php/mySQL, but in the meantime, I think I will ask free.fr :p

    Maps.
  • Finally, I found here <http://www.framasoft.net/article3732.html&gt; another solution to use just free.fr and to avoid the 777 permissions issue :

    - set $conf[’mod_rewrite’] to 'false' in config.php ;
    - remove the .htaccess file ;
    - to access to the admin page, I have to type .../zen/admin.php in the adress bar.

    And everything works !
    Is there something wrong with this approach ?

    Maps.
Sign In or Register to comment.