Hallo Kids,
da ich erfahren habe, dass hier nur Profis unterwegs wollte ich Fragen, was ich falsch gemacht habe: Ich habe WEB.CONFIG in .HTACCESS umgewandelt, jetzt wenn ich meine Seite aufrufe, kommt folgendes:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
WEB.CONFIG (WILL ES IN .HTACCES):
PHP
<rule name="Importierte Regel 35.1">
<match url="^housekeeping(|/)$" ignoreCase="false" />
<action type="Rewrite" url="./housekeeping/index.php" />
</rule>
<rule name="Importierte Regel 36.1">
<match url="^housekeeping/images/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="./housekeeping/images/{R:1}" appendQueryString="false" />
</rule>
<?php /*<rule name="Importierte Regel 36.2">
<match url="^housekeeping/(.*)/roomid2/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="./housekeeping/{R:1}.php?roomid={R:2}" appendQueryString="false" />
</rule>*/ ?>
<rule name="Importierte Regel 36.4">
<match url="^housekeeping/faq/(.*)/(.*)/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="./housekeeping/faq.php?do={R:1}&type={R:2}&id={R:3}" appendQueryString="false" />
</rule>
<rule name="Importierte Regel 36.5">
<match url="^housekeeping/faq/(.*)/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="./housekeeping/faq.php?do={R:1}&type={R:2}" appendQueryString="false" />
</rule>
<rule name="Importierte Regel 36.6">
<match url="^housekeeping/faq/(.*)/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="./housekeeping/faq.php?do={R:1}&type={R:2}" appendQueryString="false" />
</rule>
<rule name="Importierte Regel 36.10">
<match url="^housekeeping/(.*)/(.*)/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="./housekeeping/{R:1}.php?do={R:2}&id={R:3}" appendQueryString="false" />
</rule>
<rule name="Importierte Regel 36.11">
<match url="^housekeeping/(.*)/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="./housekeeping/{R:1}.php?do={R:2}" appendQueryString="false" />
</rule>
<rule name="Importierte Regel 36.12">
<match url="^housekeeping/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="./housekeeping/{R:1}.php" appendQueryString="false" />
</rule>
Alles anzeigen
SO HAB ICH ES IN .HTACCESS UMWANDELT:
Apache Configuration
RewriteRule ^housekeeping(|/)$ ./housekeeping/index.php
RewriteRule ^housekeeping/images/(.*)$ ./housekeeping/images/$1
RewriteRule ^housekeeping/faq/(.*)/(.*)/(.*)$ ./housekeeping/faq.php?do=$1&type=$2&id=$3
RewriteRule ^housekeeping/faq/(.*)/(.*)$ ./housekeeping/faq.php?do=$1&type=$2
RewriteRule ^housekeeping/faq/(.*)/(.*)$ ./housekeeping/faq.php?do=$1&type=$2
RewriteRule ^housekeeping/(.*)/(.*)/(.*)$ ./housekeeping/$1.php?do=$2&id=$3
RewriteRule ^housekeeping/(.*)/(.*)$ ./housekeeping/$1.php?do=$2
RewriteRule ^housekeeping/(.*)$ ./housekeeping/$1.php
ACHTUNG: NUR POSTE WENN DU ERFAHRUNG!!!!