First off I would like to explain that I've been on linux for the past 45 minutes of my entire life time, so take that for how much of a total newb I am, and how much I really need you to explain in great detail for my feeble brain to comprehend . With that said, off to the problem:
I've set up a folder called test in my "document root" (I guess thats what they call it...the /var/ thing). So basically it would read like this if I wanted to go to it. There is also a index.html in that folder.
Now I've placed and set up .htaccess in this test folder so that I can have some ppl log into it and restrict others. That works great.
Here's my problem though. When I go into it gives me "The page cannot be displayed" or something to that effect, even after I've logged in with the correct stuff. Now if I type in this (notice the / at the end of test) then it asks me for the user/pass and it loads the index.html.
What can I do to make it automatically load the index.html when I type the url without the / at the end of it? Is there a feasible way of doing this sort of thing or am I going to have to tell ppl to always add the / or it wont work?
I'll be adding more directories later, and each will have to have a .htaccess for specific users (about 50-100 users total probablly) and they are all going to be very old farmers who are not intelligent about the things of the web, and most are even scared of it. This is the main reasons behind not wanting to go with the "You must put a / at the end of it or it wont work." and then getting 50 phone calls asking me why their stuff wont load. =)
Any help with this problem would be awesome guys because I'm pretty stuck at the moment. Please give me any information or ideas you might have. Thanx again!
I've set up a folder called test in my "document root" (I guess thats what they call it...the /var/ thing). So basically it would read like this if I wanted to go to it. There is also a index.html in that folder.
Now I've placed and set up .htaccess in this test folder so that I can have some ppl log into it and restrict others. That works great.
Here's my problem though. When I go into it gives me "The page cannot be displayed" or something to that effect, even after I've logged in with the correct stuff. Now if I type in this (notice the / at the end of test) then it asks me for the user/pass and it loads the index.html.
What can I do to make it automatically load the index.html when I type the url without the / at the end of it? Is there a feasible way of doing this sort of thing or am I going to have to tell ppl to always add the / or it wont work?
I'll be adding more directories later, and each will have to have a .htaccess for specific users (about 50-100 users total probablly) and they are all going to be very old farmers who are not intelligent about the things of the web, and most are even scared of it. This is the main reasons behind not wanting to go with the "You must put a / at the end of it or it wont work." and then getting 50 phone calls asking me why their stuff wont load. =)
Any help with this problem would be awesome guys because I'm pretty stuck at the moment. Please give me any information or ideas you might have. Thanx again!