Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-02 14:44:03

ondass
New Member
Registered: 2007-05-02
Posts: 3

HTACCESS is exactly for what?

Hello,

I cannot understand the HTACCESS root file purpose. Should somebody help me explaining its actual purpose step-by-step I would be very obliged. The file have some problems with my web hosting and I cannot find where or with what.

many thanks.

My HTACCESS is the default one which looks like:
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0

Offline

#2 2007-05-02 15:10:28

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: HTACCESS is exactly for what?

It turns (rewrites) ugly URLs into clean URLs (ex: site.com/index.php?s=foo-section to site.com/foo-section/).

Offline

#3 2007-05-03 02:23:51

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: HTACCESS is exactly for what?

Please search the FAQ.


Alex

Offline

Board footer

Powered by FluxBB