Hallo,
danke für’s Antworten.
Beide Hompages werden vom selben Hoster gehandhabt.
So sieht die .htaccess jetzt aus:
#######################################################
## PHP Link Directory 4.0.0 - Apache Server Settings ##
#######################################################
# Prevent .htaccess and .htpasswd files from being viewed by web clients
Order allow,deny
Deny from all
# Protect files
Order deny,allow
Deny from all
# Protect directories
Order deny,allow
Deny from all
# Disable directory browsing
# Options -Indexes
# Follow symbolic links in this directory
# Options +FollowSymLinks
# Override PHP settings that cannot be changed at runtime
# (If your server supports PHP settings via htaccess you can comment following two lines off)
# php\_value register\_globals 0
# php\_value session.auto\_start 0
# Customized error messages
# ( If you are running in a subfolder please add it, example: "l4u/index.php?httpstatus=404" )
ErrorDocument 404 /index.php?httpstatus=404
# Set the default handler
DirectoryIndex /index.php
# URL rewrite rules
RewriteEngine On
#Make sure RewriteBase points to the directory where you installed phpLD.
#Example: "/phpld" if your installation is in a "phpld" subdirectory.
#RewriteBase /
##A-Z Links Rewrite##
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule (.\*)a-z-(.\*)/ index.php?letter=$2 [QSA,NC]
##Latest Links Rewrite
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule ^latest-links\.htm[l]?$ index.php?list=latest [QSA,NC,L]
##Top Hits Rewrite
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule ^top-hits\.htm[l]?$ index.php?list=top [QSA,NC,L]
##Latest Articles Rewrite
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule ^latest-articles\.htm[l]?$ index.php?list=latestarticles [QSA,NC,L]
##Details Link Page Rewrite
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule (.\*)detail/(.\*)$ detail.php?id=$2 [QSA,NC]
##Article Page Rewrite
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule (.\*)articles/(.\*)$ article.php?id=$2 [QSA,NC]
##Author Page Rewrite
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule (.\*)authors/author-(.\*)\.htm[l]?$ author.php [QSA,NC]
##Owner Page Rewrite
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule (.\*)owner/owner-(.\*)\.htm[l]?$ author.php [QSA,NC]
##Pagination Rewrite
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule (.\*)page-[0-9]+\.html$ index.php [QSA,NC,L]
##Pages redirect
RewriteCond %{REQUEST\_URI} !page-[0-9]+\.html?$
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule ^(.+)\.html$ page.php?name=$1 [NC,QSA,L]
##Category redirect
RewriteCond %{REQUEST\_FILENAME} !-f
RewriteCond %{REQUEST\_FILENAME} !-d
RewriteCond %{REQUEST\_FILENAME} !-l
RewriteRule ^(.\*)$ index.php [QSA,L]
RewriteRule ^(.\*)loadingAnimation.gif$ javascripts/thickbox/loadingAnimation.gif
Geändert hat sich das CMS (Erst Joomla jetzt phpLinkDirectory) und der Server auf dem das Ganze läuft.
Das Problem: Es wird immer nur die Startseite von Link4you.at angezeigt wenn die oben genannten Links ohne „/index.php“ in den Browser eingegeben werden.
Mit freundlichen Grüssen
Robert