Opened 15 years ago

Last modified 12 years ago

#367 closed task

atom feed shows a wrong URL when using apache with mod_proxy — at Version 4

Reported by: Michele Azzolari Owned by:
Priority: minor Milestone:
Component: documentation Keywords:
Cc: Parent Tickets:

Description (last modified by Christopher Allan Webber)

Setup: I have a virtual host for media.macno.org and I use mod_proxy to access my mediagoblin server (which listen on 127.0.0.1:6543)

Issue: atom feed self link uses a wrong url

For example requesting http://media.macno.org/u/macno/atom/ returns

Change History (4)

comment:1 by Michele Azzolari, 15 years ago

Fixed enabling the ProxyPreserveHost directive on Apache

Alias /mgoblin_media "/var/www/media.macno.org/user_dev/media/public/"
    Alias /mgoblin_static "/var/www/media.macno.org/mediagoblin/static/"

ProxyPreserveHost On
    ProxyPass /mgoblin_static/ !
    ProxyPass /mgoblin_media/ !
    ProxyPass / [http://127.0.0.1:6543/](http://127.0.0.1:6543/)
    ProxyPassReverse / [http://127.0.0.1:6543/](http://127.0.0.1:6543/)

comment:2 by Elrond, 14 years ago

Component: Documentation
Owner: set to Michele Azzolari

Hi Michele,

I have assigned this bug to you. :) If you don't like that, just undo it.

If you have the time and fun, you could create a new section on your setup at http://wiki.mediagoblin.org/Deployment which would be great.

comment:3 by Will Kahn-Greene, 14 years ago

The original url for this bug was http://bugs.foocorp.net/issues/725 .

comment:4 by Christopher Allan Webber, 13 years ago

Description: modified (diff)
Owner: Michele Azzolari removed

I don't believe this bug is being presently worked on so I'm removing ownership!

Note: See TracTickets for help on using tickets.