mod-dav-svn

What are the MIME types for .NET project source code files?

Are there official MIME types for the .cs (C# source), .resx, .aspx, etc. files in a .NET project? If no official types are defined, any recommendations on good MIME types? This will be exposed via Apache and the mod_dav_svn module when viewing a Subversion repository from a web browser, so anything that'll help Firefox et al render th...

Apache Access Control

I'm trying to configure Apache to allow read only access and ask for user to write to a SVN repository when you are coming from the local network (10.*) but not allow any access unless logged in when coming from external network. I sort of understand how the Order, Deny, Allow, and Limit directives work but I do not know if it is possib...

How do I list all repositories with the SVNParentPath directive on Apache+SVN?

I'm using SVN through Apache with dav_svn_module like this: <Location /svn> DAV svn SVNParentPath C:/svn_repository AuthName "Subversion Repository" ... </Location> This lets me access my repos: C:/svn_repository/repo1 C:/svn_repository/repo2 C:/svn_repository/repo3 via these URLs: https://examples.com/svn/repo1 https://ex...

Weird Apache2.2 SVN error, "Expected repository format '3' or '5'; found format '9'"

I've had a repo that I would access, using TortoiseSVN, from only the same computer on which the Subversion win32 service was running, and it's been working for a while now. I decided to try to set up mod_dav_svn to be able to get at it from elsewhere. When I try to access it, I get this error in the browser: <D:error> <C:error/> <m:h...

mod_dav_svn loading error on centos 5

I am trying to install subversion on a centos VPS. I managed to install subversion and mod_dav_svn and now I am trying to configure them. I edited httpd.conf and added the lines: LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so But this crashes apache on restart: httpd: Syntax ...

LocationMatch and DAV svn

Hi, I am trying to make our subversion repository accessible via multiple URLs. To do so, I was thinking to use the LocationMatch directive. My configuration is: <Location ~ "/(svn|repository)"> DAV svn SVNPath /opt/svn AuthzSVNAccessFile /etc/subversion/access </Location> The above configuration does NOT work ... Strange thing...

How to specify the repository in apache dav svn?

I have the following setup: <VirtualHost *:80> ServerName svn.project1.com <Location /> DAV svn SVNPath /svn </Location> </VirtualHost> <VirtualHost *:80> ServerName svn.project2.com <Location /> DAV svn SVNPath /svn </Location> </VirtualHost> When I navigate to either http://svn...

How to programmaticaly build an APR1-MD5 using PHP

Much like this question I want to generate an htpasswd file entry from PHP. However it needs to be the APR1 (Apache) style, as mentioned in the original answer (The answer did not show how to implement the APR1 style), to work with mod_dav_svn. I can't seem to find a working implementation that will create the password. I found this (I...

Is it possible to override the Subversion HTML pages?

I have a subversion server, providing subversion access via Apache2 and mod_dav_svn The system works fine and clients can access the repositories with SVN client such as TortoiseSVN etc. Users can also access HTML renderings of the same URLs. Can these renderings be over-ridden, or replaced? If so, how would i go about it? ...

how to configure Apache + SVN webDAV directory listing

I have an subversion server running with Apache mod_dav_svn and it works nicely but the browsing ability via HTML is a bit spartan. Is there a way to customize it at all? There's two things I'd like to do to make a huge difference: separate the directories from the files so all the directories are at the top. Right now everything is...

Subversion Access Control using Mysql and Apache (mod-dav-svn, mod-auth-sql, apache, mysql)

Hi, I am trying to configure a site on my Apache server to use mod_dav_svn with mysql authentication. I am using a database with three tables like this auth_users ---------- uid username passwd 1 UserA pass 2 UserB pass . auth_groups ----------- gid group 1 repo_rw 2 repo_ro . users_groups ui...

Apache with mod_dav_svn starts to consume a lot of memory

Sometimes Apache with mod_dav_svn starts to consume a lot of memory. Today Apache(httpd.exe) consumed about 600M. And there was a lot of java.lang.OutOfMemoryError in Hudson when it tried to update working copies for some jobs. What can I do in order to fix this problem? ...

How to display language syntax coloring with the DAV SVN module?

When viewing a plain text code file (i.e. ".py", ".c", ".cpp", ".m", ".as", ".js", etc.) is it possible to have the DAV SVN module render language-specific syntax coloring? That would be amazing. Currently it's all just black plain text, but it'd great to get this working so it's easier to read code in the browser, for those folks here...

How to get HTML files to find their dependencies' file paths using WebSVN?

I set up DAV SVN recently with svn:mime-type set to "text/html" on my HTML files, which allows me to see the HTML file rendered normally in the browser, instead of plain text. However, I switched to WebSVN so I could get syntax-highlighting on my code files, and now the HTML files are not able to locate their dependencies - js, css, etc...