Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Deploying lfs in a subdirectory on webfaction
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andreas  
View profile  
 More options May 12 2012, 5:55 am
From: Andreas <andi...@web.de>
Date: Sat, 12 May 2012 02:55:19 -0700 (PDT)
Local: Sat, May 12 2012 5:55 am
Subject: Deploying lfs in a subdirectory on webfaction
Hello,

I'm trying to install the lfs shop on webfaction in a subdirectory of
my domain.
So I want it to be installed at my-domain.com/lfs.
I followed the instruction given at

http://community.webfaction.com/questions/6397/django-lfs-lightning-f...

I also followed the instructions here

http://docs.webfaction.com/software/django/config.html#mounting-a-dja...

and changed some variables in the settings.py file to

FORCE_SCRIPT_NAME="/lfs"
LOGIN_URL = "/lfs/login/"
LOGIN_REDIRECT_URL = "/lfs/manage/"

STATIC_URL = '/lfs/static/'
MEDIA_URL = '/lfs/media/'

and restarted apache afterwards.
However this doesn't work completely.
When I browse to the main page of my installation at my-domain/lfs
I can see that some urls are generated correctly, e.g
/lfs/cart
/lfs/imprint
/lfs/pages
/lfs/login
But some urls on the main page are still not correct and don't work,
like
/manage
/contact
Also the home button doesn't work correctly. It links to my-domain
instead of my-domain/lfs.

What am I missing?
Can you help me?

Andreas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
prajwal suhas p  
View profile  
 More options May 12 2012, 7:47 am
From: prajwal suhas p <prajwalp...@gmail.com>
Date: Sat, 12 May 2012 17:17:48 +0530
Local: Sat, May 12 2012 7:47 am
Subject: Re: [LFS] Deploying lfs in a subdirectory on webfaction

Can I know, for what reason you want your site to shown at -
my-domain.com/lfs Instead of my-domain.com?
----
Cheers,
Prajwal Suhas P <http://twitter.com/#%21/prajwalps>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas  
View profile  
 More options May 12 2012, 8:29 am
From: Andreas <andi...@web.de>
Date: Sat, 12 May 2012 05:29:28 -0700 (PDT)
Local: Sat, May 12 2012 8:29 am
Subject: Re: Deploying lfs in a subdirectory on webfaction
I have already another web application installed at
the root folder / and I do not want to to change that.

But I want to additionally install LFS anyway and thought
it should be easy to do that in a subdirectory of my domain.

On May 12, 1:47 pm, prajwal suhas p <prajwalp...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
prajwal suhas p  
View profile  
 More options May 12 2012, 9:29 am
From: prajwal suhas p <prajwalp...@gmail.com>
Date: Sat, 12 May 2012 18:59:54 +0530
Local: Sat, May 12 2012 9:29 am
Subject: Re: [LFS] Re: Deploying lfs in a subdirectory on webfaction

You could have easily done this by creating a new sub-domain in the
web-faction control panel.
i.e say -
lfs.yourdomain.com or dev.yourdomain.com and link it to your lfs-app in
your web-faction control panel.

Also you could keep separate copies of lfs say -
lfs06.15.yourdomain.com
lfstruck.yourdomain.com and lfs07.yourdomain.com for Development purposes.

This process is much straightforward :)

----
Cheers,
Prajwal Suhas P <http://twitter.com/#%21/prajwalps>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
prajwal suhas p  
View profile  
 More options May 12 2012, 9:32 am
From: prajwal suhas p <prajwalp...@gmail.com>
Date: Sat, 12 May 2012 19:02:06 +0530
Local: Sat, May 12 2012 9:32 am
Subject: Re: [LFS] Re: Deploying lfs in a subdirectory on webfaction

----
Cheers,
Prajwal Suhas P <http://twitter.com/#%21/prajwalps>

On Sat, May 12, 2012 at 6:59 PM, prajwal suhas p <prajwalp...@gmail.com>wrote:

> You could have easily done this by creating a new sub-domain in the
> web-faction control panel.
> i.e say -
> lfs.yourdomain.com or dev.yourdomain.com and link it to your lfs-app in
> your web-faction control panel.

> Also you could keep separate copies of lfs say -
> lfs06.15.yourdomain.com
> lfstruck.yourdomain.com and lfs07.yourdomain.com for Development purposes.

**typos - this must be read as '
lfs0615.yourdomain.com
lfsTrunk.yourdomain.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »