1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Setting up Paths and Subdomains Config Files

Discussion in 'Plesk for Linux - 8.x and Older' started by AplosMedia, Jul 2, 2005.

  1. AplosMedia

    AplosMedia Guest

    0
     
    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
     
  2. AplosMedia

    AplosMedia Guest

    0
     
    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?
     
  3. Whistler

    Whistler Guest

    0
     
    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.
     
  4. jamesyeeoc

    jamesyeeoc Guest

    0
     
    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
     
  5. AplosMedia

    AplosMedia Guest

    0
     
    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.. :)
     
Loading...