Hallo
Ich würde die Angelegenheit anders angehen.
Einfach per .htaccess - Datei deine Startseite festlegen und das geht so....
Beispiel: Deine Startseite heißt
start.php - also erstellst du eine .htaccess - Datei mit folgendem Inhalt.
Code: Alles auswählen
DirectoryIndex start.php index.php index.html index.htm
Wenn du die .htacess - Datei des Forums bearbeitest, würde das ganze dann so aussehen.
Code: Alles auswählen
#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule>
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
DirectoryIndex start.php index.php index.html index.htm
Grüße: Mahony