[Owncloud] A little Problem
Artem Sidorenko
artem at 2realities.com
Tue Jul 10 08:51:09 UTC 2012
Can you show your configs for mod_proxy?
Something like that?
<VirtualHost *:80>
Servername owncloud.internet
....
ProxyPass / http://owncloud.intranet:8001/
ProxyPassReverse / http://owncloud.internet/
....
</VirtualHost>
With similar settings for https.
ProxyPassReverse should take care about Location headers.
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypassreverse
Regards,
Artem
On 2012-07-10 9:54, Schnee wrote:
> Hello
>
> I installed ownCloud on a server on my comapny's intranet.
> Everything works as exspected. In the next step ownCloud should be
> reachable
> from the internet.
>
> ___ ___ ___ ____
> |(1)|--------->|(2)|----------->|(3)|---------->|(4)|
> |(1)| |(2)| |(3)| |(4)|
> |_(1)_|<---------|_(2)_|<-----------|_(3)_|<----------|_(4)_|
>
> (1) = Browser/Client
> (2) = Firewall
> (3) = Reserve Proxy
> (4) = Webserver/ownCloud
>
>
> There is a firewall separating our intranet from the internet. A
> reverse proxy handles all incoming HTTP-requests and directs them to
> the correct server. We use an apache and mod_proxy to achieve this.
>
> When trying to access my ownCloud-server from the interent I am
> correctly redirected to the login screen. After giving to correct
> username/password the ownCloud server issues a Redirect to its
> intranet address making it impossible to access the server from
> internet.
>
> I'm completely stuck! Any hints are welcome!
>
> Greetings
>
> Paul
More information about the Owncloud
mailing list