Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-17 19:46:18

andrea
Member
From: la la land
Registered: 2004-02-24
Posts: 62
Website

Just upgraded - .htaccess isn't working?

Hi ~ I just upgraded to 4.2.0 after using Textpattern for about four or five years now with little problems. However, I’ve had to switch to messy URLs and remove the .htaccess file since no matter what was in it, I’d get a 500 Internal Error message. Of course, I’d rather have clean URLs again. My host is TextDrive/Joyent and I had clean URLs working fine this morning before the upgrade – any ideas? Unfortunately, I lost my old .htaccess file or I’d just give that a try. Thanks for any and all help.

Textpattern version: 4.2.0 (r3275)
Last Update: 2009-10-17 17:23:53/2009-08-28 19:31:19
Document root: /users/home/xxx/public_html
$path_to_site: /users/home/xxx/public_html
Textpattern path: /users/home/xxx/public_html/textpattern
Permanent link mode: messy
upload_tmp_dir: /usr/local/www/php/tmp
Temporary directory path: /users/home/xxx/public_html/textpattern/tmp
Site URL: xxx.xxx
PHP version: 5.1.4
GD Image Library: version bundled (2.0.28 compatible), supported formats: GIF, JPG, PNG
Server TZ: -
Server Local Time: 2009-10-17 19:39:42
DST enabled?: 1
auto_dst: 
Time Zone:  (-28800)
MySQL: 4.1.13-log
Locale: en_US.UTF-8
Server: Apache
PHP Server API: cgi-fcgi
RFC 2616 headers: 
Server OS: FreeBSD 5.4-STABLE
Active plugins: jmr_gallery-0.1m, ajw_comment_alt-0.3, zem_contact_reborn-4.0.3.20m, mir_category_cloud-0.1, zem_contact_lang-4.0.3.6, asy_wondertag-0.5, ike_slideshow-0.1, fpx_image_import-0.4, lam_image_uploader-0.6c
theme_name: classic 4.2.0
-------

#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]

	RewriteCond %{REQUEST_URI} !=/favicon.ico
	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

(added bc.. for better display. -Els)

Last edited by els (2009-10-17 21:45:39)

Offline

#2 2009-10-17 21:05:20

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Just upgraded - .htaccess isn't working?

Hi andrea

You can still use the old htaccess file if that works for you


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2009-10-18 02:29:07

andrea
Member
From: la la land
Registered: 2004-02-24
Posts: 62
Website

Re: Just upgraded - .htaccess isn't working?

colak wrote:

You can still use the old htaccess file if that works for you

Thanks. I would if I had it still but I unfortunately overwrote it by accident, as written above.

Offline

#4 2009-10-18 06:45:15

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Just upgraded - .htaccess isn't working?

Here is 4.0.8. Download it just for the htaccess file:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2009-10-18 06:54:40

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

Re: Just upgraded - .htaccess isn't working?

colak wrote:

Download it just for the htaccess file:)

SVN — you select what to get.

svn/releases/4.0.8/source/.htaccess

Offline

Board footer

Powered by FluxBB