Apache/WSGI Integration
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 459
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
Migrated issue, originally created by Anonymous
I modified the run_wsgi.py file to work directly in Apache to enable PHP-style pages written in Mako. I don't want to offend the purists :), but there are times when full app stacks like Pylons or Django are just too much. For simple web pages with a little code in them, Mako works great all by itself.
Any file named *.mako in the web root of Apache runs as a Mako template. They can be anywhere in the web root.
The script is a fork of run_wsgi.py. I tried to make one file do both (Apache and built-in web server), but they were different enough environments that it made sense to separate them.
I've attached the script to this trouble ticket. If the developers find it useful, they are welcome to add it to the examples/ directory for other users to have.
Attachments: mako_apache_wsgi_connector.py
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading run_wsgi.py and the attached mako_apache_wsgi_connector.py, then compare how the Apache and built-in server environments differ. Check the examples/ directory conventions and determine whether the attached connector fits there; done means the Apache integration is included as a usable example without disrupting the existing server path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache, python
- Domain
- backend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100