Forbidden You don't have permission to access

awesomemetalbands.co.uk
Centos 7
Yes I have root access

I am fairly new to the configuration of let’s encrypt on Linux I have configured the certificate to http://awesomemetalbands.co.uk and can access Apache perfectly with SSL certificate I have looked at the virtual host files httpd.conf and gone through various tutorials.

At the moment I can only access the main Apache page and do not have access to any of the directories which I have manually changed the permissions on through FTP.

I will upload some configuration files when I get to my desktop machine.

Does ssl.conf control permissions?

Thank you very much in advance

1 Like

Hi @DanielJames666

checking your domain in my browser, there is the standard Apache test site.

So only the standard links are visible.

You need an own index.html / index.htm ...

PS: Your certificate is valid and new.

1 Like

Hello thank you very much for the quick reply. I am sorry for the very basic question I’m sure this has been asked many times.

Is this the correct directory to have the HTML file in? var/www/html

There is also a folder https://awesomemetal bands.co.uk/test123

The command I am using to stop and restart Apache

sudo systemctl stop httpd.service

Cloudflare is disabled and I have cleared cache and restarted browser and the Apache page is still appearing.

This is the virtualhost in httpd.conf

<VirtualHost *:80>

DocumentRoot "var/www/html"

ServerName awesomemetalbands.co.uk



# Other directives here

RewriteEngine on

RewriteCond %{SERVER_NAME} =awesomemetalbands.co.uk

RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

Regards
Daniel

Just a note there is no htaccess file it’s a very basic install of Apache also the firewall has been disabled

"Yes", but not like your implying.
The web service is the one that can "limit/restrict" access to particular paths (for both HTTP and HTTPS).
That is done within a <directory /some/path/to/your/files> section.
The directory section can be within the ssl.conf file; but it may also be in the base config file.
So if there is any such directory statements, look within them.
If none can be found to match exactly, look for a directory that is a bit "shorter" [one folder up - like: /some/path/to/your (or even shorter /some/path/to, … /some/path)]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.