hallo leute,
inst. gerade ein oxid 4.6 auf ubuntu server 12.04 lts.
der aktuelle stand der inst. ist hier im thread zu lesen
http://forum.oxid-esales.com/showthread.php?t=14359
bekomme noch eine rote fehlermeldung zu apache mod_rewrite
das module scheint inst. zu sein. auch finde ich die .htaccess datei mit den voreinstellungen.
hat jemand eine idee warum es dennoch nicht will?
danke & lg
Wo taucht die Fehlermeldung denn auf? Im Serverlog (wie lautet die genaue Meldung) oder beim Oxid-Systemcheck?
Bei letzterem ist wichtig, dass der OXID-Webspace auch direkt über’s Netz erreichbar ist. Sollte das z.B. mit htaccess-password geschützt sein, so spuckt OXID eine Fehlermeldung aus, obwohl alles korrekt installiert ist.
Fehlermeldung taucht beim OXID Voraussetzungscheck auf!
Serverzugriff läuft übers Intranet / Lan per ssh console & über
http://192.168.meine.ip.adresse/shop/setup
hier die .htaccess datei:
# In case you want to add a .htpasswd authentification
# you'll have to add the host of the shop as an allowed entity,
# so that calls from the host skip the authentification
# Example:
# Order Deny,Allow
# Deny from All
# AuthType Basic
# AuthName "Access not allowed"
# AuthUserFile path_to_htpasswd_file/.htpasswd
# Require valid-user
# Allow from localhost
# Satisfy Any
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /shop
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 (\.jpe?g|\.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
du müsstest AllowOverride in den host Einstellungen erlauben
=> AllowOverride all
[QUOTE=vanilla thunder;88807]du müsstest AllowOverride in den host Einstellungen erlauben
=> AllowOverride all[/QUOTE]
wo finde ich diese host Einstellungen?
[QUOTE=vanilla thunder;88807]du müsstest AllowOverride in den host Einstellungen erlauben
=> AllowOverride all[/QUOTE]
Fieser kleiner Trick, gell? Unter Ubuntu sind die nämlich per default auf “none” gesetzt 
/etc/apache2/sites-available/default/
Gruß
welche der AllowOverride müssen denn auf all gesetzt werden? habe die ersten drei auf all geändert. bekomme dennoch den apache mod_rewrite error…
ach ja, habe natürlich den apache danach neu gestartet
hier meine default einstellungen:
<VirtualHost *:80>
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 ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
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>
habe die datei wie folgt geändert und den apache neu gestartet. funzt dennoch nicht …
/etc/apache2/sites-available/default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride all [B]#default None[/B]
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all [B]#default None[/B]
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 ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
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>
wirft apache keine Fehlermeldung?
versuch mal so:
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Sehe gerade dass das rewrite mod nicht geladen wird
administrator@wwwserver:/etc/apache2/mods-enabled$ ls -l
insgesamt 0
lrwxrwxrwx 1 root root 28 Mai 3 09:37 alias.conf -> ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 Mai 3 09:37 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 Mai 3 09:37 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 Mai 3 09:37 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 Mai 3 09:37 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 Mai 3 09:37 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 Mai 3 09:37 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 Mai 3 09:37 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 Mai 3 09:37 autoindex.conf -> ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 Mai 3 09:37 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 26 Mai 3 09:37 cgi.load -> ../mods-available/cgi.load
lrwxrwxrwx 1 root root 30 Mai 3 09:37 deflate.conf -> ../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 Mai 3 09:37 deflate.load -> ../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 Mai 3 09:37 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 Mai 3 09:37 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 Mai 3 09:37 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 27 Mai 3 09:37 mime.conf -> ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 Mai 3 09:37 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 Mai 3 09:37 negotiation.conf -> ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 Mai 3 09:37 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 27 Mai 3 09:37 php5.conf -> ../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 Mai 3 09:37 php5.load -> ../mods-available/php5.load
lrwxrwxrwx 1 root root 33 Mai 3 09:37 reqtimeout.conf -> ../mods-available/reqtimeout.conf
lrwxrwxrwx 1 root root 33 Mai 3 09:37 reqtimeout.load -> ../mods-available/reqtimeout.load
lrwxrwxrwx 1 root root 31 Mai 3 09:37 setenvif.conf -> ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 Mai 3 09:37 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root 29 Mai 3 09:37 status.conf -> ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 Mai 3 09:37 status.load -> ../mods-available/status.load
dann
a2enmod rewrite
service apache2 restart
sudo a2enmod rewrite
startet das mod!
fehler behoben, vielen DANK!
jetzt hab ich drei oder 4 Mal nachträglich die Code-Tags in Deinen Beiträgen gesetzt - bitte achte darauf, das erhöht die lesbarkeit deutlich
Einfach den Absatz markieren und da rechts oben auf die Raute klicken.
[QUOTE=Hebsacker;88832]jetzt hab ich drei oder 4 Mal nachträglich die Code-Tags in Deinen Beiträgen gesetzt - bitte achte darauf, das erhöht die lesbarkeit deutlich
Einfach den Absatz markieren und da rechts oben auf die Raute klicken.[/QUOTE]
Danke, werde dran denken!