Hello,

I'm experiencing werkzeug on a simple application (using only template
system evoque coupled with werkzeug routing and SharedDataMiddleware).
It works perfectly while serving in development environment using
werkzeug run_simple.

I struggled for a couple of days trying running it on apache and
mod_wsgi with the instructions at 
http://werkzeug.pocoo.org/documentation/dev/deployment/mod_wsgi.html

Also I've seen posts at 
http://groups.google.com/group/pocoo-libs/browse_thread/thread/c944afdd762f2003#

Unfortunately I could not manage it and I'm not experienced with
mod_wsgi, not much with apache. What I see is the following:
- When requesting the url http://192.168.1.19/mydomain (with no .xx
whatever), I'm served the filesystem view, instead of the home page
served trhough the werkzeug application
- when requesting http://192.168.1.19/mydomain/something I get a 404
"The requested URL /residencegrenoble/accueil was not found on this
server"

My apache configs:
1. Virtual host configured
2. /var/www/mydomain contains
        <VirtualHost *:80>
                ServerName mydomain.fr
                WSGIScriptAlias / /var/www/mydomain/mydomain.wsgi
           <Directory /var/www/rmydomain>
                AddHandler wsgi-script .wsgi
                Order deny,allow
                Allow from all
           </Directory>
           ErrorLog /var/log/apache2/error.log
           LogLevel debug
           CustomLog /var/log/apache2/access.log combined
       </VirtualHost>

My .wsgi file:
 from mywerkzeug import application  (application is the one that I
can correctly serve with the development werkzeug server)
All the paths to werkzeug and other python modules seems to be correct

My ErrorLog (can the warn be an issue ? It seems strange to me not
having more info on error log):
  [warn] mod_wsgi: Compiled for Python/2.6.1+.
  [warn] mod_wsgi: Runtime using Python/2.6.2.
  [warn] mod_wsgi: Python module path '/usr/lib/python2.6/:/usr/lib/
python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-
old:/usr/lib/python2.6/lib-dynload'.
  [notice] Apache/2.2.11 (Ubuntu) mod_wsgi/2.3 Python/2.6.2 configured
-- resuming normal operations
  [error] [client 192.168.1.11] File does not exist: /var/www/mydomain/
something

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" 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/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to