abhigupta
2008-05-23, 01:04 PM CDT
Hi all,
I wish to configure a local subversion, trac and dav with apache2 on Fedora Core 8.
Here is what I have done so far:
1. Created the following directories:
/projects
/projects/htdocs
/projects/htdocs/dav-test
/projects/var
Changed the owner and group for all these directories to apache:apache
Gave all these dirs g+w permissions.
2. Changed /etc/httpd/conf/httpd.conf as follows:
DocumentRoot "/projects/htdocs"
<IfModule mod_dav_fs.c>
DAVLockDB /projects/var/DAVlock
</IfModule>
<Directory "/projects/htdocs/dav-test">
DAV On
</Directory>
Now when I try to start the server, I get the error:
"Syntax error on line 280 of httpd.conf
DocumentRoot must be a directory"
I also get a SELinux error:
"SELinux is preventing access to file with the default label, default_t."
Could someone please tell me how to configure dav, svn and trac with apache.
Thanks!
Abhishek
I wish to configure a local subversion, trac and dav with apache2 on Fedora Core 8.
Here is what I have done so far:
1. Created the following directories:
/projects
/projects/htdocs
/projects/htdocs/dav-test
/projects/var
Changed the owner and group for all these directories to apache:apache
Gave all these dirs g+w permissions.
2. Changed /etc/httpd/conf/httpd.conf as follows:
DocumentRoot "/projects/htdocs"
<IfModule mod_dav_fs.c>
DAVLockDB /projects/var/DAVlock
</IfModule>
<Directory "/projects/htdocs/dav-test">
DAV On
</Directory>
Now when I try to start the server, I get the error:
"Syntax error on line 280 of httpd.conf
DocumentRoot must be a directory"
I also get a SELinux error:
"SELinux is preventing access to file with the default label, default_t."
Could someone please tell me how to configure dav, svn and trac with apache.
Thanks!
Abhishek