This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / Re: Installation subversion on centos web panel
« on: December 10, 2020, 08:31:37 PM »
I had to remove two more rules to be able to commit successfully:
Code: [Select]
<IfModule mod_security2.c>
SecRuleEngine On
SecRuleRemoveById 960010
SecRuleRemoveById 960012
SecRuleRemoveById 960032
</IfModule>
2
Apache / Re: Installation subversion on centos web panel
« on: December 10, 2020, 02:35:00 PM »
The original post did not say to add the Subversion modules to http.conf:
Initially, even though I could browse the repository in a browser, I could not check anything out:
This was from a modsec rule about 'REQUEST' headers. I disabled the rule in the modsec.conf for the subdomain with the Subversion repository:
Lastly, and also firstly, I built Subversion from the source downloaded from an Apache Subversion mirror through https://subversion.apache.org/download.cgi.
The configure command that I used let 'make install' install the modules in /usr/local/apache/modules:
IIRC, I had to install the apr-util-devel and/or apr-devel packages to be able to run configure without fatal errors.
The Subversion installation instructions, including info about required libraries, is at https://svn.apache.org/repos/asf/subversion/trunk/INSTALL
Code: [Select]
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
Initially, even though I could browse the repository in a browser, I could not check anything out:
Code: [Select]
vn: E175013: Access to '/example/!svn/rvr/167/subdir' forbidden
This was from a modsec rule about 'REQUEST' headers. I disabled the rule in the modsec.conf for the subdomain with the Subversion repository:
Code: [Select]
IfModule mod_security2.c>
SecRuleEngine On
SecRuleRemoveById 960032
</IfModule>
Lastly, and also firstly, I built Subversion from the source downloaded from an Apache Subversion mirror through https://subversion.apache.org/download.cgi.
The configure command that I used let 'make install' install the modules in /usr/local/apache/modules:
Code: [Select]
./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/bin/apr-1-config --with-apr-util=/usr/bin/apu-1-config --with-lz4=internal --with-utf8proc=internal --with-apache-libexecdir
IIRC, I had to install the apr-util-devel and/or apr-devel packages to be able to run configure without fatal errors.
The Subversion installation instructions, including info about required libraries, is at https://svn.apache.org/repos/asf/subversion/trunk/INSTALL
Pages: [1]