Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8792823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:02:12+00:00 2026-06-13T23:02:12+00:00

I have my own old django project which has not been created through django

  • 0

I have my own old django project which has not been created through django 1.4.1. I want to host it on ec2 bitnami so that inspite of running default htdocs folder my desired folder must be displayed. I have done this before but this time with new machine its not running. I have been go through this link

http://bitnami.org/forums/forums/djangostack/topics/getting-started

and was already all that. My changes what i have are..

In httpd.conf

In myproject_cofig.conf

WSGIScriptAlias /fortis_django "/opt/bitnami/apps/django/conf/fortis_django_wsgi.wsgi"\


<Directory '/opt/bitnami/apps/django/conf'>
Order deny,allow
Allow from all
</Directory>

In myproject_wsgi.wsgi

import os, sys
sys.path.append('/opt/bitnami/')
sys.path.append('/opt/bitnami/projects/')
sys.path.append('/opt/bitnami/projects/fortis_django')
os.environ['DJANGO_SETTINGS_MODULE'] = 'fortis_django.settings'

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

And location of project is checked and its correct..

In httpd.conf i changed..

DocumentRoot "/opt/bitnami/projects" 

Include "/opt/bitnami/apps/django/conf/fortis_django_config.conf"

And redirected also..

RedirectMatch /fortis /fortis_django/login

So, whenever i go to myurl/fortis it come myurl/fortis_django/login with error too many loops. I am stucked from days please help to run my own project from my location. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:02:13+00:00Added an answer on June 13, 2026 at 11:02 pm

    Try:

    RedirectMatch ^/fortis$ /fortis_django/login
    

    Your existing pattern will not match what you are redirecting to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Symfony2 project with its own database, and now I want to
I have brought in some old (not my own) code to a new solution
I have an huge old software project that I want to integrate in my
I have own project and i would like add for this class same as
I have own component which works in my testing winform app good but when
I want to use two different Spring web contexts , each have own contextConfig,
I'm trying to hide window after its startup. I have own window-class which is
I have my own installer program which I use to install several applications I
I have my own control, derived from TCustomPanel . It has a child (
I have an own annotation processor (let's call it MyProcessor) and a project (let's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.