General > Support
index.php default file
acherwinski:
I am trying to get my public /chat to open directly at the url https://chat.mydomain.com . As setup it will not work. Nor does https://chat.mydomain.com/chat
It will work with https://chat.mydomain.com/index.php/chat . The host says the server is set to default to index.php
https://chat.mydomain.com/index.php routes to https://chat.mydomain.com/index.php/operator/login
Can this be configured in the configs/routing.yml file?
I would like https://chat.mydomain.com to hit the public chat window and https://chat.mydomain.com/operator to hit the backend login.
Version 3.2.7
Thank you,
acherwinski:
The support person at the hosting looked at the issue and reports:
"I reviewed the issue, there is no problems with the "configs/routing.yml" files, the paths in this file are correct and only route "operator/login" "/chat" as indicated by the application.
The .htaccess configuration for Apache is also not causing the issue, so the problem is occurring somewhere in the backend of the site configuration. I am was not able to find where these settings would be located as I am not familiar with the site code."
faf:
Frankly, I'm unable to understand what is the issue you're talking about. If you want to implement your own set of routes, take a look at Symphony docs.
acherwinski:
Hello faf,
I've installed the mibew application (including the index.php) in directory X.
I pointed subdomain A record in the DNS to the IP
The server (IP) points the subdoman to the directory X.
That should launch the index.php
For some reason the index.php must be include in url to get it to work.
The equivalent of https://mibew.org/ not working, but requiring https://mibew.org/index.php
faf:
Looks like it's something related to your server environment and its settings. Maybe something wrong with mod_rewrite... It's impossible to say anything more concrete without access to system settings, server logs, etc.
Navigation
[0] Message Index
[#] Next page
Go to full version