[SOLVED] Could not find any endpoint for this URI

Hi,

I have a problem accessing the API of my server and i can not set up pydiosync.
When I want to access the API, I get an error message.

I have been searching for many hours on this forum, but I have not been able to solve my problem.

I enclose screenshots of my pydio config (apache configuration and rewrite)

49%20-%20PuTTY

49%20-%20PuTTY

Thank you in advance for the help you will bring me

Hi,
could you please tell me what pydio version you are using and also the api request.
If you can describe me what exactly do you want to do with the api ( the action i mean ).

Hi,
My version of pydio is 8.2.2.
I want to set up PydioSync. When I try to connect, I get an error message

I saw that this problem was present because of an API problem. Indeed, when I pass the myserver/api command in my web browser, I get the following error

Hi,
you should add /pydio at the end of server url

Hi,

/pydio is rewritten in / in my htaccess
This allows me to access the server directly without added /pydio at the end of the server url.

Hi,

If you want to remove /pydio in the URL, please:

  1. Move "<Directory /usr/share/pydio> … " in conf-enabled/pydio.conf to your <VirtualHost *:80>
    then remove conf-enable/pydio.conf

  2. In PydioRoot/.htaccess, modify RewriteBase /pydio => RewriteBase /

  3. Remove “pydio” from Pydio Settings / Main option / Server URL : http://server/pydio

1 Like

Hi,

Thanks you very much !

I have follow your advices. And your tutorial on https://github.com/pydio/pydio-core/issues/1328

That’s good now !