OXID Community Forum> Rewrite rules for nginx / 403 offline.html and robots.txt |
Login |
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Reply |
|
|
Thread Tools | Display Modes |
|
Hello!
This is my last try to get this problem solved. I got stuck for a few days now. I setup Oxid eShop on a system with nginx (1.0.14), php-fpm and mysql. My vhost configuration has been inspired by Nginx Rewrite Regeln für OXID eShop. (german) Most things are working as expected, nothing to complain about, but when I call robots.txt or offline.html I get a 403 Forbidden with this configuration. When I comment out the following part, I can call robots.txt and offline.html with status 200 Found. So, there is nothing else that blocks access to those files. Code:
# SEO URLs auf die oxseo.php leiten.
location / {
if (!-e $request_filename) {
set $script_name /oxseo.php;
}
include fastcgi_params.oxid;
}
|
|||
| Reply |
| Bookmarks |
| Tags |
| 403, nginx, offlinehtml, rewrite, robotstxt, rules |
| Thread Tools | |
| Display Modes | |
|
Nicht Sichtbar
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| lighttpd rewrite rules | Henning256 | Installation and configuration | 21 | 10-22-2012 04:06 PM |
| Startseite verlinkt immer auf offline.html | Mannitu | Allgemeines | 2 | 01-24-2012 01:37 PM |
| Offline.html bearbeiten / Bild einfügen | mosesU | Newbies | 1 | 08-23-2011 08:13 AM |
| /offline.html ? | Marcel Schmiel | Installation und Konfiguration | 3 | 08-06-2010 03:39 PM |
| Die angeforderte Seite /Hauptkateogire/Subkategorie/offline.html konnte nicht gefunden werden | checkerhorst | Entwickler | 6 | 10-26-2009 09:16 AM |