Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-11 16:13:16

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

.htaccess in root has /textpattern/ stuck in a redirect loop

Hey yall, I was wondering if you could give me some help, I’m not sure what’s going on.

here’s the .htaccess I have in the root of http://www.bemidjidragonboat.com

———————————————————————————————————————————-

#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

Order Deny,Allow
Deny from 85.255.0.0/255.255.0.0
Deny from 70.87.63.0/255.255.255.0
RewriteCond %{HTTP_HOST} ^bemidjidragonboat.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.bemidjidragonboat.org$
RewriteRule ^(.*)$ http://www.bemidjidragonboat.com [R=301,L]
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}

———————————————————————————————————————————-

so if I go to /textpattern/ I get a redirect loop error in firefox – “Firefox has detected that the server is redirecting the request for this address in a way that will never complete”

there’s a few directiories that needed to be secure, so that have https turned on, then on any other section, it’s turned off. This works every where except /textpattern/, but if i enter /textpattern/index.php?event=article, that works and lets me into the write tab (or login if i’m not logged in).

I’m panicking a little bit, can anyone tell me what I’m doing wrong in this .htaccess file (I assume that’s where the issue lies)

Last edited by ecklesroad (2009-02-11 16:13:46)

Offline

#2 2009-02-11 18:01:01

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: .htaccess in root has /textpattern/ stuck in a redirect loop

hmm….. flipping on DirectoryIndex index.php index.html seems to have fixed it, I think I answered my own question.

Offline

Board footer

Powered by FluxBB