creating .htaccess files

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Abraham (anonymous_at_discussions.microsoft.com)
Date: 07/03/04


Date: Sat, 3 Jul 2004 03:27:57 -0700

I wanted to create a custom 404 file. This hosting company
wants me to write the script. I am not that talented to do
it. They sent me information that essentially says this:

Use notepad to create a .htaccess file and upload it to the
root or home directory. And add lines which specify the
substitution. An example: ErrorDocument 404
http://wwww.mydomain.com/404.htm or I suppose 404.html.

Then upload it.

I did this using notepad and changed the extension from
.txt to .htaccess and uploaded it. But it doesn't work. I
don't really know what I am doing and probably didn't
decipher the true how-to-do-it meaning from the information
they supplied me. Any help on what I actually need to do to
make the .htaccess file using notepad would be appreciated
a lot.
Abraham



Relevant Pages

  • Re: Hacker attack. What do they want?
    ... my site allows to upload images. ... put there the following .htaccess file: ... My php script which upload files to the directory takes only files ... isn't 'image/jped' or 'image/pjpeg' then reject the upload and delete ...
    (comp.lang.php)
  • Re: creating .htaccess files
    ... Windows server sites) ... >- if you have an existing .htaccess file you will over ... >| Use notepad to create a .htaccess file and upload it to the ... >| Then upload it. ...
    (microsoft.public.frontpage.client)
  • Re: My site was hacked Friday, how can I prove it?
    ... This is a asp.net 3.5 site hosted as I assume on a windows server. ... Suddenly Friday around 4pm a .htaccess file was uploaded to my site. ... When I looked in the webfolder I saw that a .htaccess fil had been upload ... I've been in talk with the host which claims they didn't upload the ...
    (microsoft.public.windows.server.general)
  • My site was hacked Friday, how can I prove it?
    ... This is a asp.net 3.5 site hosted as I assume on a windows server. ... Suddenly Friday around 4pm a .htaccess file was uploaded to my site. ... When I looked in the webfolder I saw that a .htaccess fil had been upload to ... I've been in talk with the host which claims they didn't upload the ...
    (microsoft.public.windows.server.general)
  • Re: Hacker attack. What do they want?
    ... can upload to this directory some scripts which would destroy my file ... The fact that the directory is world-writeable AND has an .htaccess file should ring a bell: If you keep the file names, anyone can upload an .htaccess file... ... that jpg extension does not guarantee the ...
    (comp.lang.php)