Wpis z mikrobloga

a może tutaj ktoś podpowie jak i co mam zmienić żeby hosting OVH zadziałał?
na ich stronie są tylko poniższe informacje z których nic nie rozumiem:

"Aktualnie wdrażamy aktualizację oprogramowania Apache z wersji 2.2 do wersji 2.4. Aktualizacja ta może mieć wpływ na konfigurację Twojego pliku .htaccess.

Please find below the list of changes needed in order to migrate easily to Apache 2.4:

FilterProvider (modfilter) :

Syntax example for Apache 2.2 :

FilterProvider COMPRESS DEFLATE resp=Content-Type $text/html
FilterProvider COMPRESS DEFLATE resp=Content-Type $text/css

Syntax example for Apache 2.4 :

FilterProvider COMPRESS DEFLATE "%{Content
Type} = 'text/html'"
FilterProvider COMPRESS DEFLATE "%{ContentType} = 'text/css'"

We recommend that you use the configuration of .htaccess below
to be compatible between the two versions of Apache.

This example needs to be adapted with the requirements of your own configuration.



= 2.4>
FilterProvider COMPRESS DEFLATE "%{Content
Type} = 'text/html'"
FilterProvider COMPRESS DEFLATE "%{Content_Type} = 'text/css'"


FilterProvider COMPRESS DEFLATE resp=Content-Type $text/html
FilterProvider COMPRESS DEFLATE resp=Content-Type $text/css



"

w moim pliku .htaccess nie ma żadnych "FilterProvider" itp
skopiowałem w/w tekst do .htaccess ale nadal nic nie działa

pomoc OVH odezwie się zapewne w poniedziałek jak już będzie po zakupach :(

pozdrawiam

elektromarket.com.pl
  • 3
sorry znalazłem drugi plik .htaccess w katalogu sklepu i chyba własnie o ten plik chodzi:

RewriteEngine On
RewriteBase /

#do sprawdzenia na pozniej
#rewriterule ^(?!zarzadzanie/)^index.(php|html|htm)$ / [R=301,L]
#rewriterule ^(?!zarzadzanie/)^([a-z0-9-]+)/index.(php|html|htm)$ /$1/ [R=301,L]

RewriteRule ^index.(php|html|htm)$ / [R=301,L]
RewriteRule ^([a-z0-9-
]+)/index.(php|html|htm)$ /$1/ [R=301,L]

# kategorie produktow i produkty producentow
RewriteRule ^(.*)-c-([0-9-_]+).html(.*)$ listing.php?idkat=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9-_]+).html(.*)$ listing.php?idproducent=$2&%{QUERY_STRING} [L]

# produkty
RewriteRule ^(.*)-p-([0-9-_]+).html(.*)$ produkt.php?idprod=$2&%{QUERYSTRING} [L]
RewriteRule ^pobierz-([a-z0-9-
]+)-([0-9]+).html$ inne/pobieranie.php?tok=$1&id=$2 [L]
RewriteRule ^(.*)-kartapdf-([0-9]+).html$ pdf/kartaproduktu.php?idpoz=$2