localhost/strona/
a nie
localhost/~strona

Patrzyłem w configu (httpd.conf) ale znalazłem jedynie coś takiego
Cytat
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
# Under Win32, we do not currently try to determine the home directory of
# a Windows login, so a format such as that below needs to be used. See
# the UserDir documentation for details.
<IfModule mod_userdir.c>
UserDir "c:/usr/krasnal/www/*"
</IfModule>
# directory if a ~user request is received.
#
# Under Win32, we do not currently try to determine the home directory of
# a Windows login, so a format such as that below needs to be used. See
# the UserDir documentation for details.
<IfModule mod_userdir.c>
UserDir "c:/usr/krasnal/www/*"
</IfModule>
Nie wiem jak to zmienić (jeśli to to), żeby wyeliminować domyślną tyldę. Wcześniej instalowałem wszystko osobno (nie krasnala) i domyślnie miałem bez tyldy.
No i przy okazji drugie pytanie. Dlaczego po wpisaniu
ErrorDocument 404 c:/usr/apache/error/404.php
plik nie jest rozpoznawany jako php tylko wyświetla przy errorze zawartość jako text?
natomiast po wpisaniu
ErrorDocument 404 "nie ma takiej strony...
nie wyświetla się text tylko standardowa odpowiedź IE o errorze 404
Ogólnie wszystko jest skonfigurowane poprawnie, strony php chodzą bez problemu...