Experimenting some and it seems it might be as simple as:

WSGIScriptAlias /appName /opt/web2py-1.49/wsgihandler.py/appName

Of course this would require multiple handlers for each application.
Is there a better way?


On Nov 11, 4:10 pm, Mark Larsen <[EMAIL PROTECTED]> wrote:
> web2py users,
>
> I'm running apache2 with mod_wsgi.  I ScriptAlias the wsgihandler.py
> not as the root of the server but with it's own directory.  From my
> vhost file:
>
>     WSGIScriptAlias /appName /opt/web2py-1.49/wsgihandler.py
>     <Directory "/opt/web2py-1.49">
>         Order allow,deny
>         Allow from all
>     </Directory>
>
> To access the application, I need to dohttp://servername.com/appName/appName.
> What's the best way to route off that second appName.  I tried
> "renaming" my application as init in the applications folder but
> web2py then cuts off the first appName and apache fails to use the
> wsgi server.
>
> Thanks,
>
> Mark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to