login community faq

I have a Django application myapp. It serves example.co.uk so http://example.co.uk serves myapp/. I have a domain somethingelse.co.uk. I want http://somethingelse.co.uk/ to serve /myapp/foo.

This could be achieved by attaching a static app to somethingelse.co.uk and in the root folder of the app insert an .htaccess file with a redirect from http://somethingelse.co.uk/ to http://example.co.uk/foo. Is this the best/only way to do this? It seems somewhat inelegant.

asked Oct 13 '12 at 12:41

Peter%20Mott's gravatar image

Peter Mott
72


You can also create a symlink application to point to the subdirectory you are wanting to mount at /foo. Then mount the symlink application at /foo

answered Oct 13 '12 at 12:53

bmeyer71's gravatar image

bmeyer71 ♦♦
8512310

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
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

Tags:

×76
×47

Asked: Oct 13 '12 at 12:41

Seen: 308 times

Last updated: Oct 13 '12 at 12:53

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited