On Sep 9, 10:06 pm, Jose <jjac...@gmail.com> wrote:
> WSGIScriptAlias / /home/myaccount/webapps/apachewsgi/web2py/
> wsgihandler.py
> WSGIDaemonProcess web2py user=myaccount group=myaccount \
>    home=/home/myaccount/webapps/apachewsgi/web2py/ \
>    processes=1 maximum-requests=1000

Aha, so this is where the WSGI lines are!
I'm used to seeing these inside the VirtualHost

>   DocumentRoot /home/myaccount/webapps/apachewsgi/web2py/applications/
> myapplication

As I stated int he 1st post, this is *not* a redirect.
It is in fact completely ignored when using WSGI.

Web2Py default is to redirect to 'init' if it exists or 'welcome' if
'init' does not exist & that does.

To redirect to your application, I use mod_rewrite:

RewriteEngine On
RewriteRule ^/$ /myapplication/ [R]

F


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to