fedora-infrastructure/scripts/upload.cgi
2008-07-29 00:32:58 -04:00
..
README Trivial sentence fix (now let's see if the commit email works properly :)) 2008-04-20 19:14:48 -04:00
upload.cgi Update for cvsextras => packager rename. 2008-07-29 00:32:58 -04:00

Tell us if you have a better installation or one that is proven to work.
Also please let us know if there is a better or more efficient way to do
what we're trying to do here.  Technologies change over time, keep us up
to date ;)

Alias /repo/pkgs/ /repo/pkgs/

   <Directory /repo/pkgs/>
       SSLVerifyClient optional
       SSLVerifyDepth 1
       SSLOptions +StrictRequire +StdEnvVars +OptRenegotiate
        # require that the access comes from internal or that
        # the client auth cert was created by us and signed by us
       SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
                  and %{SSL_CLIENT_S_DN_O} eq "Fedora Project" \
                  and %{SSL_CLIENT_I_DN_O} eq "Fedora Project" \
                  and %{SSL_CLIENT_I_DN_OU} eq "Upload Files" )
   </Directory>

   <Location "/repo/pkgs/upload.cgi">
       SetHandler cgi-script
        Options ExecCGI
        Order Allow,Deny
        Allow from all
        SSLRequireSSL
    </Location>