So ... I finished the site on my local server, and I uploaded it to my remote server.
Switching to a remote site results in an internal server error. I think there might be something wrong with the file .htaccess. Here it contains:
Options All -Indexes
Options +FollowSymlinks
DirectoryIndex launcher.php
IndexIgnore */*
RewriteEngine ON
RewriteRule ^(.*)\.less$ $1.css.php [nc]
RewriteRule ^([A-Za-z]+)$ launcher.php?page=$1 [QSA,L]
In the end, I tried to debug the problem by adding #up to the DirectoryIndex line to find out what would happen. Result:
403 Forbidden
You do not have permission to access / site / on this server.
Which is bewildering, because all permissions seem normal ... I double-checked that the file .htaccesshas an octal 644.
What could be causing this problem? Thanks for any answers in advance.
source
share