Skip to main content
3 votes

Does anyone know what this Apache HTTPD rule is?

A more useful reference would be alongside the one you quoted, at https://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule RewriteRule ^(.*)/$ $1 [R=permanant] There's an error in this ...
Chris Davies's user avatar
2 votes
Accepted

Why is my web server serving HTTPS content on port 80?

Run this and inspect the output: for f in $(grep -l -e SSLDirective -e :80 /etc/httpd/conf.d/*.conf) do printf '\n== %s ==\n' "$f" grep -hE 'SSLCertificate|SSLDirective|VirtualHost|...
Chris Davies's user avatar
1 vote

Reverse proxy with forward target

ProxyPass is the wrong option to create a redirect. You do not want to proxy someone who visits / to the backend, but you want to redirect them to another path on the proxy. For that, you could use a ...
Panki's user avatar
  • 6,764
1 vote

Why is the group permissions rwx for folder but read for newly created files within it?

SETGID bit -- set-group-ID bit -- as the name says keeps the group id, not permissions. Change the apache umask to have proper permissions.
Adam's user avatar
  • 111
1 vote

Webserver to forward and decrypts HTTPS to HTTP

There’s a whole bunch of tools dedicated to this. What you are describing is a HTTP gateway otherwise known as a reverse proxy. Firstly, if all you want is to offload TLS decryption, then it doesn’t ...
Philip Couling's user avatar
1 vote

Webserver to forward and decrypts HTTPS to HTTP

What you are asking for is for the https webserver to act as a proxy to the back-end system. In the apache config, you will need is something similar to this in the proxy server's configuration: ...
doneal24's user avatar
  • 5,239
1 vote

Does anyone know what this Apache HTTPD rule is?

In addition to Chris's answer, a full explanation of the following regular expression ^(.*)/$ $1: ^ is identified as the beginning of the string. () used to create a capture group (.*) This means ...
Ahmad Abuhasna's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible