0

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?

Tadeck
  • 119
  • 7

1 Answers1

1

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

Graham Dumpleton
  • 5,990
  • 2
  • 20
  • 19