I have an existing Perl app that I'm moving to a Webfaction website. I will be adding Django apps to this Webfaction website too.
I would like the Django app to get first call and so would want its URL path to be /
This would allow me to add any new URLs to the urls.py I wish as my app grows.
If the URL doesn't match anything in the urls.py I would like it to get passed to the static Perl app.
For example
- /app1 -> Django
- /app2 -> Django
Everything else not picked up by urls.py I would want going to my Perl app
For example:
- /index.html -> Static/Perl app
- /about.html -> Static/Perl app
- /contact.html -> Static/Perl app
- /apps/perlapp1.cgi -> Static/Perl app
etc
How do I go about achieving this in Webfaction?