• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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