ich habe eine fertige CMSms 1.7 Seite zu 1und1 migriert. Der Kunde möchte jetzt die Endung .php verbergen. Wenn ich jetzt eine Seite anklicke, bekomme ich
Die PHP Version ist 5.2.13 auf Apache unter Linux. Die URL, die zu dieser Meldung gehört, sieht wie folgt aus:Multiple Choices
The document name you requested (/index.php) could not be found on this server. However, we found documents with names similar to the one you requested.
Available documents:
* /index.html?page=loesungen.html (common basename)
Please consider informing the owner of the referring page about the broken link.
Code: Select all
/root/loesungen.htmlMeine .htacess Datei sieht wie folgt aus:
Code: Select all
AddType x-mapp-php5 .php
# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
# (this is important, so uncomment if your host permit)
Options -Indexes
ServerSignature Off
#
Options +FollowSymLinks
#
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /
#
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# but ignore POST requests.
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} !\.
#RewriteCond %{REQUEST_METHOD} !POST$
#RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
#
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
Danke

