Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a question similar to this: Apache : Map one virtualhost to a subdirectory of another virtualhost

Except mine is about serving PHP within Django's domain like that:

  • serves Django, uses WSGI etc.,
  • needs to be fully based on PHP, cannot go through Django,

How can I do that? I believe this is possible, but could you give me any clues about how to accomplish that?

share|improve this question
up vote 1 down vote accepted

The Alias directory takes precdence over WSGIScriptAlias, so define Alias directive for /some_app to directory which is setup with PHP files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.