2 htaccess kombinieren

Ich habe Oxid ins Hauptverzeichnis verschoben.
Dazu habe ich, weil im Hauptverzeichnis der provider schon .htaccess angelegt war, beide Dateien kombiniert.

htaccess vom provider:

###################################
# modified by dudit 2011
# http://www.dudit.de
###################################
#AddDefaultCharset utf-8
#AddHandler x-httpd-php .php4
AddHandler x-httpd-php5 .php
#AddHandler x-httpd-php53 .php53

htaccess von oxid:

<IfModule mod_rewrite.c>

Options +FollowSymLinks
RewriteEngine On
RewriteBase /OXID_ESHOP_CE_4.5.8_42471(3)

RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]

RewriteCond %{REQUEST_URI} oxseo\.php$
RewriteCond %{QUERY_STRING} mod_rewrite_module_is=off
RewriteRule oxseo\.php$ oxseo.php?mod_rewrite_module_is=on [L]

RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js|\.htc)$ %{REQUEST_URI}/ [R=301,L]

RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.html|\/)$ oxseo.php


RewriteCond %{REQUEST_URI} (\/out\/pictures\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.jpg|\.gif|\.png)$ core/utils/getimg.php

</IfModule>

# disabling log file access from outside
<FilesMatch "(EXCEPTION_LOG\.txt|\.log$|\.tpl$|pkg.rev)">
order allow,deny
deny from all
</FilesMatch>

Options -Indexes
DirectoryIndex index.php index.html

Kombiniert habe ich es so (einfach hintereinander geschrieben):

###################################
# modified by dudit 2011
# http://www.dudit.de
###################################
#AddDefaultCharset utf-8
#AddHandler x-httpd-php .php4
AddHandler x-httpd-php5 .php
#AddHandler x-httpd-php53 .php53

<IfModule mod_rewrite.c>

Options +FollowSymLinks
RewriteEngine On
RewriteBase /OXID_ESHOP_CE_4.5.8_42471(3)

RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]

RewriteCond %{REQUEST_URI} oxseo\.php$
RewriteCond %{QUERY_STRING} mod_rewrite_module_is=off
RewriteRule oxseo\.php$ oxseo.php?mod_rewrite_module_is=on [L]

RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js|\.htc)$ %{REQUEST_URI}/ [R=301,L]

RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.html|\/)$ oxseo.php


RewriteCond %{REQUEST_URI} (\/out\/pictures\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.jpg|\.gif|\.png)$ core/utils/getimg.php

</IfModule>

# disabling log file access from outside
<FilesMatch "(EXCEPTION_LOG\.txt|\.log$|\.tpl$|pkg.rev)">
order allow,deny
deny from all
</FilesMatch>

Options -Indexes
DirectoryIndex index.php index.html

Ist das so richtig?

Zum Abschluß habe ich dann in htaccess & config.inc.php meinen Unterordner /OXID_ESHOP_CE_4.5.8_42471(3) gelöscht. Richtig so?

Jetzt erscheint:

Warning: include(/var/www/web1968/html/OXID_ESHOP_CE_4.5.8_42471(3)/core/oxutilsfile.php) [function.include]: failed to open stream: No such file or directory in /var/www/web1968/html/core/oxfunctions.php on line 62

Warning: include() [function.include]: Failed opening ‘/var/www/web1968/html/OXID_ESHOP_CE_4.5.8_42471(3)/core/oxutilsfile.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/web1968/html/core/oxfunctions.php on line 62

Fatal error: Class ‘oxUtilsFile’ not found in /var/www/web1968/html/core/oxconfig.php on line 355.

Aktualisierung. Ich habe den Temp-ordner gelöscht, jetzt geht alles.

die OXID - .htaccess muss im Shopverzeichnis liegen - und die config.inc.php ist auch notwendig, dort stehen die Pfade und Zugangsdaten für die Datenbank drin

Bei Dir also beide Dateien in /OXID_ESHOP_CE_4.5.8_42471(3)