SVN server integrated with LDAP
Softwares
Apache_2.0.59
Svn-win32-1.4.0
Directory SDK for C 5.08
Mm_mod_auth_ldap
* Warning *:
Mod_dav_svn binaries available are not compatible with Apache 2.2
Apache own module mod_auth_ldap dose not work well under Windows system and always lead the server to crash, so we use a third party module: mm_mod_auth_ldap
Installation
Install Apache
{Code}
# Tar xvzf httpd-2.0.59.tar.gz
# Cd httpd-2.0.59/
#./Configure -- enable-Dav
Configure the test server today, so it is not easy to configure SVN. During access, the options of http: // URL 200 OK error occurs.
Tell everyone how to solve the problem:
I wrote the following error in my configuration file:
Dav SVNSvnlistparentpath onSvnparentpath/SVNAuthtype basicAuthname "chinaemba test repos"Authmysqlenable onAuthmysqluser authuserAuthmysqlpassword "emba201003china"Authmysqldb authAuthmysqlusertable userAuthmysqlnamefield user_n
I. install and configure subversion in Linux 1. install and configure Subversion Install SubversionThe system is divided:Subversion, from http://subversion.tigris.org/download, is the software that implements the service system. 1) configuration required for installing the Apache server./Options to be added for configure-Prefix =/usr/local/Apache-Mandir =/usr/share/man-Enable-Dav-enable-so-Enable-Dav-F
placed under E: \ project \ SVN and configured in a centralized manner. The HTTP. conf file is as follows.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 2 Dav SVN 3 Svnparentpath E:/project/SVN 4 Authtype basic 5 Authname " Subversion Repository " 6 Authuserfile " E:/project/Project. passwd " 7 Require valid-user 8 Svnpathauthz off 9
The user name and password are r
I 've switched my work environment from windows to Linux over the past few days. Because of the Java language development, it's quite easy to port the project, but I'm not going to use cvs for version control, I decided to change the svn with more powerful functions, so I learned how to install subversion in Linux. The following is a summary:
Compile and install related software(We use the source code for compilation and installation)
A. httpd
: Http://httpd.apache.org
Download httpd-* .tar.g
first; try updating17.SVN: Dav request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent SVN: at least one Property Change failed; repository is unchanged SVN: Error setting property 'log': repository has not been enabled to accept revision propchanges; Ask the Administrator to create a pre-revprop-change hookModification submission instructions and other operations are high-risk operations, because
packages and install the required packages according to the actual situation, if the installation process is successful, you are lucky!2.2 installation and configuration steps: 1. Install the apr-1.2.12
# Tar-zvxf apr-1.5.0.tar.gz # cd apr-1.5.0.tar.gz #./configure -- prefix =/Server/APR # Install to/Server/APR # Make make install by default when the path is not specified
2. Install apr-util-1.2.12
# tar –zvxf apr-util-1.2.12.tar.gz# cd apr-util-1.2.12# ./configure - -with-apr=/server/apr --pr
Subversion for Linux installation (SVN + Apache + linux)
Keywords: SVN Apache Linux Subversion
1. Install APR-1.2.7 and APR-util-1.2.7
: Http://apr.apache.org/
Tar zxvf apr-1.2.7.tar.gz
./Configure
Make
Make install
Tar zxvf apr-util-1.2.7.tar.gz
./Configure -- With-Apr =/usr/local/APR/
Make
Make install
2. Compile and install Apache.
Tar zxvf httpd-2.2.3.tar.gzCD httpd-2.2.3. /Configure -- prefix =/opt/Apache -- enable-Dav -- enable-so -- enable-mai
createSVNFile Repository:
# Sudo svnadmin create/home/SVN4.4 configure the Apache server
Back up the configuration file of apache2 and execute the following command:
#/Usr/local/SVN # sudo CP-r/etc/apache2/etc/apache2_bak
PassWebDAVProtocol accessSVNFile warehouse, you must configure yourApache2webServer. You must add the following code snippet to your/Etc/apache2/mod-available/dav_svn.conf: (add it to the end of the file)
DAV svn
SVNPath /home/svn
7. Create a repository "test"/Usr/local/subverison/bin/svnadmin create/home/svnroot/Repository/test
8. Check if there are more files. If yes, it indicates that the Subversion is successfully installed.CD/home/svnroot/Repository/testLs-l
9. Only the svnroot user can access this directory.
Chmod 700/home/svnroot/Repository
10. Su root as root
11. Change Apache configuration
(1) Change the users and groups started by Apache. Otherwise, Apache does not have the permission to read/home/svnroot/
I want to directly access the content in the version library and automatically execute php and directly access images like accessing directories. The svn module has been loaded in apache and the svn http access is opened through {code. However, in localhostsvn, php will be directly opened... I want to directly access the content in the version library and automatically execute php and directly access images like accessing directories.
The svn module has been loaded in apache and passed
, use is not very convenient.===================phped===================Nusphere, a long-time developer of PHP, launched the phped, the latest version is 3.12.Phped's comprehensive performance is the best, the start-up speed is very fast, provide the most functions. Syntax highlighting, function completion, project management, code templates, automatic code completion, Visual database management, built-in Dav,cvs,ftp,webserver,debugger, and JS code li
that is too useful.
Of course, one way is to keep the session on the Load Balancer layer, bind the visitor to a server, and all of his accesses will not need to be synchronized with the session on that server.
Session_Start ();
if (Isset ($_session[' test_sess ')) {
$_session[' test_sess ']++;
}else{
$_session[' test_sess '] = 0;
}
echo$_session[' test_sess '];
?>;
The first time the server is requested:
get/test.php http/1.1
accept:*/*
referer:http://localhost/
Accept-language:zh-cn
Accep
FoundDate: Sun, 02 Mar 2014 05:31:43 GMTServer: Apache/2.2.26 (Unix) DAV/2 PHP/5.4.20 mod_ssl/2.2.26 OpenSSL/0.9.8yTransfer-Encoding: chunkedContent-Type: application/json; charset=UTF-8{ "name": "Not Found Exception", "message": "The requested resource was not found.", "code": 0, "status": 404}
You can customize the error response format by responding to the beforeSend event of the response component in the application configuration.
return [ /
dense {} number ~
The debug features provided include Breakpoints,stack,watches,variables,output buffer, and all of the tracking methods that are available.
The main shortcomings are: 1, slow ~~2, use is not very convenient.
phped
Nusphere, a long-time developer of PHP, launched the phped, the latest version is 3.12.
Phped's comprehensive performance is the best, the start-up speed is very fast, provide the most functions. Syntax highlighting, function completion, project management, code templ
I want to directly access the content in the repository and, like a directory, can automate PHP, direct access to pictures, and so on.
The SVN module has been loaded in Apache and
DAV svn svnpath "/USERS/MIKE/OPT/SVN"
An HTTP access to SVN is turned on. But in http://localhost/svn PHP will be opened directly (can see the content) and the picture is not open (a blank)
Reply content:
I want to directly access the content in the re
) show all options: update p c makefile to version 5. Conflict Summary: Body conflict: 1
15. SVN: commit failed (details follow): SVN: file 'makefile' is out of date SVN: file not found: Transaction '6-d ', path '/trunk/src/makefile'The submitted file has been deleted by another user.Execute the update operation ("SVN up") first, and then follow the prompts to solve the tree conflict: delete the file or continue to add...
SVN: submission failed (details): SVN: the file "makefile" is outdated SVN
administrator manages these source programs in a unified manner. Before using the source code library, each user must first download the project file from the source code library to the local device. Then, the developer can modify the file locally, and then use the svn command to submit the file, unified management and modification of the game source code library.Version Control solves the following problems:* Chaotic code management* Solve code conflicts* A bug occurs during code integration.*
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.