José this is my configuration,
db.py:
from gluon.contrib.login_methods.ldap_auth import ldap_auth
If mod_php is on:
ERROR:root:missing ldap, try "easy_install python-ldap" (apache log error)
If mod_php is off, the application works OK.
mod_php 5.3.3
mod_wsgi 3.3
I've installed web2py from source.
Apache:
<VirtualHost *:80>
ServerName web2py-test.foo.com
WSGIDaemonProcess web2pytest user=www-data group=www-data \
display-name=%{GROUP}
WSGIProcessGroup web2pytest
WSGIScriptAlias / /var/www/web2pytest/wsgihandler.py
<Directory /var/www/web2pytest>
AllowOverride None
Order Allow,Deny
Deny from all
<Files wsgihandler.py>
Allow from all
</Files>
</Directory>
AliasMatch ^/([^/]+)/static/(.*) \
/var/www/web2pytest/applications/$1/static/$2
<Directory /var/www/web2pytest/applications/*/static/>
Order Allow,Deny
Allow from all
</Directory>
<LocationMatch ^/([^/]+)/appadmin>
Deny from all
</LocationMatch>
LogLevel info
CustomLog /var/log/apache2/web2pytest_access.log common
ErrorLog /var/log/apache2/web2pytest_error.log
</VirtualHost>
Eduardo.
El martes, 26 de junio de 2012 13:07:43 UTC-4:30, Bill Thayer escribió:
>
>
> Hi Jose,
>
> Not to hijack your thread but quickly....
>
> Your are probably as busy as the rest of us but I'd love to see a recipe
> or tutorial on how you got php MyAdmin to run with web2py.
>
> Regards,
> Bill
--