[copr] master: maintain apache configuration on one place only (601dfc9)

msuchy at fedoraproject.org msuchy at fedoraproject.org
Fri Jun 21 08:28:52 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit 601dfc973cb2330c13863be6644d00004aa8aef8
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Fri Jun 21 10:26:56 2013 +0200

    maintain apache configuration on one place only
    
    the ultimate source will coprs_frontend/coprs.conf.example now
    rpm package put it in /usr/share/doc/copr-frontend-*/coprs.conf.example


>---------------------------------------------------------------

 copr-setup.txt |   21 ++-------------------
 1 files changed, 2 insertions(+), 19 deletions(-)

diff --git a/copr-setup.txt b/copr-setup.txt
index 9047dae..a3a2275 100644
--- a/copr-setup.txt
+++ b/copr-setup.txt
@@ -62,25 +62,8 @@ Required pkgs:
   - gcc
 
 - apache setup
-   coprs.conf:
-
-<VirtualHost *:80>
-    ServerName yourservername.here
-
-    WSGIDaemonProcess yourservername.hereuser=copr-fe group=copr-fe threads=5
-    WSGIScriptAlias / /path/to/coprs_git_tree/coprs_frontend/application
-    WSGIProcessGroup yourservername.here
-    WSGIPassAuthorization On
-
-    ErrorLog logs/error_coprs
-    CustomLog logs/access_coprs common
-
-    <Directory /var/www/coprs_frontend>
-        WSGIApplicationGroup %{GLOBAL}
-        Order deny,allow
-        Allow from all
-    </Directory>
-</VirtualHost>
+  cp /usr/share/doc/copr-frontend-*/coprs.conf.example /etc/httpd/conf.d/coprs.conf
+  and edit it to your needs - at least ServerName, port and WSGIScriptAlias
 
 - virtenv of flask and friends
   - virtualenv --distribute virtenv  



More information about the copr-devel mailing list