SYSTEM INFORMATION | |
---|---|
OS type and version | Rocky 9, VM 7.2 PRO |
Virtualmin version | VM 7.2 PRO |
To check im not missing something obvious, how do we make apache via Virtualmin use index.php as a router?
SYSTEM INFORMATION | |
---|---|
OS type and version | Rocky 9, VM 7.2 PRO |
Virtualmin version | VM 7.2 PRO |
To check im not missing something obvious, how do we make apache via Virtualmin use index.php as a router?
If you have an index.php in the document root - Apache should deal with it out of the box.
I do yes, which runs at route /, but when going to /unauth, which should also be served by index.php, it goes to a 404.
Perhaps create an index.php file in a folder (which you may need to create also) called unauth, to do what you want it to do?
Not really a feasible solution as /unauth is one of many routes… Im not sure why its doing this. Would it help to share my directives?
Are you saying you want a single index.php files to serve\service all your routes?
If so, you should be able to set up some kind of wildcard alias so that everything goes to the single php file.
Yes - it goes back out of the public directory space to MVC style controllers and views
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.