Skip to content

owncloud 4.5.4 behind a reverse proxy issue #738

Closed

Description

@rpelissi

Hi,
I use owncloud 4.5.5 behind a reverse proxy and for some url, it seems to forgot where is the base url:

xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:30 -0500] "GET /cloud/ HTTP/1.1" 200 12367
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:31 -0500] "GET /cloud/remote.php/core.css HTTP/1.1" 200 9833
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:31 -0500] "GET /cloud/apps/files/js/timezone.js HTTP/1.1" 200 304
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:31 -0500] "GET /cloud/apps/files/js/filelist.js HTTP/1.1" 200 14675
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:31 -0500] "GET /cloud/apps/files/js/fileactions.js HTTP/1.1" 200 6393
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:32 -0500] "GET /cloud/apps/files/js/jquery.iframe-transport.js HTTP/1.1" 200 7747
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:31 -0500] "GET /cloud/?app=files&getfile=css%2Ffiles.css HTTP/1.1" 200 1963
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:31 -0500] "GET /cloud/apps/files/js/jquery.fileupload.js HTTP/1.1" 200 38973
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:32 -0500] "GET /cloud/apps/files/js/files.js HTTP/1.1" 200 31818
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:31 -0500] "GET /cloud/remote.php/core.js HTTP/1.1" 200 185186
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "GET /cron.php HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "POST /core/ajax/translations.php HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "GET /core/ajax/share.php?fetch=getItemsSharedStatuses&itemType=file HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "GET /core/img/breadcrumb.svg HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "GET /?app=files&getfile=ajax/scan.php&checkonly=true HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "GET /?app=files&getfile=ajax/timezone.php&time=-5 HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "GET /core/img/breadcrumb-start.svg HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "GET /core/img/places/home.svg HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:34 -0500] "GET /settings/img/users.svg HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "GET /core/img/places/music.svg HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:33 -0500] "GET /apps/calendar/img/icon.svg HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:34 -0500] "GET /core/img/places/picture.svg HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - - [05/Dec/2012:18:06:34 -0500] "GET /core/img/actions/upload-white.svg HTTP/1.1" 404 -
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:33 -0500] "GET /cloud/core/img/actions/logout.svg HTTP/1.1" 200 3597
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:34 -0500] "GET /cloud/core/img/actions/settings.svg HTTP/1.1" 200 11672
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:34 -0500] "GET /cloud/core/img/actions/download.svg HTTP/1.1" 200 2145
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:34 -0500] "GET /cloud/core/img/filetypes/folder.png HTTP/1.1" 200 537
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:34 -0500] "GET /cloud/core/img/actions/delete.svg HTTP/1.1" 200 2031
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:34 -0500] "GET /cloud/core/img/filetypes/audio.png HTTP/1.1" 200 385
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:33 -0500] "GET /cloud/core/img/logo-wide.svg HTTP/1.1" 200 111536
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:34 -0500] "GET /cloud/core/img/filetypes/application-msword.png HTTP/1.1" 200 789
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:34 -0500] "GET /cloud/core/img/filetypes/text.png HTTP/1.1" 200 342
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:33 -0500] "GET /cloud/core/img/actions/search.svg?2012-12-02T19:00:00Z HTTP/1.1" 200 51360
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:06:35 -0500] "GET /cloud/core/img/favicon.png HTTP/1.1" 200 912
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:04 -0500] "GET /cloud/index.php?logout=true HTTP/1.1" 302 -
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:05 -0500] "GET /cloud/ HTTP/1.1" 200 3342
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:05 -0500] "GET /cloud/core/css/styles.css HTTP/1.1" 200 16835
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:05 -0500] "GET /cloud/core/js/js.js HTTP/1.1" 200 19266
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:05 -0500] "GET /cloud/core/js/jquery.infieldlabel.min.js HTTP/1.1" 200 1736
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:05 -0500] "GET /cloud/core/js/oc-dialogs.js HTTP/1.1" 200 10876
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:06 -0500] "GET /cloud/core/js/requesttoken.js HTTP/1.1" 200 2098
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:06 -0500] "GET /cloud/core/js/eventsource.js HTTP/1.1" 200 3378
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:06 -0500] "GET /cloud/core/js/config.js HTTP/1.1" 200 1491
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:06 -0500] "GET /cloud/search/js/result.js HTTP/1.1" 200 2043
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:06 -0500] "GET /cloud/core/js/backgroundjobs.js HTTP/1.1" 200 848
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:06 -0500] "GET /cloud/core/css/multiselect.css HTTP/1.1" 200 1346
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:06 -0500] "GET /cloud/core/css/jquery-ui-1.8.16.custom.css HTTP/1.1" 200 19851
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:06 -0500] "GET /cloud/core/css/jquery-tipsy.css HTTP/1.1" 200 1320
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:05 -0500] "GET /cloud/core/js/jquery-1.7.2.min.js HTTP/1.1" 200 94840
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:06 -0500] "GET /cloud/core/js/jquery-showpassword.js HTTP/1.1" 200 2748
xxx.xxx.xxx.xxx - firstname.lastname [05/Dec/2012:18:07:05 -0500] "GET /cloud/core/js/jquery-ui-1.8.16.custom.min.js HTTP/1.1" 200 201238

As you can see, I access owncloud with "http:///cloud/" and some of the url/path are translate and some don't "error 404".

Can you help?
Thanks

Activity

  1. rpelissi commented on Dec 14, 2012

    @rpelissi
    Author

    I don't why the tocket was closed so I reopenned it.

  2. karlitschek commented on Feb 9, 2013

    @karlitschek
    Contributor

    Should work with ownCloud 5. Please have a look at the config.sample.php and the overwrite host/webroot/protocol variables.

  3. locked as resolved and limited conversation to collaborators on Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions