gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
Hi

Just upgraded php at one of our boxes that has subversion installed and working, but after php build, apache show this error:
Unknown DAV provider: svn

mod_dav_svn is present and working, we double checked everything including reinstall subversion, module is loaded in httpd.conf
LoadModule dav_svn_module modules/mod_dav_svn.so

We have a custom.conf to handle svn directives, at
/etc/httpd/conf/userdata/std/2/svnegyt/svn.domain.com

with the follow:
Code:
<Location /repo>
     DAV svn
     SVNPath /home/domain/svn/repo
     AuthType Basic
     AuthName "Repo Repository"
     AuthUserFile /home/domain/svn/passwd
     Require valid-user
</Location>
Then we ran
Code:
/scripts/ensure_vhost_includes --user=domain
and later when running
Code:
/scripts/rebuildhttpdconf
the error appears again:

Code:
Configuration problem detected on line 2 of file /usr/local/apache/conf/userdata/std/2/domain/svn.domain.com/custom.conf:      Unknown DAV provider: svn

        --- /usr/local/apache/conf/userdata/std/2/domain/svn.domain.com/custom.conf ---
        1<Location /repo>
        2 ===>       DAV svn <===
        3      AuthType Basic
If we only use /scripts/ensure_vhost_includes --user=domain and restart apache, subversion works perfectly, but wonder why the "DAV svn" is not recognize as valid?
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
Update ----

As no one here replied I created a bug report at bugzilla and here is the answer.
We currently do not support 'mod_dav_svn', which makes your configuration
custom as it wasn't compiled via easyapache. Subversion is definitely a custom
option not offered by us at this time.

You can try opening a support ticket to see if the technicians are able to
assist you. Based on your report it seems as it is merely a warning message
rather than an issue. Nonetheless we are unable to assure you that is the case
and is best to have the matter look into.
Which confirms me cpanel staff never "read/comprehend" what you write in the posts.

I clearly said, svn is working, so, I don't need to open a support ticket

We built apache/php via easyapache, you clearly see that as easyapache reported the "problem" ... if easyapache doesn't recognize a valid module and loaded in httpd.conf ... this means that you cannot add any custom module???? (hope not....)

I opened the bug report just to notify cpanel that if there is a custom build that includes a VALID module, rebuildhttpdconf shows a warning and removes DAV svn support on build.....

Hope this info helps any server admin that ever have this problem and know how to proceed.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
As no one here replied I created a bug report at bugzilla and here is the answer.


Which confirms me cpanel staff never "read/comprehend" what you write in the posts.

I clearly said, svn is working, so, I don't need to open a support ticket

We built apache/php via easyapache, you clearly see that as easyapache reported the "problem" ... if easyapache doesn't recognize a valid module and loaded in httpd.conf ... this means that you cannot add any custom module???? (hope not....)

I opened the bug report just to notify cpanel that if there is a custom build that includes a VALID module, rebuildhttpdconf shows a warning and removes DAV svn support on build.....

Hope this info helps any server admin that ever have this problem and know how to proceed.
What is the bugzilla ID number?

What was stated is true: mod_dav_svn is not natively supported at this time. As it is not an option natively built into EasyApache, it is considered a custom module.

Custom modules should not be added via httpd.conf directly. They should be added via the EasyApache Custom Option Module framework. You can learn how to do this by reviewing the slides from our 2008 cPanel Conference presentation on this subject at: http://www.cpanel.net/conference/08/files/EA3Build.pdf

If you do not want to permit our staff to look at resolving the issue that caused you to open a bug report in the first place - that is your choice. However, denying our staff the ability to properly diagnose this issue will mean that the issue may go unresolved.
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
Thanks for your reply CpanelDavidG
The bug ID is 7081

I opened a ticket via the new feature after the easyapache build, but what cpanel staff did was remove the DAV svn from the custom conf of the user, I imagine not cpanel staff directly, but rebuildhttpdconf script. I had no other feedback neither received any message.

I'll be glad to cooperate and resolve this issue, that's why I posted here in first time, and then posted the bug at bugzilla. I understand svn is not native, but also imagine some users wants subversion intalled, but also imagine some users are asking for it. If you want to look at my conf and the process followed to install svn I'll be glad to share that info with you in order to improve cpanel.

Thanks again for your time and interest
Gustavo
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
As you did not create it as an EasyApache Custom Option Module, EasyApache would likely have obliterated such customizations when it was run.

However, our technical analysts will be able to assist you with making this into a custom option module so EasyApache will use it rather than eliminate it when it is run. Just submit a support ticket and they can assist you with the process.

http://tickets.cpanel.net/submit
 

gflamerich

Well-Known Member
Jul 21, 2003
122
0
166
Thank you David
I was reading the info you sent for the new EA3 custom modules .... looks nice :)

Thank you again for you time and support
I'll be opening the ticket for support on this issue
Gustavo