I installed the moodle appliance, and now I want to serve my own web application from the same installation. Now, when I examine it, I see that you arrange it so that different applications will be served from different ports. E.g. port 80 serves moodle, port 12123 or st. serves phpmyadmin, and port 12121 or st. serves the webmin. So the port decides the application to serve.
What I want is to switch to a url based (same port for all) configuration: http:/somebaseurl/moodle should serve moodle, http:/somebaseurl/phpmyadmin should serve phpmyadmin, http:/somebaseurl/myapp should serve my custom app. How can I do this?
I know this question is mostly about Apache configuration, but I think other users can benefit from the answer. I don't know how to configure Apache, I usually edit the conf file that comes with the installation.
Thanks In advance.
Ps: In your appliance you use /usr/share/mooodle, /usr/share/phpmyadmin ... for local files, and under the /etc/apache2/available-sites, you make these directories the documentroot for the corresponding application. The way I usually do this is to just put moodle, phpmyadmin, and myapp folders under the same documentroot, and there you go... Is this not secure?