Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-16 00:33:12

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

Directory protected with external .htacess gets 404 for TXP 4.0.2

I have a site where the statistics page (awstats) is reached by going to www.mysite.com/stats/

The /stats/ directory uses a .htaccess file for a simple password protection.

I note that now that TXP (4.0.2) handles error documents, it immediately reports a 404 when attempting to view /stats/.

If I remove the password protection .htaccess, it works fine.

Any ideas as to how I might get around this?

SH

Last edited by Vitruvius (2005-11-16 00:41:33)

Offline

#2 2005-11-16 01:35:33

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Directory protected with external .htacess gets 404 for TXP 4.0.2

htaccess is a law unto itself and what works for one doesn’t work for another, however, a little further down this forum is this thread which has some suggestions in it.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2005-11-16 01:36:43

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Directory protected with external .htacess gets 404 for TXP 4.0.2

hi Vitruvius,

I reccomend you to read this links:

.htaccess and awstats
TXP works but other scripts dont work because TXP. mod_rewrite issue?
Stats page redirects to main

And if you find a solution… share it! ;)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#4 2005-11-16 04:49:45

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

Re: Directory protected with external .htacess gets 404 for TXP 4.0.2

I did find some of these posts myself – and I think in atleast one case the problem is identical. It is not really related to awstats, just that the /stats/ directory is password protected with another .htaccess file.

Unfortunately the solution offered in that post does not work on my host…

I need a mod_rewrite / htaccess guru.

SH

Offline

#5 2005-11-16 06:12:45

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

Re: Directory protected with external .htacess gets 404 for TXP 4.0.2

I need a mod_rewrite / htaccess guru.

So do we. Sofar, not a sausage.


Alex

Offline

Board footer

Powered by FluxBB