Skip to content

Instantly share code, notes, and snippets.

@jbarreraballestas
jbarreraballestas / odoo.conf
Last active July 22, 2024 14:41
Odoo apache virtual host
<VirtualHost *:80>
ServerName myodoodomain.com
RewriteEngine on
RewriteCond %{SERVER_NAME} =myodoodomain.com
RewriteRule ^ http://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName myodoodomain.com