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.

View Poll Results: Do you know how to use .htaccess?
No - And people should post some tricks and tips 4 15.38%
Yes - I am crafty like that 22 84.62%
Voters: 26. You may not vote on this poll

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 06-02-2007, 12:30 PM   #1
chaze
Confirmed User
 
Industry Role:
Join Date: Aug 2002
Posts: 9,752
Do you know how to use .htaccess?

Taking poll if it's more common to know how to use htaccess or not.

There are some great security options with it and of course password protection. But any other tricks like 501 redirects..
chaze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2007, 12:38 PM   #2
xclusive
Too lazy to set a custom title
 
Join Date: Apr 2004
Location: Buffalo, NY
Posts: 35,218
Yup, Been using it for years.
__________________

I support MediumPimpin.com / Shemp's Outlawtgp.com /


xclusive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2007, 12:43 PM   #3
xclusive
Too lazy to set a custom title
 
Join Date: Apr 2004
Location: Buffalo, NY
Posts: 35,218
HTAccessible is a great free tool

http://www.tlhouse.co.uk/pc_software.shtml

http://www.tlhouse.co.uk/htac1000.exe
__________________

I support MediumPimpin.com / Shemp's Outlawtgp.com /


xclusive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2007, 12:45 PM   #4
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
A quick note: Using .htaccess instead of server rules causes extra file, and rule lookups for each request, which will eventually cause a slowdown, and it won't work if AuthConfig is not set to Override. (The former is incredibly common with virtualhosts; it makes the admin's job easier.)

It's a quick way to make changes if you do not have access to your webserver's configuration, but if you do, there are better ways to set it up, such as in the webserver config file for that host.

Always wrap your statements properly.

Putting: RewriteEngine On in your .htacess is not as safe as:

<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>

In case if someone screws up on a webserver upgrade, the above will say 'Ok, so, rewrite isn't here, but we can deal with that.' The former will cause a 500 error, and your site will be down until someone notifies the administration that something bad happened.

...end of hijack.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2007, 01:32 PM   #5
Andiz
Confirmed User
 
Andiz's Avatar
 
Join Date: Feb 2006
Posts: 2,594
Ofcouse I know how to use it.
Andiz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2007, 04:30 PM   #6
sumphatpimp
Confirmed User
 
Join Date: Aug 2002
Posts: 5,235
yes
.htaccess is one of the very first things i learned.
shouldn't be a problem for anyone, there are plenty of tutorials all over the interweb net thingy.
sumphatpimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2007, 05:28 PM   #7
Vendzilla
Biker Gnome
 
Vendzilla's Avatar
 
Industry Role:
Join Date: Mar 2004
Location: cell#324
Posts: 23,200
http://www.htaccesstools.com/ makes it easy
__________________
Carbon is not the problem, it makes up 0.041% of our atmosphere , 95% of that is from Volcanos and decomposing plants and stuff. So people in the US are responsible for 13% of the carbon in the atmosphere which 95% is not from Humans, like cars and trucks and stuff and they want to spend trillions to fix it while Solar Panel plants are powered by coal plants
think about that
Vendzilla is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2007, 05:30 PM   #8
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by GrouchyAdmin View Post
A quick note: Using .htaccess instead of server rules causes extra file, and rule lookups for each request, which will eventually cause a slowdown, and it won't work if AuthConfig is not set to Override. (The former is incredibly common with virtualhosts; it makes the admin's job easier.)

It's a quick way to make changes if you do not have access to your webserver's configuration, but if you do, there are better ways to set it up, such as in the webserver config file for that host.

Always wrap your statements properly.

Putting: RewriteEngine On in your .htacess is not as safe as:

<IfModule mod_rewrite.c>
RewriteEngine On
</IfModule>

In case if someone screws up on a webserver upgrade, the above will say 'Ok, so, rewrite isn't here, but we can deal with that.' The former will cause a 500 error, and your site will be down until someone notifies the administration that something bad happened.

...end of hijack.

don't try and educate chaze....LOL...pointless

can't forget, his host cancels people for starting too many blogs
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2007, 05:50 PM   #9
aztecboi2003
Confirmed User
 
aztecboi2003's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Marysville,Wa
Posts: 1,155
I have no clue of how to use it. Wish I did though, seems like it could be useful.
__________________
Smoking Girl Fetish
Petite Ashley
aztecboi2003 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.