2

I am new to web development but giving it a try to learn and whilst make use of it

I have installed sites gogs , pydio and reviewboard on apache2 running on Raspbian.

right now I have to start each site separately, to start gogs which uses same localhost but different port (3000) and pydio is using 80.

I have enabled the site pydio which is located in /var/www/php/

i make the pydio site live by sudo a2ensite which creates symlink from sites available to sites-enabled.

now i want to put the gogs which is based on go lang and reviewboard which is based on python/Django platform under

/var/www/----|
             |
             go--gogs
             |
          python-reviewboard
             |
            php---pydio

and all these sites to be enabled when running just single site (home.conf under sites available) How to achieve this ?

  • For clarification, are you saying you want all of these to run as folders under one domain such as example.com/go--gogs, example.com/python-reviewboard, and example.com/php---pydio or something similar? – closetnoc Sep 4 '16 at 4:58
  • Yes, I very much meant that (y) – Ciasto piekarz Sep 4 '16 at 4:59
  • I am not familiar enough with these products to answer, however, it does appear that go gogs is it's own binary. Is there a way you know of to run it under Apache? I assume the others use PHP and Python as per your labels. – closetnoc Sep 4 '16 at 5:07
  • I don't know golang either but I think it's launching gogs. Binary like how python launch temporary webpages using python -m SimpleHTTPServer on port 8000 – Ciasto piekarz Sep 4 '16 at 18:42
  • I do not believe you can have these available through Apache other than to proxy from Apache to the other applications. You may want to look into how to reverse proxy other sites/applications using Apache. I am going through something like this with an Tomcat application. It is possible, just not sure how yet. Cheers!! – closetnoc Sep 4 '16 at 18:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.