El 12/12/17 a les 10:59, Noureddine EL GHANI ha escrit:
> When I try to access SAO from a mod_wsgi server I get this error message
>
> 127.0.0.1 - - [12/Dec/2017:09:40:09 +0000] "GET / HTTP/1.1" 302 229
> 127.0.0.1 - - [12/Dec/2017:09:40:18 +0000] "GET /index.html HTTP/1.1" 405 178
>
> Tryton client is working correctly with mod_wsgi
You should configure your server to server the static content from where
you have installed sao.
>
> When I Run tryton in developpment mode, SAO works correctly
>
> Here is my Apache 2.4 conf :
>
> <VirtualHost *:8000>
> ServerName TrytonERP
> WSGIPassAuthorization On
> WSGIScriptAlias / "C:\Python27\tryton-sao-4.4.0\package\tryton.wsgi"
>
> <Directory "C:\Python27\tryton-sao-4.4.0\package">
This should be probably without the package.
> Require all granted
> </Directory>
> </VirtualHost>
>
Hope it helps.
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk