Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-11-27 19:29:49
- Smaavie
- Member
- Registered: 2005-02-07
- Posts: 25
.htaccess Problem: Site Hosted by 1and1
Hello all,
I would appreciate it very much if someone can help me.
I am trying to get a new TxP site to work properly with clean URLs on a 1and1 server but I continually get 500 Internal Server Error messages.
I have searched this forum extensively and it is clear that many people have had problems running TxP sites on 1and1 before. Most people seem to have solved the problem by modifying the .htaccess file and, I think, maybe also modifying the index.php file.
I have tried many different .htaccess files which have been posted on these forums but I’ve had no luck.
I would appreciate it very much if someone running a TxP site on 1and1 could let me know exactly what they had to do to their .htaccess file to get their site to work.
Thanks in advance.
Smaavie
Offline
Re: .htaccess Problem: Site Hosted by 1and1
IIRC the only thing you have to change from the default .htaccess file is to uncomment the Rewritebase line and fill in the correct path as is explained here:
http://textpattern.com/weblog/20/clean-urls-on-different-hosts
RewriteBase /relative/web/path/
you also have to change the path. If you installed your site into the webroot ( for example www.example.org/ ) you would use: RewriteBase / and if you installed it in a subdirectory (like example.org/weblog/ ) you would use: RewriteBase /weblog/ .
(In case it doesn’t work, please post your diagnostics.)
Offline
#3 2005-11-28 09:25:18
- Smaavie
- Member
- Registered: 2005-02-07
- Posts: 25
Re: .htaccess Problem: Site Hosted by 1and1
Hi Sencer,
Many, many thanks for your advice. It works!
Here is the working site
Now all I have to do is make sure the content is all correct!
Cheers
Smaavie
Offline
Pages: 1