Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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:

  • example.com serves Django, uses WSGI etc.,
  • example.com/some_app 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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.