Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Eugen Mihailescu on March 29, 2004, 04:25:39 PM
-
Hi everybody,
2 wk ago I've just moved from the Win2K server to SME6, which makes a very good impression to me so far;
on issue I am not able to solve it and you might help me:
- i want to have on my web a custom http error page for code 404, ie. when a user request an invalid page on my web, the web server automatically returns that 404.html page instead on default browser message
in IIS i can do that and i wonder if with SME is also possible to do it in this way
thx,
Eugen
-
Hi,
Yes you can do this if you goto the directory called "/etc/squid/errors" in that directory you will see alot of files for instance "ERR_ACCESS_DENIED" this is a html format so just edit how you see fit press F4 in midnite commander (mc at command line) and edit from there if you know html :-D
HTH
-
Excelent; thx for your time and help
;o)
Eugen
Hi,
Yes you can do this if you goto the directory called "/etc/squid/errors" in that directory you will see alot of files for instance "ERR_ACCESS_DENIED" this is a html format so just edit how you see fit press F4 in midnite commander (mc at command line) and edit from there if you know html :-D
HTH
-
I've tested what you've suggested me, but it seems that has no effect;
more than that, I've found threads on the web that said that this custom changes are done on my proxy server rather than web server;
maybe you got me wrong so I will try reformulate the initial quote:
how can I have my custom error files on the web in order to provide the web visitor with my custom message rather than IE error message; so I'm talking about webvisitors and not about internal users which connect our web server (site) via proxy
Thx again,
Eugen
Hi,
Yes you can do this if you goto the directory called "/etc/squid/errors" in that directory you will see alot of files for instance "ERR_ACCESS_DENIED" this is a html format so just edit how you see fit press F4 in midnite commander (mc at command line) and edit from there if you know html :-D
HTH
-
Hmm, you didnt say you meant external web vists :hammer: but anyway it can be done you will need to view http://www.htmlcenter.com/tutorials/tutorials.cfm/150/General/
Try on a test box see how you go :-)
HTH