تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6124 أدوات العرض

Hello.

I have this problem, until now, i configure my nginx to manage 404 errors and redirect to a more informative page for my customers,

As you know it is an ugly hacking because directly to OpenERP:PORT it will not work.

What should be the correct way to improve this with a module that return a 404 qweb template (maybe a client action) but managed by OpenERP.

Many thanks.

الصورة الرمزية
إهمال

How would OpenERP be able to handle a 404 if it can't be accessed? I might not understand the concept you're after. Using a 404 redirect via nginx has been good enough for our needs, and it basically only ever arises when OpenERP is completely down for some reason anyway.

الكاتب

Sorry, but "Server Broken" is 50x approach, totally different from 404.

My mistake, thinking of the wrong issue. Where do you encounter a 404? I'm curious.

الكاتب أفضل إجابة

Nginx/apache is the only correct option for V7.0, I couldn't face other solution.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يوليو 25
1292
1
مايو 25
816
2
مايو 25
1420
1
يوليو 24
3060
0
أغسطس 24
341