You are not logged in.

#1 2012-08-31 18:48:19

santodelaespada
Member
Registered: 2009-04-15
Posts: 50

[Solved] Owncloud can't access remotely if not on root of server

I installed Owncloud on a new archlinux server I have. It will be used as a firewall and router (it has 2 nics)
The default owncloud package from AUR makes a config file for apache that creates a virtual host on port 80 of the server pointing to owncloud.
So when I browse the servers IP from the lan, I get owncloud's web interface.
But I want to access that interface from a /owncloud address so I can use the root of the web server to host a page with links to different services and some info that will be useful for the people on that lan. So I removed the virtual host from the conf file.
Now i can only access the web interface if i browse on the server it self. But when I try from a computer on the lan I get the "https" on the url bar and a "can't connect" error.

the modified owncloud.conf for the apache server is this: http://pastebin.com/nJrYWh3r

How can I "move" the owncloud to use 192.168.0.1/owncloud on the lan for the web interface?

Last edited by santodelaespada (2012-08-31 20:35:32)

Offline

#2 2012-08-31 20:17:36

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: [Solved] Owncloud can't access remotely if not on root of server

It should work already as the default config also sets an /owncloud alias. If it doesn't work, try

ln -s /usr/share/webapps/owncloud /srv/http/owncloud

Offline

#3 2012-08-31 20:35:15

santodelaespada
Member
Registered: 2009-04-15
Posts: 50

Re: [Solved] Owncloud can't access remotely if not on root of server

teekay wrote:

It should work already as the default config also sets an /owncloud alias. If it doesn't work, try

ln -s /usr/share/webapps/owncloud /srv/http/owncloud

It worked before when I first tested owncloud (6 months ago)

the symlink works if I remove apaches owncloud conf file.
I'll mark this as solved, but it should work with the conf file in place, not the symlink on the filesystem.

Thanks, I don't know why i did not try that before tongue

Offline

Board footer

Powered by FluxBB