        WSGIScriptAlias /my_sub_dir /path/to/myweb2py/subwsgihandler.py
        WSGIDaemonProcess web2py user=www-data group=www-data \
                          home=/var processes=5 \
                          maximum-requests=10000

        <Location "/my_sub_dir">
            Order deny,allow
            Allow from all
            WSGIProcessGroup web2py
        </Location>
