Author Topic: Var/www/html redirects  (Read 2493 times)

0 Members and 1 Guest are viewing this topic.

Var/www/html redirects
« on: May 13, 2017, 01:16:59 AM »
Hey, just done a fresh install of CWP. I then installed Owncloud from a package which installs in var/www/html going to anydomain or my ip address followed by /owncloud loaded owncloud which is what I wanted.

I noticed that "local" files in /home/USER/public_html were not being displayed. I logged out of CWP and back in where an error message displayed saying that I wasn't using CWP Apache and some sites may not load correctly so I clicked "try to fix this" and now I can access my local files but the owncloud install in /var/www/html will not load, I just get a 404 error.

What have a done wrong? Thanks.

Re: Var/www/html redirects
« Reply #1 on: May 13, 2017, 10:02:22 AM »
I can be such a tool sometimes...

For anyone else struggling (must've been tired!) Go to "Apache Settings" then "Apache Include Conf" then "domain-redirects.conf" and enter your domain redirects in there. Job done.