You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Freek de Kruijf <f....@gmail.com> on 2026/09/04 10:00:40 UTC

[users@httpd] Main page works subpage gives error SSL_ERROR_RX_RECORD_TOO_LONG in firefox

I use opnSUSE Leap 16.0 with selinux and with apache2 version 2.4.66.
I have a vhost website.nl.
Port 80 redirects "/" to "https://website.nl/"
Using firefox to https://website.nl shows the content of the file:
/srv/website/index.html
In the vhost config file I have:
 <Directory /srv/website/>
  AllowOverride None
  Require all granted
 </Directory>
 <Directory /srv/website/SUB/>
  Options Indexes FollowSymLinks
  Require all granted
 </Directory>

In /srv/website/SUB/index.html I have entries like:

<a href="file1.pdf" download>file1.pdf</a>

File /srv/website/SUB/file1.pdf is a symbolic link to 
/sub/sub1/SUB/file1.pdf

So in the config file I also have 

 <Directory /sub/sub1/SUB/>
   Require all granted
 </Directory>

Using the URL https://website.nl/SUB/ gives in firefox the error 
SSL_ERROR_RX_RECORD_TOO_LONG


Why does the main webpage work and the subpage not?

-- 

vr.gr.

Freek de Kruijf




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Main page works subpage gives error SSL_ERROR_RX_RECORD_TOO_LONG in firefox

Posted by Francois Gingras <fr...@gmail.com>.
On Fri, Sep 4, 2026 at 6:03 PM Freek de Kruijf <f....@gmail.com>
wrote:

> Op vrijdag 4 september 2026 18:57:41 Midden-Europese zomertijd schreef
> Frank
> Gingras:
> > On Fri, Sep 4, 2026 at 12:21 PM Freek de Kruijf <f....@gmail.com>
> >
> > wrote:
> > > Op vrijdag 4 september 2026 14:29:03 Midden-Europese zomertijd schreef
> > > Frank
> > >
> > > Gingras:
> > > > Let's see the output from apachectl -S first.
> > >
> > > There is no output from "apachectl -S".
> > >
> > > > On Fri., Sep. 4, 2026, 6:01 a.m. Freek de Kruijf, <
> f.de.kruijf@gmail.com
> > > >
> > > > wrote:
> > > > > I use opnSUSE Leap 16.0 with selinux and with apache2 version
> 2.4.66.
> > > > > I have a vhost website.nl.
> > > > > Port 80 redirects "/" to "https://website.nl/"
> > > > > Using firefox to https://website.nl shows the content of the file:
> > > > > /srv/website/index.html
> > > > >
> > > > > In the vhost config file I have:
> > > > >  <Directory /srv/website/>
> > > > >
> > > > >   AllowOverride None
> > > > >   Require all granted
> > > > >
> > > > >  </Directory>
> > > > >  <Directory /srv/website/SUB/>
> > > > >
> > > > >   Options Indexes FollowSymLinks
> > > > >   Require all granted
> > > > >
> > > > >  </Directory>
> > > > >
> > > > > In /srv/website/SUB/index.html I have entries like:
> > > > >
> > > > > <a href="file1.pdf" download>file1.pdf</a>
> > > > >
> > > > > File /srv/website/SUB/file1.pdf is a symbolic link to
> > > > > /sub/sub1/SUB/file1.pdf
> > > > >
> > > > > So in the config file I also have
> > > > >
> > > > >  <Directory /sub/sub1/SUB/>
> > > > >
> > > > >    Require all granted
> > > > >
> > > > >  </Directory>
> > > > >
> > > > > Using the URL https://website.nl/SUB/ gives in firefox the error
> > > > > SSL_ERROR_RX_RECORD_TOO_LONG
> > > > >
> > > > >
> > > > > Why does the main webpage work and the subpage not?
> > > > >
> > > > > --
> > > > >
> > > > > vr.gr.
> > > > >
> > > > > Freek de Kruijf
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > > --
> > >
> > > vr.gr.
> > >
> > > Freek de Kruijf
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> >
> > In that case, try httpd -S.
>
> Output is:
>
> AH00526: Syntax error on line 20 of /etc/apache2/conf.d/phpMyAdmin.conf:
> Invalid command '<IfVersion', perhaps misspelled or defined by a module
> not
> included in the server configuration
>
> The module version is included in a configuration file like:
>
> APACHE_MODULES="actions alias auth_basic authn_core authn_file authz_host
> authz_groupfile authz_core authz_user autoindex cgi dir env expires
> include
> log_config mime negotiation setenvif ssl socache_shmcb status userdir
> reqtimeout version php8 headers"
>
>
> --
>
> vr.gr.
>
> Freek de Kruijf
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
This means the module isn't loaded - your best bet is to fix your broken
apachectl script so that the -S output works, first.

