Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-14 09:00:17

succhi
New Member
From: Brisbane, Australia
Registered: 2005-03-25
Posts: 4

section/id/title problem on fresh install

I have a strange problem in that my fresh install today (on my local Windows XP – seem diagnostic below) won’t play nice with clean urls. The strangest thing is that I tested my old 4.0.1 site that does clean urls fine and upgraded it by copying over the new textpattern directory to get 4.0.2 and clean urls work fine on it.

Any ideas why an upgraded site will work fine and a fresh install will have problems?

As you can see from the diagnostics below the only apparent differences are the file names. I even trawled through the prefs in the db and everything is basically the same but I added ‘path_from_root’ just in case (it had no effect)

My Diagnostic dump on the fresh install is:

Textpattern version: 4.0.2 (r1076)
last_update: 2005-12-14 05:54:37/2005-12-14 05:44:09
Document root: e:/apache/htdocs (e:\apache\htdocs)
$path_to_site: e:\apache\htdocs\sundance
Textpattern path: e:\apache\htdocs\sundance\textpattern
Permanent link mode: section_id_title
Temp folder: e:\apache\htdocs\sundance\textpattern\tmp
Site URL: localhost/sundance
PHP version: 4.3.11
server_time: 2005-12-14 18:57:00
MySQL: 4.1.9-nt
Locale: English_United Kingdom.1252
Server: Apache/1.3.33 (Win32) PHP/4.3.11
Apache version: Apache/1.3.33 (Win32) PHP/4.3.11

.htaccess file contents:
————————————
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php
</IfModule>
————————————

Diagnostic for the existing install upgraded

Textpattern version: 4.0.2 (r1076)
last_update: 2005-12-14 08:24:19/2005-12-14 05:44:09
Document root: e:/apache/htdocs (e:\apache\htdocs)
$path_to_site: e:\apache\htdocs\textpattern
Textpattern path: e:\apache\htdocs\textpattern\textpattern
Permanent link mode: section_id_title
Temp folder: e:\apache\htdocs\textpattern\textpattern\tmp
Site URL: localhost/textpattern
PHP version: 4.3.11
server_time: 2005-12-14 18:24:36
MySQL: 4.1.9-nt
Locale: English_United Kingdom.1252
Server: Apache/1.3.33 (Win32) PHP/4.3.11
Apache version: Apache/1.3.33 (Win32) PHP/4.3.11

.htaccess file contents:
————————————
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php
</IfModule>
————————————

(Edit: marked thread as resolved. :) -Mary)

Offline

#2 2005-12-14 22:14:39

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: section/id/title problem on fresh install

I have a strange problem in that my fresh install today (on my local Windows XP – seem diagnostic below) won’t play nice with clean urls.

Please be specific. What’s wrong?


Alex

Offline

#3 2005-12-15 06:46:17

succhi
New Member
From: Brisbane, Australia
Registered: 2005-03-25
Posts: 4

Re: section/id/title problem on fresh install

Page not found 404 error. Same as what would normally happen if rewrite were not working. Except it is fine on my original install on the same machine with nearly identical setup, Just different content and a few plugins (my fresh install has no plugins).

Stuart.

Offline

#4 2005-12-15 08:58:49

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: section/id/title problem on fresh install

Given that the two Textpattern setups appear to be identical, I’d guess it’s something in your server config – per-dir settings, perhaps.


Alex

Offline

#5 2005-12-15 12:43:24

succhi
New Member
From: Brisbane, Australia
Registered: 2005-03-25
Posts: 4

Re: section/id/title problem on fresh install

Well I thought I had looked through the relevant parts of my server config. On your prompting I had another look and found for my original install I had added the following to httpd.conf

<code>
<Directory “E:/Apache/htdocs/textpattern”> Options All AllowOverride All
</Directory>
</code>

I just added similar for the new dir et voila.

Cheers,
S

Last edited by succhi (2005-12-15 12:45:33)

Offline

#6 2006-02-11 19:33:02

hanz
Member
From: de
Registered: 2006-02-11
Posts: 23

Re: section/id/title problem on fresh install

just wanted to say: THANK YOU SO MUCH!!! ;)

thats what i needed to do. hadn’t that much experience with apache.

cheers, hannes

Offline

Board footer

Powered by FluxBB