Page 1 of 1

redirecting files using apache

Posted: Wed Nov 10, 2004 7:22 am
by pelegk2
first : i have .htaccess file with :
Redirect /test http://www.walla.co.il
when i access this folder it dosent redirect me - why is that?

second :
when i access a non existing page i recive the custom 404 error and not
my 404 error :
in the httpd.conf i did :
ErrorDocument 404 /error.htm
but it dosnet redirect to my error page!
why is that?
thnaks in advance
peleg

Posted: Wed Nov 10, 2004 7:35 am
by kettle_drum
Have you reset the server since you made the changes to the httpd.conf file? Are you allowed to write over the defualt settings by adding a .htaccess file?

Posted: Wed Nov 10, 2004 7:43 am
by pelegk2
yes i did restart the apache (its on windows by the way)
and what do u mean by :"Are you allowed to write over the defualt settings by adding a .htaccess file?
"