View Full Version : .htaccess question


SweetSisterMary
10-18-2003, 06:47 PM
Hi,

I have a question about using this.

Can you have more than one .htaccess file?

I'll explain what I need and see if it makes any sense. (It always makes sense in my head, doing it is another matter!)

I have images and html-converted fiction I do not want to be able to be linked to EXCEPT from the 3 message boards I run. (I also have my own domain.)

Also included in my file is the code for site banning, which I also need, that includes a 403 error file, and a 404 error file.

Would I use more than one htaccess file or is there a way to tell it to allow linking only to my message boards and nothing else?

Thank you.

Anto_J_Lareneg
10-18-2003, 07:58 PM
If your forum is in it's own folder on your domain, then yes it is possible. Put the no-direct linking onto the main domain folder.. then go to your forum's folder and put another .htaccess file without the direct link thing. I've done this before. It does work. :3