Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-04-06 02:54:27

mlarino
Member
Registered: 2007-06-29
Posts: 367

clean urls not working on windows server

I was trying to use clean URLs on a site in a Windows server, but had no luck I tried everything I found on the forums and on the FAQ, but cant find a solution…

can someone help me?
thanks!

Offline

#2 2010-04-06 03:54:40

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: clean urls not working on windows server

does apache have mod_rewrite enabled?


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#3 2010-04-06 04:28:35

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: clean urls not working on windows server

Is it even Apache server? Or is it IIS? From your another post we could presume that it is Apache, but it is also thread dedicated for IIS.

Last edited by Gocom (2010-04-06 04:31:05)

Offline

#4 2010-04-06 07:53:38

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: clean urls not working on windows server

Its in Spanish, but this is my txp diagnosis
————

Versión de Textpattern: 4.2.0 (r3275)
Última actualización: 2010-01-25 08:24:40/2010-04-05 23:32:30
Document root: E:\WebdeOceans\asesoriadiaz.com\Html
$path_to_site: E:\WebdeOceans\asesoriadiaz.com\Html\test
Ruta a Textpattern: E:\WebdeOceans\asesoriadiaz.com\Html\test\textpattern
Modo de enlace permanente: title_only
open_basedir: E:\WebdeOceans\asesoriadiaz.com\html
upload_tmp_dir: C:\Windows\Temp
Ruta al directorio temporal: E:\WebdeOceans\asesoriadiaz.com\Html\test\textpattern\tmp
URL del sitio: www.asesoriadiaz.com/test
Versión de PHP: 5.2.9-2
Biblioteca de imagen GD: bundled (2.0.34 compatible); formatos soportados: GIF, JPG, PNG.
Servidor TZ: Europe/Paris
Tiempo local del servidor: 2010-04-06 09:48:27
¿Activar horario de verano?: 0
¿Ajustar automáticamente la preferencia ‘Horario de verano’?: 0
Zona Horaria: Europe/Madrid (3600)
MySQL: 5.1.34-community
Local: es_ES.UTF-8
Servidor: Microsoft-IIS/7.0
PHP Server API: cgi-fcgi
Cabeceras RFC 2616: 0
Sistema operativo del servidor: Windows NT 6.0
Plugins activos: glz_custom_fields-1.2.4m
Tema de administración: classic 4.2.0

Comprobación previa:
————————————
El modo de URLs limpias sólo lo soporta Apache, úsalo bajo tu responsabilidad.
No se encuentra el archivo .htaccess
Ha fallado el test de URLs limpias.
————————————

Offline

#5 2010-04-06 08:31:49

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: clean urls not working on windows server

It’s IIS server. You need ISAPI rewrite or some other filter for IIS. Your server won’t be using Apache’s configurations. Your host, or whoever maintains the server, probably can help you with setting something up. After that you can use the rules for the other thread.

Personally I would recommend Apache if there is no specific reason for IIS.

Offline

#6 2010-04-06 08:56:23

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: clean urls not working on windows server

There is no specific reason for ISS other than my client is using that server, and the hosting company they work with doesnt offer Apache servers, only ISS

Its been really hard to work with them from the beggining, not answering my questions, installing php and phpmyadmin completely wrong, and now this problem… cant really rely on them at all… and dont think I can ask my client to change servers…

I am stuck

Offline

#7 2010-04-16 11:16:30

mlarino
Member
Registered: 2007-06-29
Posts: 367

Re: clean urls not working on windows server

They are using IIS and now they installed IIS mod_rewrite 2.0 wich can import the htaccess,
they have a problem with this rule:
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
it gives them an error on import.

but I also have a problem,
the site I am making is in a subfolder, so I changed the rule in the htaccess to redirect to index.html instead of index.php (because the main site is an index.html)
how can I make my site in a subfolder work with the same “htaccess”? (only one file, not one in the subfolder also)
thanks!

Offline

Board footer

Powered by FluxBB