Am Mittwoch, 29. September 2004 23:43 schrieb Frank Thiel:
Hallo Liste,
Hallo Frank,
[...] Am besten wäre, dass bei Aufruf der Adresse : http://localhost/testname direkt die /home/testname/public_html/index.html geladen wird. (Bei der Standartkonfiguration momentan würde ja /srv/www/htdocs/testname/ index.html geladen, vorausgesetzt das Verzeichnis existiert. Dies soll aber NICHT geschehen)
-----/etc/httpd/httpd.conf----- # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # <IfModule mod_alias.c> # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. # Alias /icons/ "/srv/www/icons/" <Directory "/srv/www/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> -----/etc/httpd/httpd.conf----- HTH, George