SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to setup a Subversion repository on my slack 10 box. I have upgraded to apache 2.0.52 using the package at linuxpackages.org. I have installed the Subversion 1.1.3 package from there as well.
I can create the repository, and access it locally just fine. I added this to my httpd.conf:
I can access my local webpages via apache just fine.
When I have the authz_svn_module loaded, and try to access one of my normal (non-dav) pages that use Auth Basic authentication, they fail. I just get a blank page. When I don't load authz_svn_module, my pages load fine.
When I try to access my (url)/svn using subversion, Apache segfaults.
my doc-root is /var/www/htdocs.
Looking at the strace output, it seems like apache is looking for /var/www/htdocs/svn instead of following the Location tag and enabling the DAV handler. Here is the strace output:
I am hoping that I just forgot to do something in my httpd.conf. I don't understand why, #1, apache is still looking at /var/www/htdocs/svn, #2, it is segfaulting, or #3, why mod_authz_svn would affect auth-basic authentication in any way.
I solved the problems. The Apache Package that I used was compiled with CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64". Evidently this is something that must be done for Slackware 10, because when I compiled without it Apache's child processess segfaulted immediately. So Subversion had to be compiled with the same flags. I had to rebuild Apache anyway because it used headers from a different version of BDB than subversion did. Everything works now, and the AuthSVN module works correctly as well.