if you need to run web2py behind apache you need the source version On Tuesday, January 20, 2015 at 7:53:23 AM UTC+1, Dmitry Ermolaev wrote: > > Apache 2.2 + wsgi_mod in http.conf:: > LoadModule wsgi_module modules\mod_wsgi.so > > if I use web2py/wsgihandler.py in apache config: > <VirtualHost *:80> > ServerName dom1 > ServerAlias www.dom1 > > > DocumentRoot "C:/web2py-m" > > <Directory "C:/web2py-m"> > AllowOverride All > Order allow,deny > allow from all > </Directory> > <Location "/"> > Order deny,allow > Allow from all > </Location> > > <LocationMatch "^(/[\w_]*/static/.*)"> > Order Allow,Deny > Allow from all > </LocationMatch> > > *WSGIScriptAlias / "C:/web2py-m/wsgihandler.py"* > > > LogFormat "%h %l %u %t \"%r\" %>s %b" common > ErrorLog "logs/lite.log" > CustomLog "logs/lite-access.log" common > > > </VirtualHost> > > - all worked > > but when I want use web2py.exe with Apache - how it configure in apache > .conf ? > > I use nssm and web2py.exe on Windows > service stared > I name it "web2py app1" > > but how configure apache ?? > WSGIScriptAlias / "C:/web2py-m/web2py.exe" ## - not worked > > > WSGIScriptAlias / "web2py_welcome" ## - not worked > Not Found > > The requested URL /welcome/default/index was not found on this server. > >
-- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

