Hallo auch: Am Dienstag, 10. Juni 2003 13:30 schrieb alfred pompl:
Hallo zusammen, ich habe immer noch Progbleme mit dem Apache Webserver, der nicht mehr bereit ist seit der SuSE 8.2 .htaccess Dateien an zu erkennen und diese Verzeichnisse zu sperren.
Nun, denke dein Problem liegt in der "httpd.conf". Je nachdem, was für einen Apache du hast, wird diese Datei am wahrscheinlichsten unter "/etc/httpd.conf" zu finden sein. Da steht ein Parameter "AllowOverride" drin. Setz den mal auf "All" oder "AuthConfig". Danach den Apachen restarten, sollte dann klappen.
Auch lassen sich Skripte ausführen die nicht über x verfügen, in PHP auch sehr beunruhigend, wer kann mir hier weiter helfen wer ist ein 8.2 SuSE Profie Spezialist und kennt sich mit dem Apache unter der 8.2 aus.
Bin ich leider nicht, bin noch noob. Denke aber, das ich mit dem oben Erwähnten richtig liegen könnte. Meinst du bei PHP echte Skripte, die aus PHP angestossen werden oder einfach PHP-Webseiten. Letztere müssen IMHO nämlich nicht ausführbar sein, das hat dann schon seine Richtigkeit. Stösst du aus PHP heraus allerdings ein shell-script an, sollte das schon das "x" besitzen oder nix tun.
Bis jetzt habe ich alles mit yast konfiguriert, noch habe ich keine direkten Eingriffe mit vi an den Konfig Dateien vorgenommen ausgenommen .htaccess die ich von Hand angelegt habe. Grüße Alfred
Ist gar nicht so wild. Ich arbeite jetzt seit 1 jahr immer mal wieder mit Linux und hab mir den vi angewöhnt. Wenn man ihn 2-3 mal benutzt hat, tuts auch nicht mehr weh:) Aber da ich mich selbst noch an meine ersten Schwierigkeiten erinnere, hier eine kleine Mini-Hilfe. Nutze sie, wenn du magst: vi /etc/httpd.conf ## Nun bist du im Kommandomodus in der Datei. /AllowOverride (mit return abschicken) ## So findest du den Parameter Taste "einfügen" drücken ## Nun bist du im Eingabemodus. Den Parameter wie oben beschrieben ändern, dann "Escape" drücken. ## Und schon hast du den Eingabemodus wieder verlassen. Nun drücke ":", dann "wq" und "Return" ## Jetzt hast du die Änderung gespeichert und den vi verlassen. Hoffe, hab in der Kurzanleitung keine groben Bugs fabriziert, wenn doch alle Schmähungen an mich oder direkt an /dev/null:) Bernd -- One OS to rule them all, one OS to find them. One OS to bring them all, and in the darkness bind them In the land of Redmond, where the shadows lie.