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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to