|
|
|
onkel
Gast
|
« am: 11 Oktober 2004, 12:55:17 » |
|
so bkomme jetzt den fehler error 404  Aslo die guten Links sind alles auf Englich  . Das habe ich gemacht um vom error 500 auf error 404 zu kommen <IfModule mod_rewrite.c> umbenannt in <IfModule mod_rewrite.so>
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
onkel
Gast
|
« Antworten #1 am: 11 Oktober 2004, 21:11:57 » |
|
So vieleicht kann mir jemand mal ein Tip geben was da schief läuft hier mal die error_logs [Mon Oct 11 21:03:38 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/images/admin/.home.html.., referer: http://www.meine.de/admin.php?op=Configure&ok=14415[Mon Oct 11 21:03:40 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/Gallery.html, referer: http://www.meine.de/admin.php?op=Configure&ok=14415[Mon Oct 11 21:03:43 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/images/admin/.home.html.., referer: http://www.´meine.de/admin.php?op=Configure&ok=14415
|
|
|
|
« Letzte Änderung: 21 November 2005, 10:13:32 von onkel »
|
Gespeichert
|
|
|
|
|
|
|
onkel
Gast
|
« Antworten #2 am: 11 Oktober 2004, 22:20:48 » |
|
 schade ..niemand eine Idee ....
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
jubilee
Gast
|
« Antworten #3 am: 12 Oktober 2004, 09:44:16 » |
|
Hallo ! File does not exist: /srv/www/htdocs/web1/html/images/admin/.home.html Nur das die angegebene Datei nicht funktioniert weil nicht vorhanden. Wenn Du ein rewrite mit diesem Ziel konfiguriert hast, dann nicht richtig. Ausserdem .home.html Muss der Punkt davor nicht weg ?? MfG jubilee
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
onkel
Gast
|
« Antworten #4 am: 12 Oktober 2004, 11:59:33 » |
|
 ich gebe auf ..... da stimmt eine menge nicht. warum sucht er immer nach dieser chat.gif [Tue Oct 12 11:50:35 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/Impressum.html, referer: http://www.maroc-chat.de/[Tue Oct 12 11:50:39 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/chat.gif, referer: http://www.maroc-chat.de/[Tue Oct 12 11:50:45 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/chat.gif, referer: http://www.maroc-chat.de/admin.php[Tue Oct 12 11:50:49 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/chat.gif, referer: http://www.maroc-chat.de/admin.php?op=nextlogin_0[Tue Oct 12 11:50:55 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/chat.gif, referer: http://www.maroc-chat.de/admin.php?op=welcome[Tue Oct 12 11:50:59 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/chat.gif, referer: http://www.maroc-chat.de/admin.php?op=Configure[Tue Oct 12 11:51:11 2004] [error] [client 84.129.94.216] File does not exist: /srv/www/htdocs/web1/html/chat.gif, referer: http://www.maroc-chat.de/index.php[Tue Oct 12 11:51:12 2004] [error] [client 84.135.132.14] File does not exist: /srv/www/htdocs/web1/html/chat.gif, referer: http://www.maroc-chat.de/admin.php?op=Configure&ok=14415[Tue Oct 12 11:51:17 2004] [error] [client 217.234.115.156] File does not exist: /srv/www/htdocs/web1/html/chat.gif, referer: http://www.dimadima.de/modules.php?name=Private_Messages&op=read&id=854719[Tue Oct 12 11:51:18 2004] [error] [client 84.129.94.216] File does not exist: /srv/www/htdocs/web1/html/chat.gif, referer: http://www.maroc-chat.de/modules.php?op=modload&name=eBoard&file=viewthread&tid=726&page=3
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
Andi
|
« Antworten #5 am: 12 Oktober 2004, 12:51:16 » |
|
Hi  bevor wir hier weitermachen, poste mal deine .htaccess datei, die im mx-root liegt.
|
|
|
|
|
Gespeichert
|
schön´s Grüssle, Andi Kein Support über PN, Mail oder ICQ! Bitte die Fragen im Forum stellen, nur so helfen die Antworten auch den anderen Usern. Bitte auch die Boardsuche nicht vergessen, oft ist genau dein Problem schon an anderer Stelle gelöst worden!
|
|
|
|
|
|
onkel
Gast
|
« Antworten #6 am: 12 Oktober 2004, 13:22:28 » |
|
Ich habe <IfModule mod_rewrite.c> in <IfModule mod_rewrite.so> geänder.
# rename this file to .htaccess, and you will get nice and clean urls.
<IfModule mod_rewrite.so> Options +FollowSymLinks
RewriteEngine on # Depends on your configuration, you must set RewrteBase to # switch on Mod_rewrite. See for this the online docs: # http://httpd.apache.org/docs/mod/mod_rewrite.html # # RewriteBase /www
# individuelle Rewrite-Regeln: RewriteRule ^home\.htm(l?) index.php [L] RewriteRule ^backend\.htm(l?)|rss\.xml backend.php [L]
# Your_Account Modul: RewriteRule ^register-me\.htm(l?) modules.php?name=User_Registration [L] RewriteRule (^myaccount|^log-me-in)\.htm(l?) modules.php?name=Your_Account [L] RewriteRule ^log-me-out\.htm(l?) modules.php?name=Your_Account&op=logout [L] RewriteRule ^mydata\.htm(l?) modules.php?name=Your_Account&op=edituser [L] RewriteRule ^mysettings\.htm(l?) modules.php?name=Your_Account&op=edithome [L]
# eBoard: RewriteRule ^forum-([0-9]*)\.html modules.php?name=eBoard&file=forumdisplay&fid=$1 [L] RewriteRule ^forum-thread-([0-9]*)\.html modules.php?name=eBoard&file=viewthread&tid=$1 [L] RewriteRule ^forum-thread-([0-9]*)-([0-9]*)-([A-Z]*).html modules.php?name=eBoard&file=viewthread&tid=$1&page=$2&orderdate=$3 [L] RewriteRule ^forum-today\.html modules.php?name=eBoard&file=messotd [L] RewriteRule ^forum-news\.html modules.php?name=eBoard&file=messslv [L] RewriteRule ^forum-search\.html modules.php?name=eBoard&file=search [L] RewriteRule ^forum-stats\.html modules.php?name=eBoard&file=stats [L] RewriteRule ^forum-faq\.html modules.php?name=eBoard&file=misc&action=faq [L] RewriteRule ^forumcat-([0-9]*)\.html modules.php?name=eBoard&gid=$1 [L] RewriteRule ^(forum|eBoard)\.html modules.php?name=eBoard [L]
# URL's automatisch generieren fuer alles was ueber die modules.php laeuft # die Variable $prepareauto muss in der modrewrite.php auf TRUE stehen! # diese Regeln nicht verändern!!!
#RewriteRule ^([^-]+)-(.+)\.html(.*)$ mod.php?$1&________________________$2$3 [L]
RewriteRule ^([^-]+)-([^/]+)\.html$ mod.php?$1&________________________$2 [L] RewriteRule ^([^-/]+)\
.html$ mod.php?$1 [L] RewriteRule ^([^-/]+)\.html$ mod.php?$1 [L] </IfModule>
### ausgabe komprimieren, ### funktioniert nur wenn zlib installiert und php nicht im CGI-Modul laeuft #php_flag zlib.output_compression on #php_value zlib.output_compression_level 6
# pragmaMx 0.2 / Mx 2.2 Content Management System Platform # CVS $Id: mod_rewrite.htaccess,v 1.1.2.3 2004/09/18 17:48:02 EllselAn Exp $
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
Andi
|
« Antworten #7 am: 12 Oktober 2004, 13:26:27 » |
|
Ich habe <IfModule mod_rewrite.c> in <IfModule mod_rewrite.so> geänder. Warum? Nimm die Zeile mal ganz raus zusätzlich noch diese rausnehmen: </IfModule>Wenn es dann nicht geht, ist der Server nicht für mod_rewrite konfiguriert.
|
|
|
|
|
Gespeichert
|
schön´s Grüssle, Andi Kein Support über PN, Mail oder ICQ! Bitte die Fragen im Forum stellen, nur so helfen die Antworten auch den anderen Usern. Bitte auch die Boardsuche nicht vergessen, oft ist genau dein Problem schon an anderer Stelle gelöst worden!
|
|
|
|
|
|
onkel
Gast
|
« Antworten #8 am: 12 Oktober 2004, 13:42:44 » |
|
Nimm die Zeile mal ganz raus zusätzlich noch diese rausnehmen: </IfModule>
also ich habe die zeile rausgenommen und bekommen einen 500 error . Warum? ja, weil das module mod_rewrite.so heißt oder ? Wenn ich aus mod_rewrite.c mod_rewrite.so mache bekomme ich einen 404 error. mfg Onkel
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
landschaf
|
« Antworten #9 am: 12 Oktober 2004, 15:50:07 » |
|
High Ist das ein Webspace oder ein Root-Server? Wie der Befehl "if module" schon besagt muss das Modul installiert sein. Da hilft auch die Änderung der Schreibweise nicht weiter. Manchmal stehen die vorhandenen Apache Module in der phpinfo(). Bei normalem Webspace ist und Standard Root-Servern ist das Modul meist nicht installiert.
ByBy Landschaf
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
onkel
Gast
|
« Antworten #10 am: 12 Oktober 2004, 16:20:34 » |
|
Hi landschaf, Wenn du alles durch liest, dann weißt du was für ein server ich habe  Also bei mir ist das Module mod_rewrite geladen. Das module heißt bei mir mode_rewrite.so mfg onkel
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
Andi
|
« Antworten #11 am: 12 Oktober 2004, 16:28:49 » |
|
Hi  diese <if module Anweisung ist nur ein Check, ob da wirklich ein Modul geladen ist, damit es beim unachtsamen aktivieren der .htaccess, bei nicht vorhandener mod_rewrite Unterstützung zu einem 500er Fehler kommt. Wenn sicher ist, dass der Server korrekt für mod_rewrite konfiguriert ist, sind diese beiden Zeilen unnötig. Also, die beiden Zeilen <IfModule mod_rewrite.so> und </IfModule> entfernen. Kommt dann ein 500er Fehler kommt, stimmt was nicht. Die Error-Logfiles des Servers müssten darüber auskunft geben, was den 500er verursacht. Schau da mal rein.
|
|
|
|
|
Gespeichert
|
schön´s Grüssle, Andi Kein Support über PN, Mail oder ICQ! Bitte die Fragen im Forum stellen, nur so helfen die Antworten auch den anderen Usern. Bitte auch die Boardsuche nicht vergessen, oft ist genau dein Problem schon an anderer Stelle gelöst worden!
|
|
|
|
|
|
landschaf
|
« Antworten #12 am: 12 Oktober 2004, 16:58:50 » |
|
Sorry, wer lesen kann ist klar im Vorteil  Asche auf mein Haupt. Wenn das Modul .so heist müstte dein Server ein Apache 2.... sein. Ist das so? Kommst du an die httpd.conf ran oder falls Confixx und co an die Datei wo die Module geladen werden? Ich hab mich auch eine Weile mit dem Problem rumgeschlagen und an der .htaccess lags nicht, sondern an der Serverconfiguration. Ich versuch mal deine in einen meiner Server zu laden. Zum Testen ist es sinnvoll, den Admin von mod_rewrite auszunehmen und mit einem anderen Browser als Benutzer zu testen. Bis gleich Landschaf
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
landschaf
|
« Antworten #13 am: 12 Oktober 2004, 17:08:38 » |
|
High ich hab deine htaccess getestet und sie macht Stress. Hab meine originale wieder reingespielt und alles war wieder gut. Datei hängt am Posting dran. txt in htaccess ändern Ist zumindest einen Versuch wert  Tschüss Landschaf
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
onkel
Gast
|
« Antworten #14 am: 12 Oktober 2004, 17:14:12 » |
|
genau ...ich habe ein Root Server mit apache2 und habe auch das Module zum Laufen gebracht. Hier zu sehen: Loaded Modules core prefork http_core mod_so mod_access mod_actions mod_alias mod_auth mod_auth_dbm mod_autoindex mod_cgi mod_dir mod_env mod_expires mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_ssl mod_suexec mod_userdir sapi_apache2 mod_rewrite das hier habe ich im confixx_vhost.conf eingetragen <Directory /srv/www/htdocs/web1/html> Options +FollowSymLinks +SymLinksIfOwnerMatch </Directory> das sind auszüge aus der error_log [Tue Oct 12 16:58:00 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:00 2004] [alert] [client 195.135.138.196] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here, referer: http://www.maroc-chat.de [Tue Oct 12 16:58:00 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:00 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:01 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:01 2004] [alert] [client 217.82.21.31] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:01 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:01 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:02 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:02 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:02 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:02 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:03 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:03 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:04 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:04 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here [Tue Oct 12 16:58:05 2004] [alert] [client 217.86.1.11] /srv/www/htdocs/web1/html/.htaccess: Options not allowed here
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
onkel
Gast
|
« Antworten #15 am: 12 Oktober 2004, 17:27:54 » |
|
So deine Datei macht auch stress  siehe error_log oben
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
landschaf
|
« Antworten #16 am: 12 Oktober 2004, 17:31:25 » |
|
HUUUUU Hast du das direkt in die conf eingetragen??? Ich hab mich ein halbes Jahr mit confixx rumgeschlagen und soweit ich das weiß überschreibt das solche Einträge aus der Datebank. Dem Logfile ist eher zu entnehmen, das htaccess nicht darf. Probier mal AllowOverride All. Adresse ist www.maroc-chat.de/ bei Server4you? Tschüss Landschaf
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
onkel
Gast
|
« Antworten #17 am: 12 Oktober 2004, 18:24:45 » |
|
Ja bin bei Server4you  ich habe das in confixx mit httpd Spezial eingetragen. Was meinst du mit AllowOverride All. ? mfg Onkel
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
landschaf
|
« Antworten #18 am: 12 Oktober 2004, 18:30:00 » |
|
High Aus Sicherheitsgründen dürfte AllowOverride auf None stehen. D.h. .htaccess darf keine Anweisungen des Servers überschreiben. Hast du mal im confixx Forum geschaut?
Tschüss Landschaf
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
onkel
Gast
|
« Antworten #19 am: 12 Oktober 2004, 20:20:23 » |
|
So ne habe ich nicht wo finde ich denn diesese Forum ......kurze erklärung was du meinst ...komme nicht ganz mit.
|
|
|
|
|
Gespeichert
|
|
|
|
|