Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#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
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
Offline
Pages: 1