• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Setting up Paths and Subdomains Config Files

A

AplosMedia

Guest
Setting up custom httpd.conf values per subdomain.

I've installed subversion, and im tring to make apache access it.

I created a subdomain called "svn" on my main domain. I then went to subdomains/svn/conf
and created the file vhost.conf

Inside I have:

Code:
<Location /projects>
        DAV svn
        SVNParentPath /home/httpd/vhosts/domain.com/svn
</Location>

However, if I go to svn.domain.com/projects or svn.domain.com/projects/mysvnreponame

I get a 404. Do i have the file named wrong?

- Eric
 
Infact, it lookas if the subdomains /conf/vhost.conf file doesn't get included into apache at all... Is there a way I can check this?
 
Whe, check the manual on how to make Plesk include your file in the httpd.conf...?

Hint: check the usage of websrvmng util. (- or search around this forum a bit - it couden't be hard to find the answer to your question)

But it's pretty easy to check if it's included - just check the proper httpd.conf (for the domain) and see after an "Include <path_to_your_conf>" statement.
 
I may be just to darn tired, but for a subdomain, shouldn't the path be:

/home/httpd/vhosts/domain.com/subdomains/svn

as he posted:

/home/httpd/vhosts/domain.com/svn

would imply that the svn directory is not even under the ~/httpdocs/ directory

Again, I may just be too tired to think straight, correct me if I'm wrong
 
jamesyeeoc,

The phyiscal paths to any SVN repo on my server, is directly isnide someone's vhost, i.e. example.com/svn/reponame,

That's just the path to the subversino database..


As for reloading, I figured it out....can't remember off hand, but it was a quick command and thanks much to plesk for the docs.. :)
 
Back
Top