Why does the Index Manager of CPanel puts corrupt code to the .htaccess file? I deleted these lines and the Internal Server Error was gone.
And why installs Softaculous Joomla into a directory when it is not possible to use it there? Meanwhile I created an index.php5 file in the root with:
<?php include ("index.php"); ?>
Why index.php5? -> Renaming the Joomla-index.php didn't work, just as a file index.php that includes another index.php...
In addition there is a php.ini with:
include_path = ".:joomla16"
Result: index.php is found but nothing else - no templates, no links as you can see here: http://www.schaubar.x10.mx/
Meanwhile there are two .htaccess files. In the root there are some lines that were perhaps created by Softaculous with:
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://schaubar.x10.mx/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://schaubar.x10.mx$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.schaubar.x10.mx/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.schaubar.x10.mx$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
And in the directory joomla16 there is the .htaccess of Joomla (I deleted all comments):
Code:
.
Options +FollowSymLinks Indexes
RewriteEngine On
RewriteBase /joomla16
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
I guess I need a RewriteRule somewhere there... But where and what?