[users@httpd] Re: Reverse proxy to a website with HTTPS

2021-08-23 Thread Scott Trakker
I found the solution to my problem! If you want to configure a reverse proxy with HTTPS you have to install the SSL-certificates on the host (and not in the remote server or virtual machine)! This is the final virtual hosts file: ServerName localhost DocumentRoot /var/www/html/ ServerName [yo

Re: [users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Eric Covener
On Mon, Aug 23, 2021 at 12:35 PM Dominik Wrona wrote: > > Thank you! It is possible the CGI program is not in the 'audio' group. > Would you know how to add it to the audio group? By default it runs as the same user the webserver is configured to run as (IDs like www-data, nobody, apache dependin

Re: [users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Antony Stone
On Monday 23 August 2021 at 18:35:20, Dominik Wrona wrote: > Thank you! It is possible the CGI program is not in the 'audio' group. > Would you know how to add it to the audio group? As root, or the current owner of the script: chown :audio /the/cgi/script or chgrp audio /the/cgi

Re: [users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Dominik Wrona
Thank you! It is possible the CGI program is not in the 'audio' group. Would you know how to add it to the audio group? On 2021-08-23 12:25 p.m., Eric Covener wrote: On Mon, Aug 23, 2021 at 11:51 AM Dominik Wrona wrote: The following code, when accessed CGI-style through the Apache server, d

Re: [users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Eric Covener
On Mon, Aug 23, 2021 at 11:51 AM Dominik Wrona wrote: > > The following code, when accessed CGI-style through the Apache server, > does not detect any midi cards on the system. Normally, at least 1 card, > and more if MIDI devices are plugged in, are found by this function. Possibly some second

[users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Dominik Wrona
The following code, when accessed CGI-style  through the Apache server, does not detect any midi cards on the system. Normally, at least 1 card, and more if MIDI devices are plugged in, are found by this function. Through Apache, the snd_card_next() function (https://www.alsa-project.org/alsa-d

Re: [users@httpd] Re: Reverse proxy to a website with HTTPS

2021-08-23 Thread Rainer Canavan
On Mon, Aug 23, 2021 at 10:45 AM Scott Trakker wrote: [...] > The certificate for the subdomain 'nextcloud.jeroenverhoeckx.com' is > installed correctly: No. Having a certificate and actually using it on the https server listening on port 443 are two entirely different things. Try https://www.s

[users@httpd] ChrootDir and Symlinks

2021-08-23 Thread Joseph D Wagner
I set: ChrootDir /var/www I set: DocumentRoot / I trimmed "/var/www" off my Directory entries (so "/var/www" went to "/", and "/var/www/html" went to "/html", etc). But the only way I can get httpd to start is by creating a symlink in / to /var/www/. Conversely, I can leave DocumentRoot an

Re: [users@httpd] Re: Reverse proxy to a website with HTTPS

2021-08-23 Thread Scott Trakker
Hello Good Guy, Thanks for thinking along. The certificate for the subdomain 'nextcloud.jeroenverhoeckx.com' is installed correctly: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Found the following certs: Certificate Name: nextcloud.jeroenverhoeckx.com

Re: [users@httpd] Reverse proxy to a website with HTTPS

2021-08-23 Thread Scott Trakker
Hello Paul, Thanks for thinking along. The message that you get when you visit my domain is either from the browser of from a self-signed certificate. When I run 'certbot certificates' I get the message that my certificate for the domain 'nextcloud.jeroenverhoeckx.com' is installed correctly: