Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5103 มุมมอง

I have set up Odoo (14.0) and have it running perfectly on localhost. 

However, when I set up a reverse proxy with Apache for a domain it seems that nothing works on the domain, while still working fine on localhost. 

Firstly I have to add a "/web" at the end to even get to a login page. Once I have logged in and navigated to my website everything shows up looking very funny as if the theme is broken, and any links I click on simply add a "/#" to the end of my url without bringing me anywhere. 

Does anyone happen to have any experience with this?

Edit: This is what my apache file looks like :



ServerAdmin  xxx
ServerName  xxxxxxx

ProxyHTMLStripComments on
ProxyRequests off
SetOutputFilter proxy-html
ProxyHTMLDoctype XHTML
ProxyPreserveHost On
SSLProxyEngine on


ProxyPass / http://127.0.0.1:8069/
ProxyPassReverse / http://127.0.0.1:8069/

Order allow,deny
Allow from all



ErrorLog ${APACHE_LOG_DIR}/xxxx-error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/xxxx-access.log combined




อวตาร
ละทิ้ง

Hi,

If you've restored the db, in that case activate the developer mode. Go to Settings --> Technical --> System Params there check for the web.base.url key and see if it has the correct url.

คำตอบที่ดีที่สุด

I think you have not mentioned static file path in your apache configuration.

Also under odoo configuration enable proxy_mode = True

Kindly check that

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ค. 19
4337
1
เม.ย. 25
7672
1
มิ.ย. 20
9509
4
ธ.ค. 23
19976
3
ต.ค. 18
11690