PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : htaccess rewrite fehler seoboost an



VVWSWW
27.09.2016, 19:09
Hallo
habe folgendes Problem, nach dem ich die .htaccess- Datei aus dem gm/ seoboostan (org datei)verwende
funktioniert die Seite nicht mehr richtig unter GX2 war das kein Thema.

muss diese noch bearbeitet werden. ?
der Shop ist neu aufgesetzt Version 3.1.3.1



[Tue Sep 27 18:35:03.752154 2016] [core:error] [pid 27439] [client **.***.***.0:49784] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.


## Gambio SEO Boost
## www.gambio.de

<ifModule mod_headers.c>
Header set X-Content-Type-Options: nosniff
</ifModule>

<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} ^(.*)\.(php|css|js|gif|jpg|jpeg|png)$ [NC]
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_URI} (.*)?/admin/(.*)
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_URI} (.*)?/images/(.*)
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_URI} (.*)?/templates/(.*)
RewriteRule ^(.+) - [L]


RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_FILENAME} -l
RewriteRule ^(.+) - [L]


##boosted CONTENT
RewriteRule (^[a-z]{2})/(.*/)?info/([A-Za-z0-9_/-]+)\.html.* shop_content.php?language=$1&gm_boosted_content=$3&%{QUERY_STRING} [PT,L]
RewriteRule (.*/)?info/([A-Za-z0-9_/-]+)\.html.* shop_content.php?gm_boosted_content=$2&%{QUERY_STRING} [PT,L]

##boosted PRODUCTS
RewriteRule (^[a-z]{2})/([A-Za-z0-9_/-]+)\.html product_info.php?language=$1&gm_boosted_product=$2&%{QUERY_STRING} [PT,L]
RewriteRule ([A-Za-z0-9_/-]+)\.html product_info.php?gm_boosted_product=$1&%{QUERY_STRING} [PT,L]

##boosted CATEGORIES
RewriteRule (^[a-z]{2})/([A-Za-z0-9_/-]+)/?.* index.php?language=$1&gm_boosted_category=$2&%{QUERY_STRING} [L]
RewriteRule ([A-Za-z0-9_/-]+)/?.* index.php?gm_boosted_category=$1&%{QUERY_STRING} [L]
</IfModule>

Vielen Dank für eure Hilfe
Gruß W.Karl

VVWSWW
28.09.2016, 08:02
Hallo
habe folgendes Problem, nach dem ich die .htaccess- Datei aus dem gm/ seoboostan (org datei)verwende
funktioniert die Seite nicht mehr richtig unter GX2 war das kein Thema.

muss diese noch bearbeitet werden. ?
der Shop ist neu aufgesetzt Version 3.1.3.1



[Tue Sep 27 18:35:03.752154 2016] [core:error] [pid 27439] [client **.***.***.0:49784] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.


## Gambio SEO Boost
## www.gambio.de

<ifModule mod_headers.c>
Header set X-Content-Type-Options: nosniff
</ifModule>

<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} ^(.*)\.(php|css|js|gif|jpg|jpeg|png)$ [NC]
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_URI} (.*)?/admin/(.*)
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_URI} (.*)?/images/(.*)
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_URI} (.*)?/templates/(.*)
RewriteRule ^(.+) - [L]


RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.+) - [L]

RewriteCond %{REQUEST_FILENAME} -l
RewriteRule ^(.+) - [L]


##boosted CONTENT
RewriteRule (^[a-z]{2})/(.*/)?info/([A-Za-z0-9_/-]+)\.html.* shop_content.php?language=$1&gm_boosted_content=$3&%{QUERY_STRING} [PT,L]
RewriteRule (.*/)?info/([A-Za-z0-9_/-]+)\.html.* shop_content.php?gm_boosted_content=$2&%{QUERY_STRING} [PT,L]

##boosted PRODUCTS
RewriteRule (^[a-z]{2})/([A-Za-z0-9_/-]+)\.html product_info.php?language=$1&gm_boosted_product=$2&%{QUERY_STRING} [PT,L]
RewriteRule ([A-Za-z0-9_/-]+)\.html product_info.php?gm_boosted_product=$1&%{QUERY_STRING} [PT,L]

##boosted CATEGORIES
RewriteRule (^[a-z]{2})/([A-Za-z0-9_/-]+)/?.* index.php?language=$1&gm_boosted_category=$2&%{QUERY_STRING} [L]
RewriteRule ([A-Za-z0-9_/-]+)/?.* index.php?gm_boosted_category=$1&%{QUERY_STRING} [L]
</IfModule>

Vielen Dank für eure Hilfe
Gruß W.Karl

Nachtrag:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@++.+++.+++.90 to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

VVWSWW
28.09.2016, 08:03
Nachtrag:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@+++.+++.+++.90 to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

VVWSWW
28.09.2016, 08:29
Hallo
habe die Lösung nach langem suchen im netz gefunden.

Bitte wie unten ergänzen
Für alle die auch 1&1/Strato Hosting benutzen. Hier ist die Lösung:

unter RewriteEngine On muss man Code:
RewriteBase /

hinzufügen, es sei denn der Shop ist über einen Unterordner erreichbar.

Dann wäre es z. B.

Code:
RewriteBase /shop/

KlausK
30.09.2016, 20:17
Vielen Dank Karl, dass du die Lösung auch gleich gepostet hast.