Howto use Mint for tracking and stats?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
derlinzer
Regular
Posts: 24
Joined: Mon Sep 03, 2007 3:12 pm
Location: Linz, Austria
Contact:

Howto use Mint for tracking and stats?

Post by derlinzer »

I installed Serendipity in the root directory of my domain and not in a subdirectory like eg. 'blog', 's9y', or 'serendipity'.

Now i want to use Mint for tracking and stats. I placed the 'mint' directory also in my root folder and it should be accessible via http://mydomain.com/mint - but that doesn't work; i get redirected to my Serendipity blog.

Any idea, what i'm doing wrong? It worked flawlessly this way in WordPress...
Giving S9y a try...
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Howto use Mint for tracking and stats?

Post by garvinhicking »

Hi!

Put a .htaccess in your mint directory and insert "RewriteEngine Off".

See FAQ: http://www.s9y.org/11.html#A13

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
derlinzer
Regular
Posts: 24
Joined: Mon Sep 03, 2007 3:12 pm
Location: Linz, Austria
Contact:

Post by derlinzer »

Ok... do i have to put the htaccess in all sub-(and subsub-)directories of Mint as well?
Giving S9y a try...
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

No, only the core directory. All subdirectories inherit that setting (which is why in first instance the s9y rules apply to the mint directory).

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

Hey glad to see you're trying out Mint! I use it as well, and it's pretty dern nifty.

You can add the Mint script in the Head nugget plugin to track your stats.
derlinzer
Regular
Posts: 24
Joined: Mon Sep 03, 2007 3:12 pm
Location: Linz, Austria
Contact:

Post by derlinzer »

@azel: please take a look at this post.

@gavin: thanks for your help, just one more question: What else has to be in the .htaccess to automatically open .../mint/index.php when opening .../mint/ in my browser? Currently i have to explicitly open .../mint/index.php
Giving S9y a try...
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Try

Code: Select all

DirectoryIndex index.php
or

Code: Select all

DirectoryIndex /mint/index.php
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply