Urbackup site "direct access"

Discussion in 'Installation/Configuration' started by francoisPE, Nov 16, 2020.

  1. francoisPE

    francoisPE Active Member HowtoForge Supporter

    Hello,
    I have ubuntu 20.04 + ispc (perfect server)
    I am installing urbackup. https://www.urbackup.org/administration_manual.html#x1-200004.2
    To secure access, I created a site in ispc.
    In /var/www/mysite/web, I create ln -s /usr/share/urbackup/www urbackup
    In apache directive add : ProxyPass "/urbackup/x" "fcgi://127.0.0.1:55413"
    I access my urbackup through https://mysite.tld/urbackup
    I would like to access directly via https://mysite.tld
    It's impossible to replace /var/www/clien./clien../web./web by a symlink...
    Any solution ?
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    You can change
    Code:
    ProxyPass "/urbackup/x" "fcgi://127.0.0.1:55413"
    to
    Code:
    ProxyPass "/x" "fcgi://127.0.0.1:55413"
    or, if this is a simple web application (I don't use urbackup), set the Apache directive "DocumentRoot" to the document root of urbackup.
     
  3. francoisPE

    francoisPE Active Member HowtoForge Supporter

    If I put document root in apache directives, it gonna override automatic document root setup ?
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Yes
     
  5. francoisPE

    francoisPE Active Member HowtoForge Supporter

    I did it !
    In apache directives I put:
    "
    DocumentRoot /usr/share/urbackup/www
    ProxyPass "/x" "fcgi://127.0.0.1:55413"
    "
    It works :)
    Thank you very much
     

Share This Page