Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-13-2005, 05:18 PM   #1
AsylumN
Confirmed User
 
Join Date: Mar 2003
Posts: 625
should you have 1 htaccess file on your site, or several?

Ok, I have a htacess file for my members area, and now i want to put a few more htacess files on my site, so should I just paste the new htacess lines in my old htacess file, or should I create a whole seperate htacess file?

I know that everytime your server has to access htaccess, it uses up server resources, so which is better? All your htaccess stuff on 1 file, or several files?
__________________
SexSearch
AsylumN is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-13-2005, 05:22 PM   #2
mrthumbs
salad tossing sig guy
 
mrthumbs's Avatar
 
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
dioesnt matter.. whatever is convenient for you.
mrthumbs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-13-2005, 07:03 PM   #3
AsylumN
Confirmed User
 
Join Date: Mar 2003
Posts: 625
Really? it doent matter?
__________________
SexSearch
AsylumN is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 12:01 AM   #4
AsylumN
Confirmed User
 
Join Date: Mar 2003
Posts: 625
bump for confirmation of what mrthumbs said
__________________
SexSearch
AsylumN is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 12:12 AM   #5
JOKER
Facit Omnia Voluntas
 
JOKER's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Offshore
Posts: 2,105
You mean multiple .htaccess for one site (domain) ?

I see no need for that.

Usually all info goes into one, why would you create more, I doubt
it's even possible.

Maybe explain a little better what you wanna do.
__________________
Facilitation - BizDev - Traffic - Consulting - Marketing
Skype: jokerempire | Silent Circle: joker

JOKER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 12:25 AM   #6
mistress69
Confirmed User
 
Join Date: Feb 2005
Posts: 2,804
I have a couple on my sites
mistress69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 12:53 AM   #7
JOKER
Facit Omnia Voluntas
 
JOKER's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Offshore
Posts: 2,105
Quote:
Originally Posted by mistress69
I have a couple on my sites
In different directories, right?
__________________
Facilitation - BizDev - Traffic - Consulting - Marketing
Skype: jokerempire | Silent Circle: joker

JOKER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 12:56 AM   #8
Aquarius
Confirmed User
 
Join Date: May 2004
Location: Mom's basement
Posts: 4,754
Quote:
Originally Posted by mistress69
I have a couple on my sites
What sites do you run?
Aquarius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 01:01 AM   #9
Pete-KT
Workin With The Devil
 
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
it doesnt matter
Pete-KT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 10:17 AM   #10
AsylumN
Confirmed User
 
Join Date: Mar 2003
Posts: 625
Quote:
Originally Posted by JOKEREMPIRE
You mean multiple .htaccess for one site (domain) ?

I see no need for that.

Usually all info goes into one, why would you create more, I doubt
it's even possible.

Maybe explain a little better what you wanna do.
Well, what I meant is wether it's better to just put one big htaccess file in the root to cover evberything, or to put smaller ones in the directory of each site.
__________________
SexSearch
AsylumN is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 10:22 AM   #11
teksonline
So Fucking Banned
 
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
the only thing you should be concerned with is mod rewrite or other cpu intensive stuff, in which in that case, the only thing you need to worry about is how you are organizing your content... so that if things are being parsed, it's only parsing whats neccesary and nothing more.

for example

say you want a .html file but its really a .shtml and yours just parsting .html on the fly, then all .html in that directory is being parsed as well, sucking your server CPU, so if you only have one of these files, stick it in a subdirectory so only that one page is being parsed

Last edited by teksonline; 03-14-2005 at 10:23 AM..
teksonline is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 10:23 AM   #12
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Yeah, if you need specific directories to behave differently than others... for example, having one directory 404 to one sponsor and another directory 404 to another.

otherwise, no real need.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-14-2005, 10:30 AM   #13
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
Quote:
Originally Posted by teksonline
the only thing you should be concerned with is mod rewrite or other cpu intensive stuff, in which in that case, the only thing you need to worry about is how you are organizing your content... so that if things are being parsed, it's only parsing whats neccesary and nothing more.

for example

say you want a .html file but its really a .shtml and yours just parsting .html on the fly, then all .html in that directory is being parsed as well, sucking your server CPU, so if you only have one of these files, stick it in a subdirectory so only that one page is being parsed
or tell the server to only parse "file_in_question.html" as shtml in the same .htaccess.

It doesn't really matter if they are divided up.. Depends on what you need and how your files are structured.
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.