im Moment migriere ich das community/auth_media Plugin auf ycom/auth_media. Hier der aktuelle Stand: https://github.com/TobiasKrais/redaxo_y ... auth_media
An einem Punkt komme ich nicht weiter: eine korrekte .htaccess Datei. Der Inhalt der aktuellen Datei ist der aus dem alten Plugin entlehnt und sieht wie folgt aus:
Code: Alles auswählen
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !media/.*/.*
RewriteCond %{REQUEST_URI} !media/(.*).(png|gif|ico|css|js|swf)$
RewriteRule ^(.*)$ /?rex_ycom_auth_media_filename=$1&%{QUERY_STRING}
Code: Alles auswählen
# REWRITING
<IfModule mod_rewrite.c>
# ENABLE REWRITING
RewriteEngine On
# Workaround for RewriteBase
# Copied from https://github.com/symfony/symfony-standard/blob/master/web/.htaccess
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
RewriteRule ^(.*) - [E=BASE:%1]
RewriteCond %{REQUEST_URI} !media/.*/.*
RewriteCond %{REQUEST_URI} !media/(.*).(png|gif|ico|css|js|swf)$
RewriteRule ^(.*)$ %{ENV:BASE}/?rex_ycom_auth_media_filename=$1&%{QUERY_STRING} [L]
</IfModule>
Kann mir jemand weiter helfen? Ich bin in .htaccess Fragen nicht sonderlich bewandert...
Liebe Grüße,
Tobi