Warnung: file_put_contents(/home/www/web1/html/php_dev/test.txt) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/web1/html/php_dev/sys/lib.activity.php (Zeile 58)
www.root einrichten [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr
ebiz-webhosting
- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
www.root einrichten


 
WebPSM
12-05-2002, 16:28 
 
hallo,
wie muss ich den pfad bei dem apache-server einstellen, damit er wenn ich auf http://localhost/ zugreife automatisch in dem richtigen verzeichne (wo meine homepage liegt) ist?

danke schonmal.
WebPSM

 
JoelH
12-05-2002, 17:13 
 
in der httpd.conf ist der Eintrag :
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/html"

#


Das ist das verzeichnis, das musst du ändern/anpassen

 
Chillmaster
14-05-2002, 18:08 
 
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName localhost

- -

Alle Zeitangaben in WEZ +2. Es ist jetzt 18:06 Uhr.