Re: [users@httpd] Apache Restarts and Session Errors (session_dbd:error, session:error)

2022-01-13 Thread Calvin DeBoer
Any thoughts on how to debug this database problem ? Does apache2 maintain its own database for sessions etc, and does it have some instrumentation or logs I could examine ? On Wed, Jan 12, 2022 at 10:45 PM Curtis Maurand wrote: > > > > On Jan 12, 2022, at 6:59 AM, Calvin DeBoer > wrote: > >

[users@httpd] Re: How to configure and use mod_markdown

2022-01-13 Thread Bo Berglund
On Thu, 13 Jan 2022 15:00:12 -0500, Eric Covener wrote: >> But if I put the md file on my webserver (without having thios server side >> parsing) then I expected the add-on to again render the file into a html and >> display it. But that does not happen at all, FireFox just opens a dialog to >>

Re: [users@httpd] Is it possible to install/configure SSL certificates on a server behind a reverse proxy?

2022-01-13 Thread Jim Albert
With regard to: reverse proxy --> HTTP --> back-end server and in respect to the sensitivity of your requests and responses, you might want to consider any security implications or if this violates any compliance requirements depending on the proximity of your proxy to your back-end server.

Re: [users@httpd] Is it possible to install/configure SSL certificates on a server behind a reverse proxy?

2022-01-13 Thread Jeroen Verhoeckx
Hello Jim, Thanks for your answer / clarification! It's now clear to me! And it's good to know that I set-up my servers correctly :-)! Jeroen Support the independent web, use [Firefox](https://www.mozilla.org/en-US/firefox/new/)

Re: [users@httpd] Is it possible to install/configure SSL certificates on a server behind a reverse proxy?

2022-01-13 Thread Jeroen Verhoeckx
Hello Dino / HTH, Thank you for your very elaborate answer!! Your 'diagram' made it very clear! Clients --> INTERNET --> Apache httpd reverse proxy (answer to HTTPS requests made by your clients) --> Your internal backend(s) (answer to HTTPS requests coming from your proxy). It's also good to

Re: [users@httpd] Re: How to configure and use mod_markdown

2022-01-13 Thread Eric Covener
> Is there some alternative around? If you don't care about performance and want flexibility you can roll your own with CGI. httpd.conf: AddHandler md2html .md Action md2html /cgi-bin/md2html cgi: ``` #!/bin/sh printf "Content-Type: text/html\r\n\r\n" if [ -f "$PATH_TRANSLATED" ]; then

Re: [users@httpd] Re: How to configure and use mod_markdown

2022-01-13 Thread Eric Covener
> But if I put the md file on my webserver (without having thios server side > parsing) then I expected the add-on to again render the file into a html and > display it. But that does not happen at all, FireFox just opens a dialog to > ask > me with what to open the file? Maybe something like

Re: [users@httpd] Is it possible to install/configure SSL certificates on a server behind a reverse proxy?

2022-01-13 Thread Jim Albert
You absolutely want SSL certificates installed on your public facing proxy... signed by a well trusted CA if you want the rest of the world to trust your proxy. If you want your proxy to communicate encrypted to your back end/private web server then you need an SSL certificate on the back end.

[users@httpd] Re: How to configure and use mod_markdown

2022-01-13 Thread Bo Berglund
On Thu, 13 Jan 2022 12:15:54 -0500, Eric Covener wrote: >> MarkdownCss /opt/misc/apache-mod-markdown/markdown.css > >From the code you linked to, this seems like it would pretend to work >if you ran it locally in a browser on the webserver. >The content of the CSS file is not incorporated

Re: [users@httpd] Is it possible to install/configure SSL certificates on a server behind a reverse proxy?

2022-01-13 Thread Dino Ciuffetti
Apache httpd works at layer 7 (HTTP/HTTPS). You CANNOT have a reverse proxy at layer 4 with apache httpd where the X509 certificates are only needed on your backends (like HAProxy does). Clients --> INTERNET --> Apache httpd reverse proxy (answer to HTTPS requests made by your clients) --> Your

Re: [users@httpd] Re: How to configure and use mod_markdown

2022-01-13 Thread Eric Covener
> MarkdownCss /opt/misc/apache-mod-markdown/markdown.css >From the code you linked to, this seems like it would pretend to work if you ran it locally in a browser on the webserver. The content of the CSS file is not incorporated into the output, only a meta tag with the path verbatim that

[users@httpd] Re: How to configure and use mod_markdown

2022-01-13 Thread Bo Berglund
On Wed, 12 Jan 2022 22:15:23 +0100, Bo Berglund wrote: >Ubuntu server 20.04.3 Apache2 >I am trying to install support for rendering files with extension .md so they >are displayed like for example md files in GitHub. > >So I have asked on Ubuntu User mail list and got directed to this module on

Re: [users@httpd] Is it possible to install/configure SSL certificates on a server behind a reverse proxy?

2022-01-13 Thread Jeroen Verhoeckx
Thanks, great to know that it is possible! You write that you need to install the SSL certificates on both the reverse proxy and in the virtual machine (or another local server)? Is that really necessary? I try to avoid duplication whenever that is possible. Do you have an example set-up

RE: [users@httpd] Is it possible to install/configure SSL certificates on a server behind a reverse proxy?

2022-01-13 Thread Jeroen Verhoeckx
Ah, thanks, so it is possible! I thought it wasn't possible (but hoped it would be) because the reverse proxy could be seen as a 'man in the middle attach'. But great to know that it is possible! What is the minimal configuration for such a setup? You need the directives ProxyPass,