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 8065031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:32:44+00:00 2026-06-05T11:32:44+00:00

I want to run www.example.com to be accessed and managed by django. And, www.example.com/about

  • 0

I want to run http://www.example.com to be accessed and managed by django. And,

http://www.example.com/about or http://www.example.com/about/…

and

http://www.example.com/wordpress or http://www.example.com/wordpress/…

to be managed by wordpress.

So, the wordpress admin will be at http://www.example.com/wordpress and the pages it generates will be at http://www.example.com/about/…

I have no idea how to do this. How can I host these two things on the same apache server?

This is my current wsgi file and the django app works at http://www.example.com. But when i access http://www.example.com/about/ it tries to go through urls.py and not find anything. how do i put my wordpress pages over here?

LoadModule wsgi_module modules/mod_wsgi.so

WSGIScriptAlias / "C:\Users\Nikunj\Documents\Aptana Studio 3 Workspace\myapp\myapp\wsgi.py"

Alias / "C:\Users\Nikunj\Documents\Aptana Studio 3 Workspace\myapp\myapp\"

<Directory />
Order allow,deny
Allow from all
</Directory>

Thank you for all your help!! 🙂

EDIT this is my new file using jdi’s answer but it still doesnt work:

LoadModule wsgi_module modules/mod_wsgi.so
WSGIScriptAlias / "C:\Users\Nikunj\Documents\Aptana Studio 3 Workspace\myapp\myapp\wsgi.py"

Alias /wordpress/ "C:\wamp\www\wordpress\wp-admin\"
Alias / "C:\Users\Nikunj\Documents\Aptana Studio 3 Workspace\myapp\myapp\"

<Directory "C:/wamp/www/wordpress/wp-admin/">
  AllowOverride All
  Order Deny,Allow
  Allow from all
</Directory>

<Directory />
  Order allow,deny
  Allow from all
</Directory>
  • 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-05T11:32:46+00:00Added an answer on June 5, 2026 at 11:32 am

    Create multiple directory entries in your apache conf: http://httpd.apache.org/docs/2.0/mod/core.html#directory

    One is set up for wordpress, and one is set up for django. Right now, every bit of traffic is always going to your django app.

    It might look something like this (just guessing):

    Alias /about/ "C:/path/to/wordpress/"
    Alias /wordpress/ "C:/path/to/wordpress/wp-admin/"
    
    Alias / "C:/Users/Nikunj/Documents/Aptana Studio 3 Workspace/myapp/myapp/"
    
    <Directory "C:/path/to/wordpress/">
      AllowOverride All
      Order Deny,Allow
      Allow from all
    </Directory>
    
    <Directory />
      Order allow,deny
      Allow from all
    </Directory>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is what I want to do: !f:: Run, browserpath www.example.com?groupid=WANTPASTEDVALUE&exporttype=1&vehicle=34928 return I want
Please see http://www.sqlfiddle.com/#!3/fb107/3 for an example schema and query I want to run. I
Want to run javascript function from parent window in child window Example I have
I have access to some images that can be gathered like this: http://www.example.com/imageGetter.php?a=0001 If
I want to Run surround query . Downloading from http://www.java2s.com/Code/Jar/JKL/Downloadlucenesurround241jar.htm Moved the lucene-surround-2.4.1.jar to
I have a Django application being served of (say) example.com . It contains a
I have written php program and uploaded on server. I want run this program
I want to run an update query. The query will be run against multiple
I want to run wget as follows shell_exec('wget 'http://somedomain.com/somefile.mp4''); sleep(20); continue my code... What
Let's say that if I read from www.example.com/number, I get a random number. In

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.