From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] remove unused directories from Apache vhost configs Date: Tue, 10 Oct 2017 12:31:07 +0100 Message-ID: <1507635067.4045.40.camel@ipfire.org> In-Reply-To: <20171009222423.3f690afd.peter.mueller@link38.eu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1812414845610442296==" List-Id: --===============1812414845610442296== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi, On Mon, 2017-10-09 at 22:24 +0200, Peter Müller wrote: > Hello Michael, > > thanks for the hint. > > > Hi, > > > > this patch doesn't apply against next? > > > > Could you please rebase it? > > Yes, sent in the patch a few seconds ago. > > (I included both deleting unused directory configs and forcing > TLS for authentications. Of course, one should always split his/her > patches, but with these small changes, it does not make sense to me.) You guessed right. And it does make sense :) > > > > On Mon, 2017-09-25 at 17:59 +0200, Peter Müller wrote: > > > Remove unused vhost configuration directives. > > > > > > They are related to "dial.cgi" and /cgi-bin/dial/, which > > > both do not exist in IPFire. > > > > > > Signed-off-by: Peter Müller > > > --- > > > diff --git a/config/httpd/vhosts.d/ipfire-interface-ssl.conf > > > b/config/httpd/vhosts.d/ipfire-interface-ssl.conf > > > index bec0d580b..eef2d45e2 100644 > > > --- a/config/httpd/vhosts.d/ipfire-interface-ssl.conf > > > +++ b/config/httpd/vhosts.d/ipfire-interface-ssl.conf > > > @@ -45,29 +45,12 @@ > > > > > > Require all granted > > > > > > - > > > - > > > - Require user admin > > > - Require ssl > > > > I think that line doesn't exist in next. > > Yes, it was from the old "[v2] force transport encryption for WebUI logins"- > patch. The best way would be to have a patchset then with all of them in it. Or just submit one after the other. Up to you. > > > > > - > > > - > > > - > > > - > > > - AllowOverride None > > > - Options None > > > - AuthName "IPFire - Restricted" > > > - AuthType Basic > > > - AuthUserFile /var/ipfire/auth/users > > > - > > > - Require user admin dial > > > - Require ssl > > > - > > > > > > > > > - SSLOptions +StdEnvVars > > > + SSLOptions +StdEnvVars > > > > Indentation has also changed here. > > I see. > > The new combined patch should work now. :-) > > Best regards, > Peter Müller > > > > > > > > > > > - SSLOptions +StdEnvVars > > > + SSLOptions +StdEnvVars > > > > And here. > > > > > > > > SetEnv HOME /home/nobody > > > SetEnvIf User-Agent ".*MSIE.*" \ > > > diff --git a/config/httpd/vhosts.d/ipfire-interface.conf > > > b/config/httpd/vhosts.d/ipfire-interface.conf > > > index a0537b392..57cf8ba17 100644 > > > --- a/config/httpd/vhosts.d/ipfire-interface.conf > > > +++ b/config/httpd/vhosts.d/ipfire-interface.conf > > > @@ -25,13 +25,6 @@ > > > RewriteCond %{HTTPS} off > > > RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L] > > > > > > - > > > - AllowOverride None > > > - Options SymLinksIfOwnerMatch > > > - RewriteEngine on > > > - RewriteCond %{HTTPS} off > > > - RewriteRule (.*) https://%{SERVER_NAME}:444/$1 [R=301,L] > > > - > > > Alias /updatecache/ /var/updatecache/ > > > > > > Options ExecCGI > > > > -Michael > > -Michael --===============1812414845610442296== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ2dBZEZpRUU1L3JXNWwzR0dl Mnlwa3R4Z0hudy8yK1FDUWNGQWxuY3Izd0FDZ2tRZ0hudy8yK1EKQ1FlYldSQUFnak94Y0lEMERF Y3V6WkJhSmRjRmtSMG9zaWVBTk9LZnpVdXR2Y3VCa1JUODRMTzczN0k3dTlETAp4WUdvL1pnTzkv R3ViMDRYWjBIV2tBSHJIS29WeENvQUNUb0lGK2FKQTFQOVpjSlZZRlBORkVGWFNxT3FycGtnCmMw VFlldVVtOC9FTUcvZ1NsMFc1ZWdnYWk2eXJWMUgwTWV5QlFtQlhnalBZWWFDSk51elFtb1cxY295 YkVhTW0KUUNrSjRldmdSNDUxUG5ST1IxeVB4QnJCdXE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