Habe eine kleines Problem mit dem mod_rewrite Modul:
Ich verwende die jeweils letzten versionen.
Meine verzeichnisstruktur sieht folgendermaßen aus
httpdocs/front_content.php
httpdocs/.htaccess
httpdocs/content/contenido
httpdocs/content/conlib
... etc
meine .htaccess sieht so aus:
Code: Alles auswählen
<IfModule mod_rewrite.c>
# Enable rewrite engine
# ---------------------
RewriteEngine on
# Specify a base URL-path for the rules
# -------------------------------------
RewriteBase /
# Catch some common exploits in query string to get rid of them
# NOTE: Conditions to prevent protocolls (ftp, http[s]) in query string could be a
# disadvantage in some cases
# --------------------------------------------------------------------------------
RewriteCond %{QUERY_STRING} contenido_path=.*$ [NC,OR]
RewriteCond %{QUERY_STRING} cfg\[path\]=.*$ [NC,OR]
RewriteCond %{QUERY_STRING} _PHPLIB\[libdir\]=.*$ [NC,OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} ftp://.*$ [NC,OR]
RewriteCond %{QUERY_STRING} http[s]*://.*$ [NC]
RewriteRule ^.* - [F,L] # all matching conditions from above will end in nirvana
# Exclude some files and directories from rewriting
# -------------------------------------------------
RewriteRule ^content/contenido/.*$ - [L]
RewriteRule ^content/setup/.*$ - [L]
RewriteRule ^/upload/.*$ - [L]
RewriteRule ^front_content.php.*$ - [L]
# enable following line if you want to run the plugin test
RewriteRule ^mr_test.php.*$ - [L]
# One RewriteRule to rule them all
# --------------------------------
RewriteRule !\.(js|ico|gif|jpg|jpeg|png|css|pdf)$ front_content.php [NC,QSA,L]
</IfModule>
Kann mir da wer helfen?