I installed a Virtualmin server on a Debian Squeeze box which works fine. It has some repositories with associated users and everything is running smoothly at that point.
So, I wanted to try and install WebSVN to offer my users online source browsing, but it looks like I’m stuck here. I did a simple sudo apt-get install websvn and configured it to run with apache2.
The problem is, when I go to http://domain.tld/websvn/, the browser is offering me to download the index.php instead of interpreting it. I’m not sure which config file I should look at to solve this issue as I’ve already tried to edit /etc/websvn/apache.conf with no luck.
I actually already have my repositories handled by Virtualmin on my host. I just need to install a 3rd party software to display versioned sources in a more friendly way.
It’s a lot like a PhpMyAdmin install except there’s no built-in scripts to do the work from within Virtualmin.
This means I have to deal with Apache config files myself and this is where I get stuck.
Thank you Eric, I think I understand a little bit better how all of this works.
The phpMyAdmin folder is here too, so I assume that Install Scripts are actually doing these actions for each configured domain.
edit: everything is now working as expected
I softlinked /public_html/websvn/ to /usr/share/websvn so I can keep my files up to date. Then I configured Virtualmin to use my SVN’s basic htpasswd authentication on /websvn Location and edited WebSVN’s config file to use SVN’s authz conf file to handle all the per repository user authorization.
Be aware that, if you use FCGId, the suexec that comes with Virtualmin is compiled to execute PHP scripts only from /home/*. So you MIGHT run into trouble if your PHP scripts are located elsewhere.