Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-04-03 02:06:20

Nell
Member
From: Mexico City, Mexico
Registered: 2005-06-21
Posts: 48

Clean urls work only in debugging or test status

My client migrated his Textpattern website to a new host. Now clean urls don’t work, they just show the homepage’s content. Messy urls work fine.

We thought it was a .htaccess problem, but here’s the catch: the clean urls work just fine if we set the site’s production status as Debugging or Testing.

The Diagnostics tabs marks all checks as passed. Here’s the Diagnostic info:

Textpattern version: 4.0.4 (r1956)
Last Update: 2007-05-04 01:43:00/2008-03-28 18:04:01
Document root: /var/www/html/bcg/bcg-www/apps/borderless
$path_to_site: /var/www/html/bcg/bcg-www/apps/borderless
Textpattern path: /var/www/html/bcg/bcg-www/apps/borderless/textpattern
Permanent link mode: section_title
upload_tmp_dir: /var/tmp
Temporary directory path: /tmp
Site URL: pruebas.borderless.com.mx
PHP version: 5.2.4
Server Local Time: 2008-04-02 21:59:21
MySQL: 5.0.45
Locale: en_GB.UTF-8
Server: Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0)
Apache version: Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0)
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.22.9-desktop-1mdv

.htaccess file contents:

#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php

php_value register_globals 0

Offline

#2 2008-04-10 23:35:24

Nell
Member
From: Mexico City, Mexico
Registered: 2005-06-21
Posts: 48

Re: Clean urls work only in debugging or test status

Well, I guess the site will have to work in Testing mode :(

Offline

#3 2008-04-11 08:02:07

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Clean urls work only in debugging or test status

Does diagnostics show that clean URLs are working even in live mode?

Offline

#4 2008-04-11 15:42:46

Nell
Member
From: Mexico City, Mexico
Registered: 2005-06-21
Posts: 48

Re: Clean urls work only in debugging or test status

Yes, everything seems fine in diagnostics. We reinstalled Textpattern with the same results.

Offline

#5 2008-04-11 15:56:18

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Clean urls work only in debugging or test status

In your preferences, try disabling the preference that mentions ‘last modified’, then visit a clean URL in live mode and press CTRL-F5 to force a page refresh.

Offline

#6 2008-07-15 02:09:35

Addison
Member
From: Flowood, Mississippi
Registered: 2004-08-30
Posts: 34
Website

Re: Clean urls work only in debugging or test status

I’m having a similar type of problem, except that it’s affecting article status. While in testing or debugging mode, the hidden and draft status work as they should—however, in live mode they work only occasionally. Turning off ‘Send “Last-Modified” header’ under Advanced Preferences seemed to fix this.

Offline

Board footer

Powered by FluxBB