Now checking the logs of Apache i saw, the mistake, the Apache is not running a Python Apps, sorry i want to know how call a Python App from the WSGI code?
On Feb 5, 4:34 pm, "Diego H." <[email protected]> wrote: > Hello group, I have a project in Python what i choose to use WSGI for > handdling the server side of the code, and i got this problem, i > cannot import any external code, the only way is putting a copy of the > carpet inside the "/usr/lib/python", but if i try to import a carpet > no matter where is send me an error of not found here is my code of > the "/etc/apache2/sites-aviable/defaul"t: > > <VirtualHost *:80> > ServerAdmin webmas...@localhost > > DocumentRoot "/opt/www/" > <Directory /> > Options FollowSymLinks > AllowOverride None > </Directory> > > WSGIScriptAlias / /media/d5c3e94e-5ab2-462e-9a74-ff4a35271110/hidura/ > BMSGroup/BMSuite/Suite/BMSuite/Suite/Gate.py > WSGIScriptAlias /wsgi /media/d5c3e94e-5ab2-462e-9a74-ff4a35271110/ > hidura/BMSGroup/BMSuite/Suite/BMSuite/Suite/wsgi/$1.py > > <Directory /media/d5c3e94e-5ab2-462e-9a74-ff4a35271110/hidura/ > BMSGroup/BMSuite/Suite/BMSuite/Suite/> > Options ExecCGI > DirectoryIndex Gate.py index.html wsgi/__init__.py > SetHandler wsgi-script > Order allow,deny > Allow from all > </Directory> -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en.
