Forum Moderators: bakedjake

Message Too Old, No Replies

.htaccess

         

yllai

8:58 am on Jun 21, 2004 (gmt 0)

10+ Year Member



I am new with .htaccess. I have an online system, all the page can be access only by users whose have logged in. I understand that I have to create a .htaccess in the directory where my script uploaded.

As I know, for create a .htaccess file, I need to use any text editor to script it and save it in any name then upload to server and rename as ".htaccess"..is it correct?

In the .htaccess file, I dont know how to code the command for restrict user from directly access any page in my online system, that mean they MUST goto the login page before using the system. is it I just code as 'deny from all'?

Any guide or example for my case?

ergophobe

3:45 pm on Jul 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



These links should give you everything you need. You may find some of them translated into other languages too (the Apache docs should be available in several languages)

[httpd.apache.org...]

[theriver.com...]

[faq.web2010.com...]

Please note, also, that there is an entire forum just for Apache Web Server.

Tom