# 1und1 htaccess aktuell

**URL:** <https://forum.shopware.com/t/1und1-htaccess-aktuell/19898>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [24. April 2014 um 12:35 UTC](https://forum.shopware.com/t/1und1-htaccess-aktuell/19898 "2014-04-24T12:35:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![boxoase](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@boxoase](https://forum.shopware.com/u/boxoase)\
**Post date:** [24. April 2014 um 12:35 UTC](https://forum.shopware.com/t/1und1-htaccess-aktuell/19898/1 "2014-04-24T12:35:08Z")

</div>

Moin, habe etliche Beiträge zu 1und1 sowie htaccess gelesen, aber bislang keine passende Lösung gefunden. Haben die aktuelle version installiert auf nem 1und1 webspace in einem unterordner und die domain [http://s450366026.online.de/](http://s450366026.online.de/) verweisst direkt auf diesen Ordner. trotzdem funktionieren die weiterleitungen nicht. hat jemand ne idee dazu? haben die htaccess derzeit in der standart auslieferungs version…  
RewriteEngine on

#RewriteBase /shopware/

# Https config for the backend

#RewriteCond %{HTTPS} !=on  
#RewriteRule backend/(.\*) https://%{HTTP\_HOST}%{REQUEST\_URI} [L,R=301]

RewriteRule shopware.dll shopware.php  
RewriteRule files/documents/.\* engine [NC,L]  
RewriteRule backend/media/(.\*) media/$1 [NC,L]

RewriteCond %{REQUEST\_URI} !(/(engine|files|templates)/)  
RewriteCond %{REQUEST\_URI} !(/media/(archive|banner|image|music|pdf|unknown|video)/)  
RewriteCond %{REQUEST\_FILENAME} !-f  
RewriteCond %{REQUEST\_FILENAME} !-d  
RewriteRule ^(.\*)$ shopware.php [PT,L,QSA]

# Fix missing authorization-header on fast\_cgi installations

RewriteRule .\* - [E=HTTP\_AUTHORIZATION:%{HTTP:Authorization},L]  
# Staging-Rules start #SetEnvIf Host “staging.test.shopware.in” ENV=staging DirectoryIndex index.html DirectoryIndex index.php DirectoryIndex shopware.php # Disables download of configuration  
Deny from all  
# Enable gzip compression  
AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript application/json  
  
  
ExpiresActive on  
ExpiresDefault “access plus 1 month”  
FileETag None  
  
Header append Cache-Control “public”  
Header unset ETag  
  
  
# Disables auto directory index  
Options -Indexes  
  
Options -MultiViews

# php\_value memory\_limit 128M

# php\_value max\_execution\_time 120

# php\_value upload\_max\_filesize 20M

php\_flag phar.readonly off  
php\_flag magic\_quotes\_gpc off  
php\_flag session.auto\_start off  
php\_flag suhosin.session.cryptua off  
php\_flag zend.ze1\_compatibility\_mode off  
# AddType x-mapp-php5 .php # AddHandler x-mapp-php5 .php

---

<div class="post-metadata">

**Author:** ![drakon](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/drakon/32/7724_2.png) [@drakon](https://forum.shopware.com/u/drakon)\
**Post date:** [24. April 2014 um 13:11 UTC](https://forum.shopware.com/t/1und1-htaccess-aktuell/19898/2 "2014-04-24T13:11:48Z")

</div>

Hallo, evtl. die RewriteBase aktivieren: `RewriteBase /` – Grüße Andreas

---

<div class="post-metadata">

**Author:** ![boxoase](https://avatars.discourse-cdn.com/v4/letter/b/e19adc/32.png) [@boxoase](https://forum.shopware.com/u/boxoase)\
**Post date:** [27. April 2014 um 16:43 UTC](https://forum.shopware.com/t/1und1-htaccess-aktuell/19898/3 "2014-04-27T16:43:00Z")

</div>

es klappt!!! vielen Herzlichen Dank soweit!
