Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme mit Apache2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Hotstuff
Guru
Guru


Joined: 19 Sep 2004
Posts: 487
Location: Schweiz ( Zürich )

PostPosted: Fri May 06, 2005 10:35 pm    Post subject: Probleme mit Apache2 Reply with quote

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
View user's profile Send private message
Schnitzel
n00b
n00b


Joined: 02 Jan 2004
Posts: 39

PostPosted: Fri May 06, 2005 10:55 pm    Post subject: Reply with quote

Schonmal in die /etc/apache2/conf/apache2.conf reingeschaut?

Da steht gleich ganz oben was von DocumentRoot..das musste ändern..

MfG
Back to top
View user's profile Send private message
Hotstuff
Guru
Guru


Joined: 19 Sep 2004
Posts: 487
Location: Schweiz ( Zürich )

PostPosted: Sat May 07, 2005 6:57 am    Post subject: Reply with quote

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
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Sat May 07, 2005 7:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum