Hi Dominique,
As you said I have tried with Apache2 and used its proxy function also. But still no luck. Please go through my below apache2 and openerp-web config files which I am using on my server and please suggest me if I am doing anything wrong or missing anything within it.
STEP - 1
========
# vim /etc/apache2/sites-available/default
NameVirtualHost *:80
<VirtualHost>
ServerName amerpweb.com
ServerAlias *.amerpweb.com
ServerAdmin webmaster@localhost
Redirect /
https://amerpweb.com
DocumentRoot /var/www/
<Directory>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
----------END----------END---------------------
STEP - 2
========
$ sudo a2enmod proxy
$ sudo a2enmod proxy_http
$ sudo a2enmod proxy_connect
$ sudo a2enmod proxy_ftp
$ sudo vi /etc/hosts
192.168.1.98
www.amerpweb.com www
STEP - 3
========
$ sudo vi /etc/apache2/sites-available/default-ssl
<VirtualHost>
ServerAdmin webmaster@localhost
ServerName amerpweb.com
<Proxy>
Order deny,allow
Allow from all
</Proxy>
ProxyRequests Off
ProxyPass /
http://127.0.0.1:8080
ProxyPassReverse /
http://127.0.0.1:8080
</VirtualHost>
STEP - 4
========
$ sudo /etc/init.d/apache2 restart
STEP - 5
========
Added below lines in:
------------------------------
$ sudo vi /etc/openerp-web.cfg
base_url_filter.on = True
base_url_filter.use_x_forwarded_host = False
base_url_filter.base_url = "https://amerpweb.com"
$ sudo /etc/init.d/openerp-we restart
My HTTPS config for openerp serve is end up with this. But still for URL :"https://amerpweb.com" my Firefox displaying "Address Not Found" error.
Please help me...!!!!!!!!!!!!!!!!! Please.
Waiting for your reply.