Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Server Compatibility Godaddy
Has anyone had any success with serving TXP on Godaddy, I’ve got a client who is on there doesn’t want to move. Any tips appreciated. Thanks
Offline
Re: Server Compatibility Godaddy
Yeah, I currently run several Textpattern sites on GoDaddy hosting. Probably the most common error I run across involves .htaccess (I’m running on Linux), and the following setup is reasonably proven in the field:
—
#DirectoryIndex index.php index.html
Options +FollowSymLinks
RewriteBase /
<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
—
Keep in mind that GD doesn’t let you turn off register_globals. I’m not sure why, but doing that will cause endless errors (503 I believe, but it’s been a little bit since I messed this up). Also, using the default .htaccess in the latest Textpattern release may not work out-of-the-box. I believe the above code could be from… version 4.0.3? Correct me if I’m wrong.
There can be other issues, but I haven’t had too much trouble. Hope this helps?
VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios
Offline
#3 2007-07-13 15:59:51
- HedgeHog
- Member
- From: Springfield, MO
- Registered: 2004-03-24
- Posts: 14
Re: Server Compatibility Godaddy
I have one running also on a linux box at godaddy. No real problems. ianin37 is right about the .htaccess fille. Your client should be happy.
Offline
Re: Server Compatibility Godaddy
thanks guys
Offline
Re: Server Compatibility Godaddy
i have a client on godaddy running txp with no problems either.
NETFIRMS on the other hand…oh dear god
Offline
#6 2007-09-02 05:37:20
- aui
- New Member
- Registered: 2007-09-02
- Posts: 2
Re: Server Compatibility Godaddy
okay… well, editing the .htaccess file accordingly worked great… but then… i couldn’t access my index.htm file…
see i want to install txp AND a wiki, and maybe even a photo gallery… so i want an index.htm file at the root which will navigate people to all those different cms’ … is it possible?
also, i’m using 4.0.5 and godaddy by default TURNS OFF register_globals actually in their php.ini file.
Last edited by aui (2007-09-03 08:42:10)
Offline
Re: Server Compatibility Godaddy
You should be able to edit this line:
#DirectoryIndex index.php index.html
to read like this:
DirectoryIndex index.htm index.php
I could be mistaken, but that should point the default location to the index.htm file. However… this will most likely break Textpattern, since it needs the URL to point to index.php so it can write the pages! Can you install the wiki or other cms in a subfolder? That way you can still use Textpattern as the site base (including the “main page” that points to various sections, wikis, and or photo galleries), and the extra cms won’t interfere.
I haven’t tested the .htaccess options myself, but I do use “nested” content management systems on a site with no trouble at all.
VFX artist, photographer, designer, CG generalist, and hobbyist web developer
My TXP sites: blog | reels | portfolios
Offline
Re: Server Compatibility Godaddy
I was having some issues with one of my sites and I used the htaccess config that iaian7 gave here – worked like a charm for 4.0.5.
THANK YOU
Offline
#9 2008-01-08 03:46:03
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Re: Server Compatibility Godaddy
I also used the above .htaccess configuration for a GoDaddy site with success. Thanks very much!
Kevin
(graphicpush)
Offline
#10 2008-06-25 14:08:13
- MikeTheVike
- Member
- Registered: 2008-06-17
- Posts: 47
Re: Server Compatibility Godaddy
Thank you iaian! I had some problems with clean URL’s using GoDaddy, and your .htaccess file worked perfectly!
Offline
#11 2009-01-03 14:00:18
- kevinpotts
- Member
- From: Ghost Coast
- Registered: 2004-12-07
- Posts: 370
Re: Server Compatibility Godaddy
Has anyone had success with this script with 4.0.7? I cannot seem to get clean URLs working on GoDaddy, where 3.0.6 worked just fine.
Kevin
(graphicpush)
Offline
Re: Server Compatibility Godaddy
There is no difference in clean-url-handling in TXP 4.0.7 compared to 4.0.6
Offline