403 (Forbidden) on fresh install


(Ola) #1

Hi,
I’m trying to move all my analysis to Motomo. I’m on shared hosting and I have set up a sub domain for Matomo. I downloaded the files and started the install.

First step went fine but as soon as I submitted the sql-settings i got the following error:

# 403 (Forbidden) - Åtkomst nekad

## Åtkomst nekad till begärd fil eller katalog.

## Access denied to requested file or folder.

## Begärd sida / Requested URL:

https://XXXX/
index.php?action=databaseSetup&clientProtocol=https

### Leverantör/Provider

Any ideas?
Thanks in advance!


(Lukas Winkler) #2

Hi,

Is there maybe some .htaccess file or server config that blocks requests there?
Or are you maybe using mod_security?


(Ola) #3

There are not .htaccess file on the newly created subdomain (i just checked). I looked in the Matomo FAQ and tried to find an example .htaccess-file that I could use but I didn’t find any.

What do I need to put in it? Or even better a usable example?

Thanks!


(Lukas Winkler) #4

Hi,

The needed .htaccess will be generated automatically later. Can you check your web server log if there is a reason for the Forbidden?


(Ola) #5

Unfortunately I don’t think I can? I’m on shared hosting (where I’m running 3 wordpress blogs).


(Lukas Winkler) #6

In that case I’d recommend you to contact your host as Matomo should work fine on a clean new host.

I wouldn’t be surprised if it is caused by mod_secure.