Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-04 01:50:01

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

My Clean URLs: are really working?

Working on a site for a client I found that the Diagnostic indicates that something is not working with clean urls, but clean URLs are truely working! I mean, I’m using “section > title” and the URLs works as expected … but … the tru_tags plugin is not working as in my Localhost! (I’ve developed the website first in a localhost then I uploaded to their hosting)
… Differences? Let’s see, first my Localhost Diagnostic (it’s in spanish):

Versión de Textpattern: 4.0.6 (r2805)
Última actualización: 2008-07-15 19:34:27/2008-01-27 22:59:12
Document root: C:/www/clientname (C:\www\clientname)
$path_to_site: C:\www\clientname
Path a Textpattern: C:\www\clientname\textpattern
Modo de enlace permanente: section_title
upload_tmp_dir: C:\xampp\tmp
Directorio temporal: C:\www\clientname\textpattern\tmp
URL del sitio: clientname
Versión de PHP: 5.2.5
Biblioteca de imagen GD: bundled (2.0.34 compatible); formatos soportados: GIF, JPG, PNG.
Tiempo Local del Servidor: 2008-11-03 22:50:31
MySQL: 5.0.51a
Local: Spanish_Spain.1252
Servidor: Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
Versión de Apache: Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
PHP Server API: apache2handler
Cabeceras RFC 2616: 
Sistema Operativo del servidor: Windows NT 5.1
Plugins Activos: aro_myadmin-0.3m, zem_contact_reborn-4.0.3.20, zem_contact_lang-4.0.3.6, pap_contact_cleaner-0.1, upm_quicktags-0.5, smd_gallery-0.45, tru_tags-3.1
Comprobación previa: 
------------------------
Algunos archivos de Textpattern han sido modificados: 
	/include/txp_article.php, 
	/index.php
------------------------
Contenidos del archivo .htaccess: 
------------------------
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/
	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]
	RewriteRule ^(.*) index.php
	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
------------------------

and the “problematic” on-line version:

Versión de Textpattern: 4.0.6 (r2805)
Última actualización: 2008-10-24 18:43:21/2008-10-22 22:17:48
Document root: /var/www/vhosts/clientname.com/httpdocs
$path_to_site: /var/www/vhosts/clientname.com/httpdocs/test
Path a Textpattern: /var/www/vhosts/clientname.com/httpdocs/test/textpattern
Modo de enlace permanente: section_title
open_basedir: /var/www/vhosts/clientname.com/httpdocs:/tmp
Directorio temporal: /tmp
URL del sitio: www.clientname.com/test
Versión de PHP: 4.4.2
Biblioteca de imagen GD: bundled (2.0.28 compatible); formatos soportados: GIF, JPG, PNG.
Tiempo Local del Servidor: 2008-11-03 22:42:44
MySQL: 4.1.21
Local: es_ES.UTF-8
Servidor: Apache/2.0.53 (Fedora)
Versión de Apache: Apache/2.0.53 (Fedora)
PHP Server API: apache2handler
Cabeceras RFC 2616: 
Sistema Operativo del servidor: Linux 2.6.12-1.1381_FC3
Plugins Activos: aro_myadmin-0.3m, zem_contact_reborn-4.0.3.20, zem_contact_lang-4.0.3.6, pap_contact_cleaner-0.1, smd_gallery-0.45, tru_tags-3.1, upm_quicktags-0.5
Comprobación previa: 
------------------------
Algunos archivos de Textpattern han sido modificados: 
	/include/txp_article.php, 
	/index.php
El test de URL limpias ha fallado.
------------------------
Contenidos del archivo .htaccess: 
------------------------
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/
	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]
	RewriteRule ^(.*) index.php
	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
------------------------

As you see my Localhost use PHP 5.2.5 and the other PHP 4.4.2
Both have mod_rewrite loaded
The question is … why the on-line diagnostic indicates a problem with Clean URLs?
and why tru_tags is working in my Localhost and not On-line?

any help will be appreciated!

Thx

Offline

#2 2008-11-04 10:51:30

tbo
Member
Registered: 2008-10-24
Posts: 12

Re: My Clean URLs: are really working?

Hi,

the test for clean urls could fail on your client’s server, because of the setting for allow_url_fopen in the php-configuration. If it’s denied, the test will always fail, wether clean urls are working or not – so maybe you can rule this one out.

Offline

Board footer

Powered by FluxBB