Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
our Website is still in development. We want to protect it and don't want to
allow people to see it. What's the correct way to enable a passwort protaction
via .htaccess? how can I include this file? Do I have to write a module for
that? What's the content of the .htaccess. Or can someone provide a module
for maintanence mode?
all the best for you guys,
I don't think there is a publicly available module for maintenance mode, although I do think it is a great idea.
I think you could consider setting up Nginx as a reverse proxy and then restrict access to your website to only fixed IP addresses.
Alternatively you can consider using a frontend proxy (such as nginx) and assigning your website to a domain name that is not yet pointed at your server. You could then edit your computer's local hosts file (on a mac it is in /private/etc/hosts, on win 7 it's in C:\Windows\System32\drivers\etc\hosts). For this method you would just need to add your server's main IP address (eg. 123.456.1.2) and the domain you've setup in your /etc/nginx/sites-available/default (or ../sites-available/yourdomainhere.com) on it's own line at the end of your hosts file, for example:
123.456.1.2 yourdomainhere.com www.yourdomainhere.com
this would allow you to develop the website away from public view, while still allowing you to view it as if the domain was actually pointed over to your server.
You can some (very basic) information on setting up Nginx as a reverse proxy for Odoo 8.0 here, although please note that this setup is in no way a production-ready setup:
Is setup basic authentication  satisfy your requirement?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/30/14, 5:59 AM|
|Seen: 1504 times|
|Last updated: 3/16/15, 8:10 AM|