What revision are you running?  I'm seeing my proxy-prefix get appended correctly in both release_15.05 and in current -dev.

On Thu, Jul 23, 2015 at 5:10 AM Peter Cock <p.j.a.cock@googlemail.com> wrote:
Hello Ping,

I can confirm this bug.

I noticed this some time back when the new history was in beta,
but neglected to explore what was wrong. Apologies.

When looking at:

http://our_server_name/galaxy/history/view_multiple

Via Firefox I can see the "switch" button is triggering a URL like:

http://our_server_name/history/set_as_current?id=cde77e676c9d11d1

The Apache access log contains lines like this:

"GET /history/set_as_current?id=cde77e676c9d11d1 HTTP/1.1" 404 294
"http://our_server_name/galaxy/history/view_multiple" "Mozilla/5.0
(Macintosh; Intel Mac OS X 10.10; rv:39.0) Gecko/20100101
Firefox/39.0"

The Apache error log contains lines like this:

File does not exist: /var/www/html/history, referer:
http://our_server_name/galaxy/history/view_multiple

We're using "galaxy" as a prefix for this instance using this in the config:

[app:main]
filter-with = proxy-prefix
cookie_path = /galaxy

Regards,

Peter

On Wed, Jul 22, 2015 at 8:26 PM, Ping Luo <luop0812@gmail.com> wrote:
> Hello,
>
> Our galaxy server is served under a sub-directory "/myserver". So far
> everything works except the "Switch to" button in "view all history". When
> clicking it, there is no response. From apache server access log, I see this
> message
>
>     "GET /history/set_as_current?id=9a8f74b3b768f8f1 HTTP/1.1" 404 304
>
> And in the apache error log, I see
>
>      File does not exist: /www/htdocs/history, referer:
> https://xxx.xxx.xxx/myserver/history/view_multiple
>
> Since the prefix "/myserver" is not properly prepended in the equest, the
> request is not properly routed. It tries to retrive the history page from
> the document root /www/htdocs.
>
> So far, all other requests seems have a proper prefix, for example
>
> "GET /myserver/history/current_history_json HTTP/1.1" 200 1430
> "GET /myserver/api/histories/7a11fc800eeb71e9/contents HTTP/1.1" 200 15876
> "GET /myserver/history/view_multiple HTTP/1.1" 200 27296
> "GET /myserver/static/style/base.css?v=1437576796 HTTP/1.1" 304 -
>
>
> Please help to resolve the issue.
>
> Thanks,
>
> Ping
>
>
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>   https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/