View Full Version : .htaccess


zangerbanger
03-23-2003, 02:38 AM
I just have a few questions about .htaccess files. I made the file for the 404 error page, called it .htaccess.txt and uploaded it. But then, I made the file for preventing direct image linking, called it .htaccess.txt and uploaded it. After uploading the second file (prevent direct linking), does it delete the first file (404 error)?

The two files have the exact same filename so the second file obviously deletes the first one. So what can I do about this problem? Can I put the code for no direct linking and the code for 404 error on the exact same file and upload them together? Can I change the filename for one? Is it even possible to have both those features?

I'm so confused... :S

lefty
03-23-2003, 02:45 AM
All your .htaccess info should be in the same file, so yeah - put it all in there! Also, if you upload your file and it says .htaccess.txt, you'll have to rename it to just .htaccess or it won't work.

zangerbanger
03-23-2003, 02:55 AM
Awesome! Thank you very much!

lefty
03-23-2003, 02:57 AM
:) you're welcome