Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
htaccess?
what is this? i am trying to switch my database to a new server and am following these directions
http://textbook.textpattern.net/wiki/index.php?title=Moving_Installation_from_one_Host_to_Another
i think i have done everything right but i dont understand what it means when it says “Upload your entire Textpattern tree (yourdomain.com/textpattern) and the default.php & .htaccess files to your new server via FTP.”
i dont see any .htaccess files. am i missing something? where should this be?
Offline
Re: htaccess?
.htaccess files are usually hidden by Windows, if that’s what you’re using. In an explorer window, Tools>Folder Options>View Tab>Show Hidden Files and Folders. You should be able to configure your FTP client to display hidden files too.
Offline
Re: htaccess?
i am using mac osx. i set Transmit (my ftp program) to show invisible files, but i am still not seeing any htaccess stuff. do you know specifically what directory they should be in?
Offline
Re: htaccess?
It should be in the root of your install (before the /textpattern/ directory). If it isn’t there, you can just create a new one on your new host:
Save the following as .htaccess (or you can save it from here):
#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
Last edited by jm (2006-10-23 04:15:57)
Offline
Re: htaccess?
thanks. is there anything in need to modify in that?
Offline
Re: htaccess?
It depends on your server, but if you run into any troubles, see this FAQ.
Offline
Pages: 1