WebFaction
Community site: login faq

I have a python app running on myweb.webfaction.com/myapp/. It is working fine, however when I try to click in some of the links I have inside my app, for example, to another page: myweb.webfaction.com/myapp/a_page/ the link is redirected to myweb.webfaction.com/a_page/ thus breaking the link.

Do I have to edit my url.py to make it work? I thought the webserver would eventually make it work by generating a relative link of my application.

asked 28 Sep '15, 14:08

evs
136
accept rate: 0%


If you are referring to a django app, you might need to use the FORCE_SCRIPT_NAME setting.

Click to see the official documentation and ours.

permanent link

answered 28 Sep '15, 14:54

iliasr ♦♦
2.2k14
accept rate: 34%

Yeah, I redefined my words and actually found it under the documentation. Thanks.

(28 Sep '15, 15:00) evs
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×910

question asked: 28 Sep '15, 14:08

question was seen: 1,056 times

last updated: 28 Sep '15, 15:02

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2021 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM