PDA

View Full Version : .htaccess


chrisb_ebc
Fri., Nov. 18, 2005, 9:44 am
Does anyone know if .htaccess commands are inherent from the root folder it was placed on into the sub folders that are placed under that root folder? Does it depend on the command/Variable? If they are inherent, and you place another .htaccess in a sub folder does that one that was placed in the sub folder take the precedent? Just trying to get some info on this, seems that ever where I look it doesn't have that information about it. Thanks. Any info on that would be great!

mrbelfry
Fri., Nov. 18, 2005, 10:11 am
I think (I'm not 100%) they cascade so any htaccess file also applies to the subsequent subfolders. The htaccess file nearest to the particular folder you are looking at takes precedence - like stylesheets. So a htaccess file in a subfolder takes priority over any higher in the folder tree.

Hope this helps

mrbelfry

flutem3
Fri., Nov. 18, 2005, 11:29 am
Chris wrote:

"Does anyone know if .htaccess commands are inherent from the root folder it was placed on into the sub folders that are placed under that root folder?"

Hi, Chris and Mr. Belfry,

I have no idea what all this means. Does it affect what I am doing? Do I need to know whatever you are talking about? Could somebody explain to me?

Thanks.

Carol :confused:

chrisb_ebc
Fri., Nov. 18, 2005, 12:57 pm
Hi Carol,
This probably does not affect you at all. Unless you are interested in setting passwords on folders, etc. Here is a quick run-down of what .htaccess can accomplish. There are several good tutorials out there that tells you how to do this stuff to. .htaccess also stands for Access Configuration. Its a linux based file that handles commands a variables. Here is that list:

What the .htaccess file can do
1. If you're reorganising your site and moving pages around, you can use the .htaccess file to redirect visitors from the old page to the new one.
2. Another function of the .htaccess file is to allow you to serve up pages which include PHP or Server Side Includes (SSI) but whose file name still uses the .htm or .html extension.
3. Allow or prevent directory browsing.
4. Because the server should check the .htaccess file before anything is delivered to the client, you can use it to password protect parts of your site.
5. You can also block various bots with the .htaccess file — for example, you can keep some spammers out, or prevent search engine spiders from indexing your images folder.

There may be more features than this. But thats a general list I found at: http://www.wise-women.org/tutorials/htaccess/ - actually looks like a good site, even though its for women who are webmasters/designers/etc


MrBelfry: That is the best answer I have gotten so far, haven't found much to information on how it works. Thanks. Thats what I thought it did.

flutem3
Fri., Nov. 18, 2005, 1:18 pm
Chris wrote:

"This probably does not affect you at all. Unless you are interested in setting passwords on folders, etc."

Hi, Chris,

Oh my, I think you are absolutely right. I don't think I need to know that, but it is amazing to me how often I ask a question and then something pertaining to the answer shows up shortly thereafter. It is remarkable.

It is a good way to learn. I enjoy reading the posts and learning bit by bit what I need to be doing.

I am currently trying to figure out what kind of church web site design would:


Appeal to people who are younger than whatever...40

Not scare away people who are older

Reflect the personality of the church

Attract teenagers and younger

Remember that our average age is about 50-55


I am find it difficult to design something of that nature. But I am having a good time trying. Eventually, I will decide on something and go ahead and redesign the site. I enjoy changing page colors which reflect the liturgical church year, and people say they enjoy the colors. However, from what I can tell, I am breaking major rules in design. I have shown a couple of people (older) what I have set up at the present. They do not like the part which is slanted to the younger viewer. Time will tell!! :D If someone wants to take a look at what I am up to, you can check out:

www.wabashfirstumc.org/untitled1.html

I cannot guarantee what color it will be when you see it since I am working on palettes. Since I have discovered how to use the navigation system, I have been experimenting with that. One thing I don't think is possible with the software (Homestead) that I am using, is drop down menus. So for example, if there is a major category, Worship, I would like a drop down on which the various service times, types of service, etc. are available. However, I can probably get around that. Another thing I want to do which is probably absurd, but that doesn't matter is to have a secondary navigation system which takes people to pages which require more of the reader...kind of an editor's choice page...but with a different title. I think a multitude of items which are not strictly church info but is at least interesting and helpful information could live there.

Anyone have any comments? Pitch in before you wish you had. :)

Thanks for the input. Just remember, I am at the very beginning of the process. Does anyone know what happened to Curtis?

Carol

chrisb_ebc
Fri., Nov. 18, 2005, 1:30 pm
Hi Carol,
Don't think I meet Curtis yet. So I am not sure.

As for a the design appeal. My rule of thumb is clean, and simplistic. Whatever you decide on. Keep it clean and simplistic. People don't like to hang on sites for very long. And I think presenting the information that you want to present quick and clean. I think there can be more area's with more text and things on them, on area's where people want to find more indepth stuff. Like church history. There are some area's on my church website that I would like to develop more. One is the front page a bit more. etc. Well. Thats my thoughts on that. Hope that helps.

flutem3
Fri., Nov. 18, 2005, 3:41 pm
Chris wrote:

"People don't like to hang on sites for very long. And I think presenting the information that you want to present quick and clean."

Hi, Chris,

I know you don't know Curtis. I was hoping he would read this and respond. He is a nut on web design...and seems to be experienced as well.

I know you are right about people not sticking around long. I don't even know how you keep them long enough to see what is offered.

I know that my file sizes are too big. That must change. I agree with clean and simple, however. I started out trying that and ended up with something else part of the time. Making a website sticky is difficult, I find. Making it valuable is difficult as well. I have discovered that what people say they want and what they will take time to look at are entirely different birds completely. People have said they want church history on our web site. I have five pages of church history. And the link is named...Church History. In other words they really didn't check it out.

I have been frustrated lately, but I just keep plugging on. I just wish I could go to church. In a couple of years the elevator will be in, and I can go. Then they will see what PR is about. :)

Carol