Hallo zusammen,
nach stundenlanger Suche im Forum mit zwar vielen Beiträgen zu ähnlichen Themen aber ohne Lösung für mein Problem poste ich nun doch mal meine Sorgen.
Wenn ich in Joomla 1.5.14 die SEO aktiviere, wird nur noch auf der Startseite das template angezeigt, alle anderen erscheinen ohne Formatierung. In diversen Beiträgen steht, dass man dazu mod_rewrite aktivieren und die htaccess entsprechend umbenennen soll.
So weit so gut.
Wenn ich das aber mache, bekomme ich nur einen 403-Error.
Forbidden
You don't have permission to access / on this server.
Testweise habe ich eine ganz simple .htaccess erstellt
Die funktioniert.Code:RewriteEngine On RewriteRule (.*) http://www.google.de
Sobald ich aber die Original-htaccess von Joomla 1.5 nehme und dort die Engine aktiviere kommt der 403-Error.
zur Sicherheit (falls ich irgendwie eine falsche htaccess erwischt haben sollte) hier der Inhalt:
Probeweise habe ich auch mal alle Zeilen bis auf RewriteEngine On und die beiden letzten Zeilen (die mit den RewriteRules) auskommentiert, also so:Code:## # @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $ # @package Joomla # @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL # Joomla! is Free Software ## ##################################################### # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE # # The line just below this section: 'Options +FollowSymLinks' may cause problems # with some server configurations. It is required for use of mod_rewrite, but may already # be set by your server administrator in a way that dissallows changing it in # your .htaccess file. If using it causes your server to error out, comment it out (add # to # beginning of line), reload your site in your browser and test your sef url's. If they work, # it has been set by your server administrator and you do not need it set here. # ##################################################### ## Can be commented out if causes errors, see notes above. Options +FollowSymLinks # # mod_rewrite in use RewriteEngine On ########## Begin - Rewrite rules to block out some common exploits ## If you experience problems on your site block out the operations listed below ## This attempts to block the most common type of exploit `attempts` to Joomla! # # Block out any script trying to set a mosConfig value through the URL RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] # Block out any script that includes a ********** tag in URL RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L] # ########## End - Rewrite rules to block out some common exploits # Uncomment following line if your webserver's URL # is not directly related to physical file paths. # Update Your Joomla! Directory (just / for root) # RewriteBase / ########## Begin - Joomla! core SEF Section # RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC] RewriteRule (.*) index.php RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] # ########## End - Joomla! core SEF Section
-> gleiches Ergebnis, 403-ErrorCode:RewriteEngine On RewriteRule (.*) index.php RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
Da die einfache Umleitung zu Google funktioniert, muss es irgendetwas in der .htaccess sein, aber was??
Im Apache-Fehler-Log steht:
Option FollowSymLinks or SymLinksIfOwnerMatch is off...
Das wird aber doch in der .htacces mit
Options +FollowSymLinks eingeschaltet ??? Bin ratlos...
Auch der Tipp, in der apache-konfiguration den DirectoryIndex anzupassen (und Apache neu starten) hat nichts gebracht
Bin dankbar für jeden Tipp.Also so:
DirectoryIndex index.html index.cgi index.php index.pl index.xhtml
und nicht so:
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
Server ist ein STRATO V-Server mit Ubuntu 8.04.
...und hier noch die relevante Apatche-Konfiguration mit den vorgegebenen FollowSymLinks-Einträgen. Das sieht doch eigentlich auch so aus, als wäre alles OK, denn FollowSymLinks ist dort eingeschaltet.
SiegbertCode:NameVirtualHost * <VirtualHost *> ServerAdmin webmaster@localhost DocumentRoot /var/www/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost>


LinkBack URL
About LinkBacks
Zitieren

Lesezeichen