Hallo! Ich möchte hier einen Internetshop auf meinen Linux Rechner lokal zum laufen bringen. Dazu habe ich mir unter /usr/local/httpd/htdocs/ einen Ordner Shop angelegt. Man kann ihn auch mit dem Netscape unter http://localhost/shop/ aufrufen und bedienen. Nur sind da manche links drin die auf meine Domain laufen, wie kann ich meinen Linux Rechner jetzt sagen, daß www.xxxxx.de gleich der Ordner http://localhost/shop/ ist? Danke Daniel EMAIL: Daniel@bladeck.de --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
From: "Daniel Bladeck" <postmaster@bladeck.de> Sent: Wednesday, October 18, 2000 10:07 AM
Hallo!
Ich möchte hier einen Internetshop auf meinen Linux Rechner lokal zum laufen bringen. Dazu habe ich mir unter /usr/local/httpd/htdocs/ einen Ordner Shop angelegt. Man kann ihn auch mit dem Netscape unter http://localhost/shop/ aufrufen und bedienen. Nur sind da manche links drin die auf meine Domain laufen, wie kann ich meinen Linux Rechner jetzt sagen, daß www.xxxxx.de gleich der Ordner http://localhost/shop/ ist?
/etc/httpd/httpd.conf Stichwort: <VirtualHost> Info's gibt's auch unter http://localhost -> Apache Manual -- Marco Dieckhoff icq# 22243433 PGP key 9EFA D64F 5DAA D36B E0E7 CE1B 9E1B 4903 0C51 1632 --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
On Wed, Oct 18, 2000 at 10:07 +0200, Daniel Bladeck wrote:
Hallo!
Ich möchte hier einen Internetshop auf meinen Linux Rechner lokal zum laufen bringen. Dazu habe ich mir unter /usr/local/httpd/htdocs/ einen Ordner Shop angelegt. Man kann ihn auch mit dem Netscape unter http://localhost/shop/ aufrufen und bedienen. Nur sind da manche links drin die auf meine Domain laufen, wie kann ich meinen Linux Rechner jetzt sagen, daß www.xxxxx.de gleich der Ordner http://localhost/shop/ ist?
Wie Du es im Subject geschrieben hast- Nameserver aufsetzen. Dazu doku unter /usr/doc. Oder in /etc/hosts eine Zeile der Art: 195.44.254.22 home.netscape.com home6.netscape.com anlegen. z. B. müßte 127.0.0.1 localhost www.xyz.de genügen Oder Du nennst Deinen Rechner www und setzt in der config-Datei des httpd das docdir auf /usr/local/httpd/htdocs/shop. Ist vielleicht die einfachste Lösung. Grüße Volker -- The main failure in computers is usually between keyboard and chair. (unknown) Volker Tanner <VolkerTanner@kade.de> --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Wie Du es im Subject geschrieben hast- Nameserver aufsetzen. Dazu doku unter /usr/doc. Oder in /etc/hosts eine Zeile der Art: 195.44.254.22 home.netscape.com home6.netscape.com
anlegen. z. B. müßte 127.0.0.1 localhost www.xyz.de genügen
Oder Du nennst Deinen Rechner www und setzt in der config-Datei des httpd das docdir auf /usr/local/httpd/htdocs/shop. Ist vielleicht die einfachste Lösung.
Das hört sich doch recht einfach an! Das habe ich jetzt doch mal so gemacht, jetzt habe ich nur noch ein kleines Problem und zwar ist es so, wenn ich www.brandt.de eingebe soll er in das Verzeichnis /usr/local/httpd/htdocs/shop/ springen. Jetzt bringt er immer noch die Startseite von Suse, wo kann ich das ändern? Was ist mit "setze das docdir auf ...." gemeint, das ist doch noch das Problem, oder? Danke Daniel EMAIL: Daniel@bladeck.de --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Daniel Bladeck wrote:
Das hört sich doch recht einfach an! Das habe ich jetzt doch mal so gemacht, jetzt habe ich nur noch ein kleines Problem und zwar ist es so, wenn ich www.brandt.de eingebe soll er in das Verzeichnis /usr/local/httpd/htdocs/shop/ springen. Jetzt bringt er immer noch die Startseite von Suse, wo kann ich das ändern? Was ist mit "setze das docdir auf ...." gemeint, das ist doch noch das Problem, oder?
hast du dir eigentlich schon einmal die httpd.conf angesehen und konfiguriert? dann sollten sich eigentlich diese fragen nicht stellen. zum einen liest du dort wie das das doc-verzeichnis konfigurierst und zum anderen kannst du dort lesen, wie du einen virtuellen webserver einrichtest. letzteres ist das was du eigentlich brauchst. gruß oliver --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
participants (4)
-
linux@jwr.de
-
ol@ccmconsult.de
-
postmaster@bladeck.de
-
VolkerTanner@kade.de