General > Support

index.php default file

<< < (2/2)

acherwinski:
Thank you faf,

The hosting company support made the following updates that got it work more like expected.

added the following to the .htaccess file.

RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

The rewrite rule is re-writing the index.php file as base directory and https://livechat.domain.ca url is now loading operators login normally.  https://livechat.domain.ca/chat is now loading the chat window.

It would be great to get the shorter url (https://livechat.domain.ca) to work as the public chat window url.


faf:
The official distribution of Mibew Messenger contains valid .htaccess file. And it works fine when Mibew Messenger available at the root of a site. See https://demo2.mibew.org for example. One can make any modification to that .htaccess but only on its own risk.

As of "public chat window url", frankly I don't get why do you need that. Given the fact that normally visitors doesn't see any urls at all since the chat window is in iframe. But I've already told you that you can try to implement your set of routes.

Navigation

[0] Message Index

[*] Previous page

Go to full version