Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-13 18:57:10

kcomphlint
New Member
Registered: 2004-06-29
Posts: 3

Textpattern "clean" links are messing up access to non-txp directories

I am using Textpattern and the “/section/title” link style. I have installed a web-based calendar in the subdirectory “/calendar”, but I cannot access it. I think that it may be the htaccess rules for the textpattern URL rewrites that is messing up my access to it. Are there any changes I can put in place that would fix this issue?

When I try to go to the URL for the calendar now, I get the standard TXP 404 page.

Offline

#2 2006-08-13 19:19:12

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Textpattern "clean" links are messing up access to non-txp directories

The standard .htaccess file that comes with TXP would not cause that to happen, because only if you’re requesting an file/directory that does not physically exist on the webserver, the request is handled by TXP.

Can you double check if that ‘calendar’ directory really exists in the root directory of your website?

Offline

#3 2006-08-13 19:46:32

kcomphlint
New Member
Registered: 2004-06-29
Posts: 3

Re: Textpattern "clean" links are messing up access to non-txp directories

Yeah, I am pretty sure it is there in the root. I can see it when I login via FTP.

Here are the contents of my .htaccess file:

#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L] RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0

Last edited by kcomphlint (2006-08-13 19:47:32)

Offline

#4 2006-08-13 20:33:57

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Textpattern "clean" links are messing up access to non-txp directories

What happens when you temporarily remove/rename the .htaccess file (if you don’t mind the TXP part of your website going offline while testing)?

Offline

#5 2006-08-13 20:59:25

kcomphlint
New Member
Registered: 2004-06-29
Posts: 3

Re: Textpattern "clean" links are messing up access to non-txp directories

I figured it out. I was using Fantasico on my web host to install this script. When I did it manually, everything worked fine.

Thanks.

Offline

Board footer

Powered by FluxBB