Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-04-08 03:05:17
- Media Corp.
- New Member
- Registered: 2008-04-08
- Posts: 1
Clean URLs At Hostgator
Hello, I’ve searched your forums and posted on the Hostgator forums as well. I can’t seem to find a solution to using Clean URLs on Hostgator servers. We have a Reseller account with them and I’ve installed TXP without any other problems. Using ‘Messy URLs’ does work, but not ‘Clean URLs’. My current .htaccess file looks like this:
=========================================
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
=========================================
The only change I made was uncommenting the ‘RewriteBase /’ line.
Any help would be GREATLY appreciated. I think I love Textpattern, but this is not a great start. I really want this to work because I’ve heard TXP is great!
Cheers
Offline
Re: Clean URLs At Hostgator
Hi
I have also a reseller account on hostgator and all work without any pb!
I haven’t change the htaccess and here is mine:
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
Cheers!
Offline
Pages: 1