Textpattern Forum

You are not logged in. Register | Login | Help

#1 2005-04-14 18:24:34

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

Post your Clean URL .htaccess tweaks here

In order to make Clean URLs as widely available as possible, we need information from as many different servers environments as possible.

If you’re using RC3 or SVN current, and had to make changes to your .htaccess file in order for Clean URLs to work, please post the details here. What we need:

1. The name of your hosting company (e.g. 1and1)

2. A copy of your diagnostic info (admin > diagnostics) – just the low detail version. This should include the contents of your .htaccess file (if not, post that too).

3. Any other server configuration or Textpattern adjustments that were necessary to make it work.

We’d especially like to hear from any IIS users who have managed to make Clean URLs work.


Alex
tstate

Offline

#2 2005-04-14 18:59:01

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Post your Clean URL .htaccess tweaks here

Hosting : OVH on shared host.

Version de Textpattern : 1.0rc3
Document racine : /home/shadowfr/www
$path_to_site: /home/shadowfr/www/txp
Chemin d’accès à Textpattern : /home/shadowfr/www/txp/textpattern
Format des URL: section_title
Répertoire temporaire: /home/shadowfr/www/txp/textpattern/tmp
URL du site : www.shadowfrance.net/txp
Version de PHP : 4.3.11
Register globals PHP : 1
Magic quotes PHP : 1/0
Locale: fr_FR
Serveur : Apache

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

RewriteRule ^(.) */txp/index.php

The /txp/index.php is the edited one, as per ‘this forum thread”:http://forum.textpattern.com/viewtopic.php?id=6484 . Aka, mod_ort is used over mod_rewrite, so OVH users need to specify by hand the base path. Details are in their FAQ.

Offline

#3 2005-04-14 19:00:36

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Post your Clean URL .htaccess tweaks here

Argh, forum broken can’t edit, and Textile is buged. It’s /txp/index.php , remove the *.

Offline

#4 2005-04-15 20:22:52

larf
Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: Post your Clean URL .htaccess tweaks here

I had to add “RewriteBase /

Offline

#5 2005-04-18 16:41:46

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

Re: Post your Clean URL .htaccess tweaks here

Looks like some people benefit from this:

DirectoryIndex index.php index.html


Alex
tstate

Offline

#6 2005-04-19 05:24:03

saccade
Plugin Author
From: Raubling, Germany
Registered: 2004-11-05
Posts: 462

Re: Post your Clean URL .htaccess tweaks here

Hello,

Hosting: Schlund & Partner, Germany, WebPlus-package.
As far as I know it is a part of 1and1.

I also got a Error-500-message using the .htaccess-settings provided by the textpattern setup.

original .htaccess-file settings:

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

RewriteRule ^(.*) index.php

With that .htaccess-file in my root directory nothing worked, only an error-500-message showed up.
Without any .htaccess-file and switched to messy-mode everything was fine – but of course messy.

I mailed to my provider support, but they asked “which rule I regard to” and from where I got my .htaccess-information.

Now I tried zems answer to soulship and mrdale (from New htaccess gives 500 Server Error “change the last line to use an absolute path

Offline

#7 2005-05-03 00:12:23

edburdo
Member
Registered: 2004-09-20
Posts: 79
Website

Re: Post your Clean URL .htaccess tweaks here

Here is what I use… 1and1 servers, TXP 1.0RC3

RewriteBase /
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php

AddDefaultCharset UTF-8


Eric

Offline

#8 2005-05-24 09:39:18

stevechamp
Member
Registered: 2004-08-13
Posts: 12

Re: Post your Clean URL .htaccess tweaks here

I would especially like to hear from any Zeus users out there who’ve got clean url RC3 to work, & what they did with their .htaccess

Offline

Board footer

Powered by FluxBB