Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2008-01-17 21:50:13

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Site Navigation not working

got a url to see?

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

#5 2008-01-17 23:47:49

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Site Navigation not working

i see messy urls working as well.

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

Board footer

Powered by FluxBB