----------------------------------- Amailer Sat Jul 19, 2003 9:28 pm How to change the error message on apache? ----------------------------------- Ok, i wanna change the 404 and etc on my apache server. I know the .htaccess and etc. ErrorDocument 404 .... But that does not work. Is it something to do with the: Alias /error/ "C:/Program Files/Apache Group/Apache2/htdocs/error/" Alias /error/ "@exp_errordir@/" AllowOverride None Options IncludesNoExec AddOutputFilter Includes html AddHandler type-map var Order allow,deny Allow from all LanguagePriority en de es fr it nl sv ForceLanguag or what? any help? ----------------------------------- UBC_Wiskatos Sat Jul 19, 2003 11:59 pm Re: How to change the error message on apache? ----------------------------------- Ok, i wanna change the 404 and etc on my apache server. I know the .htaccess and etc. ErrorDocument 404 .... But that does not work. Is it something to do with the: Alias /error/ "C:/Program Files/Apache Group/Apache2/htdocs/error/" Alias /error/ "@exp_errordir@/" AllowOverride None Options IncludesNoExec AddOutputFilter Includes html AddHandler type-map var Order allow,deny Allow from all LanguagePriority en de es fr it nl sv ForceLanguag or what? any help? This is what the .htaccess file looks like for my site: ErrorDocument 400 /errors/404.shtml ErrorDocument 401 /errors/401.shtml ErrorDocument 403 /errors/403.shtml ErrorDocument 404 /errors/404.shtml ErrorDocument 500 /errors/500.shtml You put it in the top-most folder you want to apply it to, as it trickles down to all the folders below it in the hierarchy. ----------------------------------- Amailer Sun Jul 20, 2003 12:30 am ----------------------------------- Ya ya i know all that, but it don't work. I think its got somethign to do witht he httppd ----------------------------------- Tony Sun Jul 20, 2003 12:43 am ----------------------------------- cant you just replace those error files? ----------------------------------- Blade Sun Jul 20, 2003 1:51 am ----------------------------------- yeah... if your .htaccess file isnt working you may have your permissions set wrong in your httpd.conf file... theres a section in there that looks like AllowOverride None Order allow,deny Allow from All you'll have to change it to AllowOverride All Order allow,deny Allow from all so that you can change stuff with your .htaccess file ----------------------------------- UBC_Wiskatos Sun Jul 20, 2003 2:13 pm ----------------------------------- yeah... if your .htaccess file isnt working you may have your permissions set wrong in your httpd.conf file... theres a section in there that looks like AllowOverride None Order allow,deny Allow from all you'll have to change it to AllowOverride all Order allow,deny Allow from all so that you can change stuff with your .htaccess file Yeah, I'm not sure how that goes in Windows, because I work with Linux and the CHMOD you set is 666 I believe. ----------------------------------- Blade Sun Jul 20, 2003 4:21 pm ----------------------------------- you cant chmod in windows... you just ahve to set the override in the httpd.conf file for your .htaccess files to work properly ----------------------------------- Amailer Sun Jul 20, 2003 5:21 pm ----------------------------------- yeah... if your .htaccess file isnt working you may have your permissions set wrong in your httpd.conf file... theres a section in there that looks like AllowOverride None Order allow,deny Allow from All you'll have to change it to AllowOverride All Order allow,deny Allow from all so that you can change stuff with your .htaccess file i did not find anything like that.... AllowOverride None Options IncludesNoExec AddOutputFilter Includes html AddHandler type-map var Order allow,deny Allow from all LanguagePriority en de es fr it nl sv ForceLanguag is all i found ----------------------------------- Blade Sun Jul 20, 2003 7:41 pm ----------------------------------- well you could try changing the 'Override None' theere to 'Override All'. Restart your server, then see if your .htaccess files work ----------------------------------- UBC_Wiskatos Mon Jul 21, 2003 6:27 pm ----------------------------------- you cant chmod in windows... you just ahve to set the override in the httpd.conf file for your .htaccess files to work properly I know you can't CHMOD in Windows, but if he is running NTFS, he can set file permissions (that is, the equivalent of CHMOD). ----------------------------------- Amailer Mon Jul 21, 2003 8:01 pm ----------------------------------- ya ya ya, Permissions everyone/user what ever is like CHOMD...for windows though :/ But the prob is still not solved!