Re: [users@httpd] Main page works subpage gives error SSL_ERROR_RX_RECORD_TOO_LONG in firefox

Posted by Freek de Kruijf <f....@gmail.com>.
Op vrijdag 4 september 2026 18:57:41 Midden-Europese zomertijd schreef Frank 
Gingras:
> On Fri, Sep 4, 2026 at 12:21 PM Freek de Kruijf <f....@gmail.com>
> 
> wrote:
> > Op vrijdag 4 september 2026 14:29:03 Midden-Europese zomertijd schreef
> > Frank
> > 
> > Gingras:
> > > Let's see the output from apachectl -S first.
> > 
> > There is no output from "apachectl -S".
> > 
> > > On Fri., Sep. 4, 2026, 6:01 a.m. Freek de Kruijf, <f.de.kruijf@gmail.com
> > > 
> > > wrote:
> > > > I use opnSUSE Leap 16.0 with selinux and with apache2 version 2.4.66.
> > > > I have a vhost website.nl.
> > > > Port 80 redirects "/" to "https://website.nl/"
> > > > Using firefox to https://website.nl shows the content of the file:
> > > > /srv/website/index.html
> > > > 
> > > > In the vhost config file I have:
> > > >  <Directory /srv/website/>
> > > >  
> > > >   AllowOverride None
> > > >   Require all granted
> > > >  
> > > >  </Directory>
> > > >  <Directory /srv/website/SUB/>
> > > >  
> > > >   Options Indexes FollowSymLinks
> > > >   Require all granted
> > > >  
> > > >  </Directory>
> > > > 
> > > > In /srv/website/SUB/index.html I have entries like:
> > > > 
> > > > <a href="file1.pdf" download>file1.pdf</a>
> > > > 
> > > > File /srv/website/SUB/file1.pdf is a symbolic link to
> > > > /sub/sub1/SUB/file1.pdf
> > > > 
> > > > So in the config file I also have
> > > > 
> > > >  <Directory /sub/sub1/SUB/>
> > > >  
> > > >    Require all granted
> > > >  
> > > >  </Directory>
> > > > 
> > > > Using the URL https://website.nl/SUB/ gives in firefox the error
> > > > SSL_ERROR_RX_RECORD_TOO_LONG
> > > > 
> > > > 
> > > > Why does the main webpage work and the subpage not?
> > > > 
> > > > --
> > > > 
> > > > vr.gr.
> > > > 
> > > > Freek de Kruijf
> > > > 
> > > > 
> > > > 
> > > > 
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> > --
> > 
> > vr.gr.
> > 
> > Freek de Kruijf
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> 
> In that case, try httpd -S.

Output is:

AH00526: Syntax error on line 20 of /etc/apache2/conf.d/phpMyAdmin.conf:
Invalid command '<IfVersion', perhaps misspelled or defined by a module not 
included in the server configuration

The module version is included in a configuration file like:

APACHE_MODULES="actions alias auth_basic authn_core authn_file authz_host 
authz_groupfile authz_core authz_user autoindex cgi dir env expires include 
log_config mime negotiation setenvif ssl socache_shmcb status userdir 
reqtimeout version php8 headers"


-- 

vr.gr.

Freek de Kruijf




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Main page works subpage gives error SSL_ERROR_RX_RECORD_TOO_LONG in firefox

Posted by Frank Gingras <th...@apache.org>.
On Fri, Sep 4, 2026 at 12:21 PM Freek de Kruijf <f....@gmail.com>
wrote:

> Op vrijdag 4 september 2026 14:29:03 Midden-Europese zomertijd schreef
> Frank
> Gingras:
> > Let's see the output from apachectl -S first.
>
> There is no output from "apachectl -S".
>
> >
> > On Fri., Sep. 4, 2026, 6:01 a.m. Freek de Kruijf, <f.de.kruijf@gmail.com
> >
> >
> > wrote:
> > > I use opnSUSE Leap 16.0 with selinux and with apache2 version 2.4.66.
> > > I have a vhost website.nl.
> > > Port 80 redirects "/" to "https://website.nl/"
> > > Using firefox to https://website.nl shows the content of the file:
> > > /srv/website/index.html
> > >
> > > In the vhost config file I have:
> > >  <Directory /srv/website/>
> > >
> > >   AllowOverride None
> > >   Require all granted
> > >
> > >  </Directory>
> > >  <Directory /srv/website/SUB/>
> > >
> > >   Options Indexes FollowSymLinks
> > >   Require all granted
> > >
> > >  </Directory>
> > >
> > > In /srv/website/SUB/index.html I have entries like:
> > >
> > > <a href="file1.pdf" download>file1.pdf</a>
> > >
> > > File /srv/website/SUB/file1.pdf is a symbolic link to
> > > /sub/sub1/SUB/file1.pdf
> > >
> > > So in the config file I also have
> > >
> > >  <Directory /sub/sub1/SUB/>
> > >
> > >    Require all granted
> > >
> > >  </Directory>
> > >
> > > Using the URL https://website.nl/SUB/ gives in firefox the error
> > > SSL_ERROR_RX_RECORD_TOO_LONG
> > >
> > >
> > > Why does the main webpage work and the subpage not?
> > >
> > > --
> > >
> > > vr.gr.
> > >
> > > Freek de Kruijf
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
>
>
> --
>
> vr.gr.
>
> Freek de Kruijf
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
In that case, try httpd -S.

