Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-01-17 20:40:47
- joe-kenyon
- New Member
- Registered: 2008-01-12
- Posts: 3
Site Navigation not working
I have been bashing away at trying to get Textpattern 4.0.5 working on my Debian host. The BIG stumbling bloch is that no links work from the front page. I just get a 404 error. I am not sure if this is something to do with the fact I can’t get clean urls working but even when I use messy urls I cannot link to other sections.
My .htaccess file is
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
</IfModule>
I have googled for answers and tried various Rewrite Rules but 4 days of frustration and I am no further ahead.
BTW mod_rewrite is enabled and textpattern is installed in my document root (/var/www).
Any suggestions welcome
Regards Joe
(Edited for better code display. -Els)
Last edited by els (2008-01-17 21:22:30)
Offline
Offline
#3 2008-01-17 22:06:19
- joe-kenyon
- New Member
- Registered: 2008-01-12
- Posts: 3
Re: Site Navigation not working
Sorry – site is:- Joes Home
Regards, Joe
Offline
#4 2008-01-17 23:09:24
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Site Navigation not working
Messy URLs seem to work…
Offline
Offline
#6 2008-01-18 07:14:30
- joe-kenyon
- New Member
- Registered: 2008-01-12
- Posts: 3
Re: Site Navigation not working
Thanks. Now solved. Looks like the .htaccess file was not being read. I did have AllowOverride All in httpd.conf. I have now created a <Directory /var/www/> section in httpd.conf and put the rewrite rules there and all works OK.
I’ve also ordered the Textpattern book from Amazon for some light bedtime reading :)
Regards, Joe
Offline
Pages: 1