Download link from a(nother) subdomain

Home Forums Community Download link from a(nother) subdomain

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #113750
    Profile photo of abolfazl
    Anonymous

    Hi all,

    Does anyone as already set the download links from a different domain or subdomain ?

    I just want my publics shares not to have the URI to pydio.

    Pydio is installed in my subdomain : in the /home/me/cloud.mydomain.com/pydio an is accessible via https://cloud.mydomain.com/pydio
    I have a subdomain pointing directly to /home/me/cloud.mydomain.com/pydio

    When I share a doc, the link is something like : https://cloud.mydomain.com/pydio/public/ea33ed

    I want to transform this to https://share.mydomain.com/public/ea33ed using the “share” subdomain (notice it’s a different subdomain and there’s no reference to pydio folder).

    So I set my settings like that :
    Base URI : /public (default)
    Download folder : AJXP_INSTALL_PATH/data/public (default)
    Download URI : https://share.mydomain.com/public

    Clear the plugin cache…

    Sharing a file give me the link : https://share.mydomain.com/public/9b9fd7

    But I have the following result (page not found) : Oops, cannot find this page!

    I didn’t touch a .htaccess

    Anyone can help?


    #113945
    Profile photo of Charles
    Charles
    Keymaster

    Hi,
    Try another option : create a proper vhost for your share subdomain, and configure htaccess on this one to proxy any url like https://share.mydomain.com/public/HASH to https://cloud.mydomain.com/proxy.php?hash=HASH
    This should do the trick.
    -c


    Charles, Pydio author - doing my best to help !
    If you like the software or want to say thanks, pay by a tweet, mention #pydio or follow us

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Community’ is closed to new topics and replies.