Outils pour utilisateurs

Outils du site


public:tutorial:chiliproject

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
public:tutorial:chiliproject [2011/09/17 11:03] ceric35public:tutorial:chiliproject [2023/02/13 13:39] (Version actuelle) – modification externe 127.0.0.1
Ligne 32: Ligne 32:
 <VirtualHost *:80> <VirtualHost *:80>
  
-    ServerName forge.ceric35.homelinux.org +    ServerName dev.ceric35.net 
-    CustomLog /var/log/apache2/log_vh_forge.log combined+    CustomLog /var/log/apache2/log_vh_dev.log combined
  
-    PerlLoadModule Apache::Redmine +    # maven2 
- +    Alias /maven2 /var/lib/maven/maven2 
-    DocumentRoot /opt/chiliproject/public +    <Directory "/var/lib/maven/maven2"
-    <Directory /opt/chiliproject/public> +        Order allow,deny
-        Options None +
-        AllowOverride None +
-        Order deny,allow+
         Allow from all         Allow from all
 +        Options +Indexes
 +        PassengerEnabled off
     </Directory>     </Directory>
          
 +    # svn access with chili authentification
 +    PerlLoadModule Apache::Redmine
     <Location /svn>     <Location /svn>
 +        PassengerEnabled off
         DAV svn         DAV svn
-        SVNParentPath /var/lib/svn/forge+        SVNParentPath /var/lib/svn
         DirectorySlash Off         DirectorySlash Off
- 
         AuthType Basic         AuthType Basic
-        AuthName "Forge Subversion repository" +        AuthName "Subversion repository" 
-        <LimitExcept GET PROPFIND OPTIONS REPORT> +        Require valid-user 
-            Require valid-user +        PerlAccessHandler Apache::Authn::Redmine::access_handler 
- +        PerlAuthenHandler Apache::Authn::Redmine::authen_handler 
-            PerlAccessHandler Apache::Authn::Redmine::access_handler +        RedmineDSN "DBI:SQLite:dbname=/opt/chiliproject/db/production.db" 
-            PerlAuthenHandler Apache::Authn::Redmine::authen_handler +        RedmineDbUser "redmine
- +        RedmineDbPass "password" 
-            ## for mysql +    </Location>
-            #RedmineDSN "DBI:mysql:database=databasename;host=my.db.server+
-            ## for postgres +
-            # RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server+
-            ## for SQLite3 +
-            RedmineDSN "DBI:SQLite:dbname=production.db"+
  
-            RedmineDbUser "redmine" +    # git access with chili authentification 
-            RedmineDbPass "password" +    Alias /git /var/lib/git 
-        </LimitExcept>+    <Directory "/var/lib/git"> 
 +         Order allow,deny 
 +         Allow from all 
 +         Options +Indexes 
 +         PassengerEnabled off 
 +    </Directory> 
 +    <Location /git> 
 +         Dav on 
 +         AuthType Basic 
 +         AuthName "Git repository" 
 +         Require valid-user 
 +         PerlAccessHandler Apache::Authn::Redmine::access_handler 
 +         PerlAuthenHandler Apache::Authn::Redmine::authen_handler 
 +         RedmineDSN "DBI:SQLite:dbname=/opt/chiliproject/db/production.db" 
 +         RedmineDbUser "redmine" 
 +         RedmineDbPass "password" 
 +         #RedmineGitSmartHttp yes
     </Location>     </Location>
 +
 +    # chili project
 +    DocumentRoot /opt/chiliproject/public
 +    <Directory /opt/chiliproject/public>
 +        Options +Indexes
 +        AllowOverride None
 +        Order deny,allow
 +        Allow from all
 +    </Directory>
 </VirtualHost> </VirtualHost>
 </IfDefine> </IfDefine>
Ligne 77: Ligne 98:
  
 /etc/conf.d/apache2: /etc/conf.d/apache2:
-  * verifiez les options ''-D DAV'', ''-D SVN'', ''-D SVN_AUTHZ'', ''-D PERL'' et ''-D PASSENGER''+  * vérifiez les options ''-D DAV'', ''-D SVN'', ''-D SVN_AUTHZ'', ''-D PERL'' et ''-D PASSENGER'' 
 + 
 +===== FAQ ===== 
 + 
 +**svn: COPY de '/svn/sandbox/!svn/bc/42/overlays/trunk': Could not read status line: connection was closed by server (http://dev.ceric35.net)** 
 + 
 +ajoutez APACHE_MPMS="prefork" à /etc/make.conf et recompiler apache. 
 + 
 +Source : http://www.redmine.org/boards/2/topics/7593 
  
public/tutorial/chiliproject.1316257380.txt.gz · Dernière modification : 2023/02/13 13:39 (modification externe)