clipbucket-v5 icon indicating copy to clipboard operation
clipbucket-v5 copied to clipboard

Basedir is not obeyed

Open glowf1sh opened this issue 4 years ago • 4 comments

Hi,

i have my installation in /volume1/web/video while /volume1/web is the document root of my webserver.

However when i visit my CB installation website on https://domainname.tld/video it tries to call all code without the /video in the directory structure.

I am clueless.. i found that you can adjust the basedir and baseurl in the mysql database table config. But i can change the parameters there and it has no effect.

Does anyone have an idea what i can do ?

Thanks

glowf1sh avatar Nov 03 '20 10:11 glowf1sh

i have the same problem

Norco06 avatar Nov 25 '20 13:11 Norco06

Hi,

Current Clipbucket version still use hardcoded page and files links. Basedir config is currently more used for internal stuff than web access.

I will definitely work on this subject... When I'll have time to...

Best regards, MacWarrior.

MacWarrior avatar Nov 25 '20 15:11 MacWarrior

i have the same problem

I could solve the issue by installing the whole clipbucket into a subdir and having a CNAME record in my DNS point to it directly.

So CB think its running in the root dir.

Maybe that helps

glowf1sh avatar Nov 25 '20 16:11 glowf1sh

J'ai le même problème

Je pourrais résoudre le problème en installant tout le clipbucket dans un sous-répertoire et en faisant pointer directement un enregistrement CNAME dans mon DNS.

Donc, CB pense que son exécution dans le répertoire racine.

Peut-être que ça aide

with virtual host the problem is the same ...

Norco06 avatar Nov 26 '20 07:11 Norco06