• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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