Bug 272719

Summary: incorrect behavior when running on non-default port
Product: owncloud Reporter: Alessandro Cosentino <cosenal>
Component: generalAssignee: Frank Karlitschek <karlitschek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.0

Description Alessandro Cosentino 2011-05-07 17:54:43 UTC
Version:           unspecified
OS:                Linux

When Apache runs on a different port than 80, the login to owncloud doesn't work correctly.

Reproducible: Always

Steps to Reproduce:
Set apache2 to run on a  port different than 80, say 79.
Also suppose 'sever' is the name of the server that hosts owncloud. 
Open a browser and go to http://server:79/owncloud/
Then login.

Actual Results:  
The browser bounces you to http://server/owncloud/ that is on port 80 and that doesn't exist.

Expected Results:  
The browser should show you the page after the login page.

If you want to actually login, go again on http://server:79/owncloud/ and you will be already logged in.

I am not sure this is a bug of owncloud, might be of apache too.
Comment 1 Alessandro Cosentino 2011-05-15 16:29:01 UTC
this is an issue in owncloud 1.1 (tested with the ubuntu package), it has been fixed in the refactoring branch (2.0).