LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-30-2009, 09:36 PM   #1
Stuart P. Bentley
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Rep: Reputation: 0
SVN and WebDAV on default Apache installation on Slackware 12.1


How do you set up a Subversion repository with the default Apache installation included with a full installation of Slackware 12.1?

What does httpd do to attempt to find its fully-qualified domain name at startup?

EDIT: What's the reasoning behind the /srv root directory versus /usr?

Last edited by Stuart P. Bentley; 05-30-2009 at 09:44 PM.
 
Old 05-30-2009, 11:14 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,417

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
Quote:
Originally Posted by Stuart P. Bentley View Post
How do you set up a Subversion repository with the default Apache installation included with a full installation of Slackware 12.1?

What does httpd do to attempt to find its fully-qualified domain name at startup?

EDIT: What's the reasoning behind the /srv root directory versus /usr?
This sounds very much like homework.....

The answers to your first two questions are easily found on Google. The third you'll have to ask the authors of your distros Apache package...some distros use /srv, some don't, and it's easily changed.
 
Old 05-30-2009, 11:35 PM   #3
Stuart P. Bentley
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
This sounds very much like homework.....

The answers to your first two questions are easily found on Google. The third you'll have to ask the authors of your distros Apache package...some distros use /srv, some don't, and it's easily changed.
Is there any reason that you feel LinuxQuestions.com should not concern itself with answering questions?

On topic:

Why is mod_ssl commented out in http.conf?
Why is this directory not working with Digest authentication? Tried it with Chrome, IE8, and Firefox and got and endless repeating auth window on all 3.
Code:
<Location /repo>
    DAV svn
    SVNPath /srv/repo

    AuthType Digest
    AuthName "Lucifer"
    AuthDigestDomain /repo
    AuthUserFile /srv/auth/svn-auth-digest

    Require valid-user

    #WebDAV accessibility settings
    SVNAutoversioning on
    ModMimeUsePathInfo on
</Location>
Basic works fine (with the file replaced with srv/auth/svn-auth-basic-file).

Last edited by Stuart P. Bentley; 05-31-2009 at 07:37 AM.
 
Old 06-01-2009, 08:44 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,417

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
Quote:
Originally Posted by Stuart P. Bentley View Post
Is there any reason that you feel LinuxQuestions.com should not concern itself with answering questions?
We're glad to answer questions, but we're not going to do your homework for you. Might also be worth noting that when the answers are VERY easily found through a quick Google search, why should we look things up for you?

Quote:
On topic:

Why is mod_ssl commented out in http.conf?
Probably because mod_sll isn't installed, wasn't installed correctly, or was installed 'manually' (i.e., compiled from source), and the line wasn't uncommented to allow its use.

Quote:
Why is this directory not working with Digest authentication? Tried it with Chrome, IE8, and Firefox and got and endless repeating auth window on all 3.
Code:
<Location /repo>
    DAV svn
    SVNPath /srv/repo

    AuthType Digest
    AuthName "Lucifer"
    AuthDigestDomain /repo
    AuthUserFile /srv/auth/svn-auth-digest

    Require valid-user

    #WebDAV accessibility settings
    SVNAutoversioning on
    ModMimeUsePathInfo on
</Location>
Basic works fine (with the file replaced with srv/auth/svn-auth-basic-file).
Check out the Apache documentation here http://httpd.apache.org/docs/1.3/howto/auth.html#digest, specifically the section regarding digest authentication. From what you posted, it seems you don't have an AuthDigestFile. The page for mod_auth_digest for Apache is here, http://httpd.apache.org/docs/1.3/mod...th_digest.html and references that file as well.
 
Old 06-01-2009, 10:10 AM   #5
Stuart P. Bentley
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Check out the Apache documentation here http://httpd.apache.org/docs/1.3/howto/auth.html#digest, specifically the section regarding digest authentication. From what you posted, it seems you don't have an AuthDigestFile. The page for mod_auth_digest for Apache is here, http://httpd.apache.org/docs/1.3/mod...th_digest.html and references that file as well.
I think they changed the way Digest authentication works in 2.0- the same page in 2.X documentation shows the same excerpt using AuthUserFile, and using AuthDigestFile will cause an error saying that the phrase is unrecognized...

Last edited by Stuart P. Bentley; 06-01-2009 at 03:55 PM.
 
Old 06-03-2009, 12:34 AM   #6
Stuart P. Bentley
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Why is this working:
Code:
<Location /repo>
    DAV svn
    SVNPath /srv/repo

    AuthType Basic
    AuthName "NONE SHALL PASS"
    AuthDigestDomain /repo
    AuthUserFile /srv/auth/svn-auth-basic-file
    #AuthUserFile /srv/auth/svn-auth-digest

    Require valid-user
    #Allow users of a certain authentication level read-only access
    AuthzSVNAccessFile /srv/auth/svn-access-file

    #WebDAV accessibility settings
    SVNAutoversioning on
    ModMimeUsePathInfo on
</Location>
but this isn't?
Code:
<Location /repo>
    DAV svn
    SVNPath /srv/repo

    AuthType Digest
    AuthName "NONE SHALL PASS"
    AuthDigestDomain /repo
    #AuthUserFile /srv/auth/svn-auth-basic-file
    AuthUserFile /srv/auth/svn-auth-digest

    Require valid-user
    #Allow users of a certain authentication level read-only access
    AuthzSVNAccessFile /srv/auth/svn-access-file

    #WebDAV accessibility settings
    SVNAutoversioning on
    ModMimeUsePathInfo on
</Location>
Could my digest file be bad? Is there a rule for what to put in for realm? Also, the server is operating with 127.0.0.1 for ServerName.

Last edited by Stuart P. Bentley; 06-03-2009 at 01:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help regarding SVN WebDAV? your_shadow03 Linux - Server 0 05-19-2009 05:44 AM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 05:31 AM
apache with webdav on slackware 11 - acrobat cannot use it? lievendp Linux - General 0 12-13-2006 05:09 AM
default installation of apache 2 does not have a cgi-bin abtimoteo Ubuntu 2 06-08-2005 12:31 AM
upgrading PHP on a RH9 server with default apache installation praefex Linux - General 4 06-29-2004 09:48 AM


All times are GMT -5. The time now is 11:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration