Hallo
I installed moodle 3.11.5 (for testing purpose) on my Windows 10 computer where I have Apache 2.4 installed (no WAMP or such) and PHP 8.0.
I have many test sites in my apache running.
I open moodle3 with:
http://localhost/moodle3
Now I have a moodle plugin which has a kind of overview button, the button opens the blocks directory in moodle, but without the directory moodle3 in the link, the (wrong) link is:
http://localhost/blocks/myplugin/overview.php
When I change the link (in the address bar of my browser), adding "moodle3/" to:
http://localhost/moodle3/blocks/myplugin/overview.php
I can open that overview.
But the button's link in the plugin is broken (404, which is clear, as moodle is running under localhost/moodle3/).
Is there an switch somewhere, where I can tell moodle it is not the only system (under root dir) in my apache webserver?
Seems like I checked the wrong checkbox when I installed it, but I dont find it.
Thanks for hints.
frank