[web2py] Re: wsgi on directory

2013-11-02 Thread Simon Berry
Please could someone who has actually set up an Apache server with WSGI and 
successfully mounted www.[domain].com/web2py kindly weigh in on this topic?

As a newbie to this group, there seem to be a lot of people requesting this 
- however none of the solutions posted has worked for me yet...


On Friday, October 11, 2013 3:19:58 PM UTC-4, Niphlod wrote:

 you have to play hard with apache rewrite rules 
 I'm not an expert on apache configs (as soon as nginx was out, it was 
 clear to me that its syntax was more understandable to me) but basically 
 you need to tell your apache that everything coming to / should be passed 
 to joomla, except /web2py/ that should be treated by mod_wsgi.

 On Friday, October 11, 2013 6:44:22 PM UTC+2, Vicente Deluca wrote:

 Hi, I'm running web2py like wsgi (
 http://web2py.com/book/default/chapter/13#mod_wsgi) and that's fine, I 
 can access to my web2py on www.[domain].com. But I need now run the same on 
 www.[domain].com/web2py, because on www.[domain].com are running one joomla 
 system.

 What I have to modify?

 Thanks a lot.

 Vicente.



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Web2Py, Apache, WSGI and a mount point other than /

2013-11-02 Thread Simon Berry
Does the latest version of Web2Py using Apache and WSGI support a mount 
point of anything other than /?

The following works on my system i.e. when I go to www.[mydomain].com the 
hello world app comes up.  (This is a line from my 
/etc/apache2/sites-available/www.[mydomain].com file.)

WSGIScriptAlias / /home/www-data/web2py/wsgihandler.py

The following does not work on my system i.e. when I go to 
www.[mydomain].com/ace the hello world app DOES NOT come up.

WSGIScriptAlias /ace /home/www-data/web2py/wsgihandler.py

While relatively new to Web2Py, I have read the book, browsed the web, 
reviewed the topics here - and have yet to find a solution that works.  I 
saw in one previous answer “it is very easy” and to do

#in routes.py 
routes_out=(('(?Panything.*)','/ace\ganything'),)

But this has not worked for me.

Should this work?  Am I the only one suffering?  Is there a way that does 
actually work?

Thanks in advance!

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.