Difference Between SSLCACertificateFile and SSLCertificateChainFile

SSLCertificateChainFile was a correct option to choose but this directive became obsolete as of Apache 2.4.8. This directive caused the listed file to be sent along with the certificate to any clients that connect. SSLCACertificateFile (hereafter “CACert”) supersedes SSLCertificateChainFile (hereafter “Chain”), and additionally permits the use of the cert in question to sign client certificates. … Read more

htaccess exclude one url from Basic Auth

Using SetEnvIf, you can create a variable when the request starts with some path, then use the Satisfy Any directive to avoid having to login. # set an environtment variable “noauth” if the request starts with “/callbacks/” SetEnvIf Request_URI ^/callbacks/ noauth=1 # the auth block AuthName “Please login.” AuthGroupFile /dev/null AuthType Basic AuthUserFile /xxx/.htpasswd # … Read more

Apache Server (xampp) doesn’t run on Windows 10 (Port 80)

I had the same problem on windows 10, IIS/10.0 was using port 80 To solve that: find service “W3SVC” disable it, or set it to “manual” French name is: “Service de publication World Wide Web“ English name is: “World Wide Web Publishing Service“ german name is: “WWW-Publishingdienst” – thanks @fiffy Polish name is: “Usługa publikowania … Read more

.htaccess rewrite subdomain to directory

Try putting this in your .htaccess file: RewriteEngine on RewriteCond %{HTTP_HOST} ^sub.domain.example RewriteRule ^(.*)$ /subdomains/sub/$1 [L,NC,QSA] For a more general rule (that works with any subdomain, not just sub) replace the last two lines with this: RewriteEngine on RewriteCond %{HTTP_HOST} ^(.*)\.domain\.example RewriteRule ^(.*)$ subdomains/%1/$1 [L,NC,QSA]

Httpd returning 503 Service Unavailable with mod_proxy for Tomcat 8

(Answered by the OP in a question edit. Converted to a community wiki answer. See Question with no answers, but issue solved in the comments (or extended in chat) ) The OP wrote: The answer is here: http://sysadminsjourney.com/content/2010/02/01/apache-modproxy-error-13permission-denied-error-rhel/ Which is a link to a blog that explains: SELinux on RHEL/CentOS by default ships so that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)