View previous topic :: View next topic |
Author |
Message |
Hotstuff Guru
Joined: 19 Sep 2004 Posts: 487 Location: Schweiz ( Zürich )
|
Posted: Fri May 06, 2005 10:35 pm Post subject: Probleme mit Apache2 |
|
|
Hallo
Als Standart ist ja /var/www/localhost/htdocs. Ich will aber das Verzeichnis ändern das es von einem anderen Odner die Webseite anzeigt.
Nämlich von /home/dave/www/htdocs/
Wo muss ich überall den Pfad ändern das es funktioniert.
Habe auch ssl und phpmyadmin. Phpmyadmin sollte automatisch erkennen das es in das /home/dave/www/htdocs Verzeicnis installieren soll.
Vielen Dank
Gruss Davr _________________ Root Server 1: INTEL Core 2 Quad Q6600 "Kentsfield", 4x 2.40GHz, 4GB DDR2 Ram, Gentoo 2007.0 32Bit
Root Server 2: INTEL Core 2 Quad Q6600 "Kentsfield", 4x 2.40GHz, 4GB DDR2 Ram, Gentoo 2007.0 64Bit |
|
Back to top |
|
|
Schnitzel n00b
Joined: 02 Jan 2004 Posts: 39
|
Posted: Fri May 06, 2005 10:55 pm Post subject: |
|
|
Schonmal in die /etc/apache2/conf/apache2.conf reingeschaut?
Da steht gleich ganz oben was von DocumentRoot..das musste ändern..
MfG |
|
Back to top |
|
|
Hotstuff Guru
Joined: 19 Sep 2004 Posts: 487 Location: Schweiz ( Zürich )
|
Posted: Sat May 07, 2005 6:57 am Post subject: |
|
|
Hallo
Wenn ich es so mache bekomme ich immer diese Fehlermeldung
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/home/dave/htdocs"
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/home/dave/htdocs">
Fehlermeldung
localhost root # /etc/init.d/apache2 restart
* Restarting apache2...
Warning: DocumentRoot [/var/www/localhost/htdocs] does not exist
Gruss Dave
Nb: Habe es Problem gelöst, wie es scheint muss der Odner einfach lehr dort stehen. _________________ Root Server 1: INTEL Core 2 Quad Q6600 "Kentsfield", 4x 2.40GHz, 4GB DDR2 Ram, Gentoo 2007.0 32Bit
Root Server 2: INTEL Core 2 Quad Q6600 "Kentsfield", 4x 2.40GHz, 4GB DDR2 Ram, Gentoo 2007.0 64Bit |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Sat May 07, 2005 7:04 am Post subject: |
|
|
Also habe noch nie das verlangen gehabt das Verzeichniss zu ändern ... aber folgendes sollte dir aus den Konfigurationsdateien alle Stellen Zeigen an denen du das Verzeichniss ändern musst:
Code: |
cd /etc/apache/conf
grep -n "/var/www/localhost" *
|
Mfg
Sino |
|
Back to top |
|
|
|