This htaccess file will work on an Apache server. IIS (the Microsoft
Web Server that usually runs ASP files) tries very hard to emulate
Apache, but it’s not always the same, especially not at the level
where redirects happen. If the hosting people say that they need to
write an ASP script to access the custom 404, it’s probably all but
certain that that’s what will be needed. By this I mean, of course,
try it, but stand ready to have it fail, and the ASP business succeed.
On Oct 20, 2008, at 9:15 AM, Richard van Heukelum wrote:
This is to be expected. Have a look in your FTP application’s
preferences or menus for an option to “Show Hidden Files” or similar.
All files that begin with a dot are hidden by default in FTP file
lists. These files are commonly used for preferences, history files,
etc, and are not meant for mere mortals to view. If the (properly
named) .htaccess file has either no effect, or throws a 500-series
Server Error, then delete it altogether and make sure to tell your
server administrator about the event. (They’ll know already, if they
tail the logs, but it’s always nice to be out front about anything
you do that causes the server to become completely unresponsive.)
On Oct 20, 2008, at 9:47 AM, Potsy wrote:
just done it, but still not working I remove the .txt so it now is
“.htaccess” when I renamed in LEECH FTP the file dissapeared???
As I said before, you may need your server people to write that
script. If the .htaccess file had no effect, then that’s a clear sign
that they either have not given you the authority to make this sort
of change, or that the server is not configured to emulate Apache at
that level. Either way, they will have to do it and you will not be
able to make the change from your end.
PS: Find a new hosting provider. Unless you REALLY need to be able to
run Windows executables on the server for some mission-critical
reason, IIS (Microsoft) hosting should be avoided at all costs. It is
really insecure and requires constant diaper-changing to run
predictably. Almost any commodity hosting provider will offer you
Apache on Linux or another *nix for the very low two figures per
year. It’s cheap, it’s everywhere, and it’s the grown-up-responsible
thing to offer your customers. It’s also very hard to break from the
outside, so you won’t get those phone calls late at night.