subversion
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| subversion [2009/03/30 03:22] – k2patel | subversion [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 50: | Line 50: | ||
| [community:/ | [community:/ | ||
| - | harry = rw | + | user1 = rw |
| - | sally = r | + | user2 = r |
| </ | </ | ||
| - | Modules | + | |
| - | ^^^^^^^ | + | |
| <code apache | Httpd.conf> | <code apache | Httpd.conf> | ||
| Line 65: | Line 64: | ||
| < | < | ||
| - | ServerName svn.newyorkdailypost.net | + | ServerName svn.k2patel.net |
| - | DocumentRoot / | + | DocumentRoot / |
| - | CustomLog / | + | CustomLog / |
| - | CustomLog / | + | CustomLog / |
| - | ServerAdmin webmaster@backend.newyorkdailypost.net | + | ServerAdmin webmaster@backend.k2patel.net |
| - | / | + | / |
| < | < | ||
| DAV svn | DAV svn | ||
| - | SVNPath / | + | SVNPath / |
| - | AuthzSVNAccessFile / | + | AuthzSVNAccessFile / |
| AuthType Basic | AuthType Basic | ||
| AuthName " | AuthName " | ||
| - | AuthUserFile / | + | AuthUserFile / |
| Require valid-user | Require valid-user | ||
| </ | </ | ||
| Line 85: | Line 84: | ||
| Trac Install | Trac Install | ||
| - | ^^^^^^^^^^^^ | ||
| - | ************ | ||
| - | |||
| Initialize trac using command | Initialize trac using command | ||
| - | trac-admin / | ||
| - | Module | + | <code bash> |
| - | ^^^^^^ | + | trac-admin / |
| + | </ | ||
| + | |||
| + | <code apache | httpd.conf> | ||
| LoadModule python_module / | LoadModule python_module / | ||
| AddHandler mod_python .py | AddHandler mod_python .py | ||
| - | Httpd.conf | + | < |
| - | ^^^^^^^^^^ | + | DocumentRoot |
| - | < | + | ServerName |
| - | DocumentRoot /www/virtual/ | + | |
| - | ServerName | + | |
| < | < | ||
| SetHandler mod_python | SetHandler mod_python | ||
| Line 108: | Line 104: | ||
| PythonDebug On | PythonDebug On | ||
| PythonHandler trac.web.modpython_frontend | PythonHandler trac.web.modpython_frontend | ||
| - | PythonOption TracEnv /www/virtual/swingerswgm/trac.newyorkdailypost.net | + | PythonOption TracEnv /srv/www/svn/pqr.k2patel.com |
| - | PythonOption TracUriRoot / | + | PythonOption TracUriRoot / |
| - | </ | + | </ |
| - | < | + | < |
| - | AuthType Basic | + | AuthType Basic |
| - | AuthName " | + | AuthName " |
| - | AuthUserFile /www/virtual/ | + | AuthUserFile |
| Require valid-user | Require valid-user | ||
| </ | </ | ||
| </ | </ | ||
| + | </ | ||
| + | <code text> | ||
| Stand Alone Server (svn://) | Stand Alone Server (svn://) | ||
| - | ^^^^^^^^^^^^^^^^^^ | ||
| - | ******************* | ||
| - | |||
| / | / | ||
| ------------ | ------------ | ||
| svnserve_enable=" | svnserve_enable=" | ||
| - | svnserve_flags=" | + | svnserve_flags=" |
| - | svnserve_data="/ | + | svnserve_data="/ |
| - | svnserve_user=" | + | svnserve_user=" |
| - | svnserve_user=" | + | |
| < | < | ||
| Line 141: | Line 135: | ||
| ---------------------- | ---------------------- | ||
| edit password file and add username = password. | edit password file and add username = password. | ||
| + | </ | ||
| - | + | <code text | SVN Access with SSH wrapper> | |
| - | + | ||
| - | SVN Access with SSH wrapper | + | |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | + | |
| - | *************************** | + | |
| URI - svn+ssh:// | URI - svn+ssh:// | ||
| - | e.g. svn co svn+ssh://yepmobi@yepmobile.webair.com/usr/www/ | + | e.g. svn co svn+ssh://username@xyz.k2patel.com/srv/www/svn |
| + | </ | ||
| Wrapper script for svnserve | Wrapper script for svnserve | ||
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | + | <code text> |
| - | *************************** | + | |
| First of all, rename the original svnserve command into svnserve.bin | First of all, rename the original svnserve command into svnserve.bin | ||
| (it usually resides in / | (it usually resides in / | ||
| Line 165: | Line 153: | ||
| Save the file as " | Save the file as " | ||
| + | </ | ||
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | + | <code bash | svnserve> |
| #!/bin/sh | #!/bin/sh | ||
| # wrap in order to put root in by default | # wrap in order to put root in by default | ||
| Line 172: | Line 161: | ||
| exec / | exec / | ||
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | + | </ |
subversion.1238383371.txt.gz · Last modified: 2020/08/10 02:29 (external edit)
