Page 1 of 1
can't view separately installed stats (htaccess redirect?)
Posted: Mon Oct 23, 2006 10:26 pm
by tshcomm
hi. my sysadmin installs a stats program on each of my domains, but on this one i can't view my site.com/stats page because of the htaccess redirect. is there a workaround for this?
thanks in advance!
Posted: Tue Oct 24, 2006 5:35 am
by azel
Inserting RewriteEngine Off in your .htaccess should do the trick.

Posted: Tue Oct 24, 2006 7:24 am
by tshcomm
that won't break anything? isn't the rewrite on for security reasons and that will disable it?
Posted: Tue Oct 24, 2006 10:41 pm
by judebert
It'll break "pretty" URLs, but that's it. It's not a security thing, just an SEO thing.
Posted: Thu Oct 26, 2006 4:41 am
by tshcomm
thanks for answering. i'd like to pursue having both, however....keep the seo while still viewing my stats directory. is this possible? with ones and zeros anything can be done

Posted: Thu Oct 26, 2006 12:16 pm
by garvinhicking
Hi!
You only need that .htaccess in subdirectories of your external applications. It does not effect the SEO-ness of Serendipity itself.
Best regards,
Garvin
Posted: Thu Oct 26, 2006 9:52 pm
by tshcomm
please pardon my learning process

but are you saying that i stick a .htaccess file with the rewrite engine off under the stats directory so that effects only that directory while the other htaccess still works the same for everything else?
if yes, then can you please tell me the exact wording to put inside the stats htaccess file?
thanks again!
allen
Posted: Thu Oct 26, 2006 10:15 pm
by garvinhicking
Hi!
Exactly - .htaccess files will only affect all subdirectories and files inside the directory where you put a .htaccess. So, if you stick a .htaccess in any subdirectory, the .htaccess of any possible previous parent directory will still apply to the files within that parent directory, but no longer within the subdirectory, because this has its own .htaccess.
The exact wording is:
Regards,
Garvin