Well folks, with webfaction's support huge help, problem solved. The responsible for adding the port to the URL is: mod_dir!
http://httpd.apache.org/docs/2.0/mod/mod_dir.html Quoting the documentation: "Provides for "trailing slash" redirects and serving directory index files" So mod_dir was returning the URL with the port, before even Django touches the URL. Disabling mod_dir solves the problem, and now the slash is appended correctly by CommonMiddleware. Thanks again for Webfaction's great support. On 7/13/07, Miguel Filho <[EMAIL PROTECTED]> wrote: > On 7/13/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > > > > You might want to have a look at: > > > > http://www.djangoproject.com/documentation/settings/#append-slash > > > > Well just for the record, I have disabled CommonMiddleware and set > APPEND_SLASH to False, both changes didn't work, I still get the same > result. > > I have opened a ticket with webfaction.com, pointing this thread and a > topic on their forums describing the same problem, let's wait. > > Thanks for the replies > > Miguel > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---