Koozali.org: home of the SME Server

odd browser problem just surfaced, could it be SME related?

Offline wdepot

  • ***
  • 89
  • +0/-0
    • http://westerndepot.com
Re: odd browser problem just surfaced, could it be SME related?
« Reply #30 on: August 30, 2022, 01:27:40 AM »
thousand server are running using primary ibay without issue. 

the chances are higher that the more you add layer to you setting the more you hack things to make it seem to work as you intend.

the code you show to alter the server variable might work with one situation and just fails when one arrives thru 2 proxy (one from cloudflare and their own. ) or any other situation. 


regarding the current rewrite rule.  what are the setting of your ibay before the rule is added?
what is the httpd error log content when trying to access?

I hadn't thought to check the http error log. The rewrite was failing because FollowSymbolicLinks was turned off for the store ibay. Once I turned that on the redirect from westerndepot.store to westerndepot.com worked fine.

After doing some reading about the difference between Rewrite and Redirect I've changed the code for the redirect to:
Code: [Select]
<Directory /home/e-smith/files/ibays/store/html>
    RedirectMatch permanent ^/(.*)$ https://westerndepot.com/$1
</Directory>
since that forces the browser to immediately change from westerndepot.store to westerndepot.com rather than just connecting it to westerndepot.com via proxy.

Unfortunately here on the local end of the server Chrome is still changing westerndepot.com into the server's IP address and dropping everything after the .com. Every other web browser works fine. That makes me wonder if people from outside the local network are still going to have some problems when connecting if using Chrome. Are there any server logs you can think of that might provide some insight into this?