0

I have an Apache server running owncloud on 10.0.0.120:80 and an Apache server for reverse proxy running on 10.0.0.110

/etc/apache2/sites-available/000-default.conf

<VirtualHost *:80>
    ProxyPass /owncloud/ http://10.0.0.120:80/
    ProxyPassReverse /owncloud/ http://10.0.0.120:80/
</VirtualHost>

In a browser

10.0.0.110 and 10.0.0.110/owncloud currently redirect to 10.0.0.110/index.php

10.0.0.110 should resolve to redirect to /var/www/html

10.0.0.110/owncloud should redirect to 10.0.0.120:80/index.php

2
  • 1
    You forgot to describe what is your actual problem. This isn't a place to share success stories.
    – drookie
    Mar 18, 2017 at 5:16
  • A question might also be appropriate here. The tour does mention "Ask questions, get answers, no distractions". Mar 27, 2017 at 6:42

0

You must log in to answer this question.

Browse other questions tagged .