Home     Forum     401k     401k Rollovers
    Register   Login   Members   Search   FAQs     Recent Posts    

What is .htaccess and how does it work?

Reply to topic
Money Talk > The Web for Profit

Author Thread
First Time Poster

Cash: $ 0.25

Posts: 1
Joined: 01 Jan 2006

What is .htaccess and how does it work?  Reply with quote  

What is .htaccess and how does it work in setting up webpages that are only viewable with membership?
Post Sun Jan 01, 2006 10:04 pm
 View user's profile Send private message

Cash: $ 465.30

Posts: 1709
Joined: 02 Nov 2003
Location: Texas
 Reply with quote  

The .htaccess file is a way to configure the operation of your webserver for Apache.

One of the tricks you can do with it, is to set-up password protected areas of your website. This could be member/password entry or just a password to gain entry depending on how you configure it. You can use an online tool to generate an encrypted password, and then paste the results into the .htaccess file in the subdirectory you want to protect.
Post Mon Jan 02, 2006 12:57 am
 View user's profile Send private message
Senior Member

Cash: $ 78.85

Posts: 964
Joined: 29 Dec 2005
Location: Oregon USA
A simple way  Reply with quote  

Most web hosting accounts use a control panel of some sort, the most popular being Cpanel. Look for an icon that relates to 'Protect Subdirectories' and follow the instructions.

A Unique Twist on Traffic Exchanges
Free Cash As A BONUS!
Post Mon Jan 02, 2006 2:30 am
 View user's profile Send private message Visit poster's website
Preferred Member

Cash: $ 3.00

Posts: 115
Joined: 27 Sep 2005
Location: Slovenia
 Reply with quote  

Welcome, Complete.

I suggest you go see this site: http://www.javascriptkit.com/howto/htaccess.shtml

Take care Smile

Insurance information - What you need to know about insurance.
Subliminal and acupressure videos
Post Tue Jan 03, 2006 10:20 pm
 View user's profile Send private message Visit poster's website

Cash: $ 2.80

Posts: 18
Joined: 28 Jan 2006

 Reply with quote  

This module uses a rule-based rewriting engine (based on a regular-expression parser) to rewrite requested URLs on the fly. It supports an unlimited number of rules and an unlimited number of attached rule conditions for each rule to provide a really flexible and powerful URL manipulation mechanism. The URL manipulations can depend on various tests, for instance server variables, environment variables, HTTP headers, time stamps and even external database lookups in various formats can be used to achieve a really granular URL matching.

This module operates on the full URLs (including the path-info part) both in per-server context (httpd.conf) and per-directory context (.htaccess) and can even generate query-string parts on result. The rewritten result can lead to internal sub-processing, external request redirection or even to an internal proxy throughput.

.htaccess file will be used when you want your dynamic url changed into search engine friendly url's..

an example of this rewriting is:


will be changed to

.htaccess file can also be used if you want to redirect from your old domain to new domain rather than using the traditional meta refresh tag.
Post Sat Jan 28, 2006 9:01 am
 View user's profile Send private message
First Time Poster

Cash: $ 0.20

Posts: 1
Joined: 04 Feb 2018

 Reply with quote  

In today’s world every men is thinking of making money more than other person without thinking that which way is good or bad. By this site best essays written we can learn more good methods of earning money.[/url]
Post Sun Feb 04, 2018 12:15 pm
 View user's profile Send private message
Preferred Member

Cash: $ 29.65

Posts: 142
Joined: 26 Oct 2017

 Reply with quote  

I'm glad that I've found this thread! I've been working on my website creation using a step-by-step guide and getting inspired by the informtion from https://studioblackbelt.com. Unfortunately, I don't have much experience in website building and running, so I haven't heard about such thing as .htaccess. So, thanks for the enlightening, guys!
Post Thu Mar 01, 2018 1:01 am
 View user's profile Send private message
Senior Member

Cash: $ 89.70

Posts: 463
Joined: 07 Mar 2018
Location: New York City
 Reply with quote  

It is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software.

observations and solutions for cable companies
Post Mon Oct 07, 2019 8:17 am
 View user's profile Send private message Visit poster's website

Reply to topic
Forum Jump:
Jump to:  
  Display posts from previous:      

Money Talk © 2003-2018