Re: [users@httpd] Main page works subpage gives error SSL_ERROR_RX_RECORD_TOO_LONG in firefox

Posted by Freek de Kruijf <f....@gmail.com>.
Op vrijdag 4 september 2026 14:29:03 Midden-Europese zomertijd schreef Frank 
Gingras:
> Let's see the output from apachectl -S first.

There is no output from "apachectl -S".

> 
> On Fri., Sep. 4, 2026, 6:01 a.m. Freek de Kruijf, <f....@gmail.com>
> 
> wrote:
> > I use opnSUSE Leap 16.0 with selinux and with apache2 version 2.4.66.
> > I have a vhost website.nl.
> > Port 80 redirects "/" to "https://website.nl/"
> > Using firefox to https://website.nl shows the content of the file:
> > /srv/website/index.html
> > 
> > In the vhost config file I have:
> >  <Directory /srv/website/>
> >  
> >   AllowOverride None
> >   Require all granted
> >  
> >  </Directory>
> >  <Directory /srv/website/SUB/>
> >  
> >   Options Indexes FollowSymLinks
> >   Require all granted
> >  
> >  </Directory>
> > 
> > In /srv/website/SUB/index.html I have entries like:
> > 
> > <a href="file1.pdf" download>file1.pdf</a>
> > 
> > File /srv/website/SUB/file1.pdf is a symbolic link to
> > /sub/sub1/SUB/file1.pdf
> > 
> > So in the config file I also have
> > 
> >  <Directory /sub/sub1/SUB/>
> >  
> >    Require all granted
> >  
> >  </Directory>
> > 
> > Using the URL https://website.nl/SUB/ gives in firefox the error
> > SSL_ERROR_RX_RECORD_TOO_LONG
> > 
> > 
> > Why does the main webpage work and the subpage not?
> > 
> > --
> > 
> > vr.gr.
> > 
> > Freek de Kruijf
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org


-- 

vr.gr.

Freek de Kruijf




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Main page works subpage gives error SSL_ERROR_RX_RECORD_TOO_LONG in firefox

Posted by Freek de Kruijf <f....@gmail.com>.
Op vrijdag 4 september 2026 14:29:03 Midden-Europese zomertijd schreef Frank 
Gingras:
> Let's see the output from apachectl -S first.

I lost your answer to fix apachectl, which I entered as a bug for openSUSE.

I checked for the presence of the version model in openSUSE which appears to 
be present and as far as I can see gets loaded. So I wait for the reaction on 
the bug report.

Many thanks for your help so far.

-- 

vr.gr.

Freek de Kruijf




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Main page works subpage gives error SSL_ERROR_RX_RECORD_TOO_LONG in firefox

Posted by Frank Gingras <th...@apache.org>.
Let's see the output from apachectl -S first.

On Fri., Sep. 4, 2026, 6:01 a.m. Freek de Kruijf, <f....@gmail.com>
wrote:

> I use opnSUSE Leap 16.0 with selinux and with apache2 version 2.4.66.
> I have a vhost website.nl.
> Port 80 redirects "/" to "https://website.nl/"
> Using firefox to https://website.nl shows the content of the file:
> /srv/website/index.html
> In the vhost config file I have:
>  <Directory /srv/website/>
>   AllowOverride None
>   Require all granted
>  </Directory>
>  <Directory /srv/website/SUB/>
>   Options Indexes FollowSymLinks
>   Require all granted
>  </Directory>
>
> In /srv/website/SUB/index.html I have entries like:
>
> <a href="file1.pdf" download>file1.pdf</a>
>
> File /srv/website/SUB/file1.pdf is a symbolic link to
> /sub/sub1/SUB/file1.pdf
>
> So in the config file I also have
>
>  <Directory /sub/sub1/SUB/>
>    Require all granted
>  </Directory>
>
> Using the URL https://website.nl/SUB/ gives in firefox the error
> SSL_ERROR_RX_RECORD_TOO_LONG
>
>
> Why does the main webpage work and the subpage not?
>
> --
>
> vr.gr.
>
> Freek de Kruijf
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>
>
>