Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-12-12 16:02:56

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

htaccess interferes with punBB

txp’s htaccess interferes with punBB.

Problem Description

I have txp in the root and forum in subdomain. Txp’s htaccess prevents me from viewing Admin>Forums (forums.php) in PunBB and is redirecting me to s.php which somehow loads the front page of the forum…

The cause of the problem eluded me for some time thinking that it is PunBB’s fault but disabling txp’s htaccess for a few minutes all worked just fine in the forum.

Here is what I have:

RewriteEngine On
SecFilterSelective "REQUEST_URI" "http://forum.neme.org/post.php" "allow,nolog"

#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

#SecFilterEngine Off

<IfModule mod_rewrite.c>
    RewriteEngine On
 RewriteCond %{HTTP_HOST} ^neme\.org$
 RewriteRule (.*) http://www.neme.org/$1 [R=301,L]

    #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

Any ideas on what is causing the redirect?


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

Offline

Board footer

Powered by FluxBB