Welcome, Guest. [ Log In ]
Question   Where can I view my stats?
Search KBase


Top 5 in this Area:
1. What can my site stats tell me?
2. Where can I view my stats?
3. Using the web panel to customize stats reports
4. Adding stats report users
5. What are analog's default report settings?

 
Where can I view my stats?
To view your statistics report, visit the following URL:

http://www.yourdomain.com/stats/

...replacing "yourdomain.com" with your actual domain.

The report is password protected. Your username and password for the report are not necessarily the same as your Web Panel login, and each of your domains may have different usernames and passwords. This can be configured within the web panel.

To do so, visit the Status :: Statistics section of the DreamHost Web Panel to see a listing of your domains. Click on "Users" to see a listing of that domain's usernames for Stats access. If you've forgotten your Stats password(s), please contact Technical Support. Alternatively, you can also just create a brand new Stats username and give it a password of your choosing.

Note that some web application software such as Movable Type, Greymatter, and Drupal may 'steal' the /stats request and try to process it itself instead of letting you view your stats. Typically the stealing of the URL is done with a set of mod_rewrite rules in a .htaccess file. You can edit the .htaccess file and add these two extra rules in the main set to pass through the requests for /stats:

RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ - [L]

Note: If you need the raw log files for your domain, rather than a statistics report, you may view them in your home directory, contained in a directory named "logs". For example, if your home directory is:

/home/username/

...the logs would be located in:

/home/username/logs/

Last updated: Apr 07, 2005.

User Post (2006-01-08 01:57:15 by paulklee)
If you're using Ruby on Rails, using the lines above will work fine for redirecting to the stats page. Put them in your .htaccess file before all the rules for Ruby ie just below the commented out lines

# RewriteCond %{REQUEST_URI} ^/notrails.*
# RewriteRule .* - [L]
User Post (2006-01-03 11:20:18 by ronrapp)
Actually, this works for WP 2.0. I think WHERE you put the added code makes a difference. Try this:


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>

# END WordPress

It worked for me, at least.
User Post (2005-12-29 11:26:46 by thegeekguy)
I would like to see the wordpress 2.0 solustion as well
User Post (2005-12-28 16:00:26 by trale)
anyone have a fix for wordpress 2.0? tried playing around with a couple of the suggestions but not able to get it to work -

worked perfect in 1.5 :-/
User Post (2005-11-08 11:10:47 by zedt)
.htaccess solution for joomla/mambo would be great if anyone got it
User Post (2005-10-02 12:58:39 by regfee)
Be careful with .htaccess and mambo. I added a couple lines of code and it took down my site. Thank goodness for backups.
User Post (2005-09-24 10:16:34 by obliviate)
internodium's drupal modifications also work for textpattern.
User Post (2005-09-22 03:08:44 by domfos)
I just did this for Wordpress 1.5 - and did the same as mharvey75. It works fine but I had some problems trying to fing the .htaccess file.
I found that I had to set my ftp client to make hidden files visible. I use Leech and this is done in the file->options->transfers - and then then typing "LIST -al" into the List Command window.
BTW the file is in the root folder of the Wordpress install incase you can't find it either.
User Post (2005-08-07 20:48:21 by margeekwebster)
When I tried to access http://mydomain.net/stats , I got an error message: no input file specified.

I determined that this resulted from the following line in my .htaccess file:
Addtype php-cgi .html

(I needed this line to activate PHP in .html files)

Solution: I used a different command line in .htaccess, to activate PHP in .html:
AddType application/x-httpd-php .html

After I made this change to .htaccess, I began getting the dialogue box used to access my stats page. Apparently the AddType syntax I had used at first was interfering with the function that governs the passworded access to /stats
User Post (2005-07-27 09:14:18 by web3125)
It may be of help to know that when I added the RewriteCond for Movable Type (as per the first post) I needed to place them before the MT

RewriteCond %{REQUEST_FILENAME} !-d^M

statement for it to properly function. Not entirely sure why but it worked for me
User Post (2005-06-09 05:41:12 by muslimclick)
For Drupal 4.6, the following worked for me:

RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$

(i.e same as in main post with the last line removed)
User Post (2005-05-20 21:15:34 by altano)
Intermodium's rewrite rules don't work with Drupal 4.6
User Post (2005-04-04 19:54:59 by lunacy8m)
Performing this change lets you see your stats, but breaks your Movable Type installtion.
User Post (2005-04-02 05:00:10 by mharvey75)
Just my experience: to get this to work with WordPress 1.5, I added:

RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$ [OR]

right before the line

RewriteCond %{REQUEST_FILENAME} -f [OR]
User Post (2005-03-11 17:04:14 by internodium)
For your site stats to work with Drupal, you will need to modify .htaccess in a slightly different way (notice the exclamation marks):

# Rewrite URLs of the form 'index.php?q=x':
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/stats/(.*)$
RewriteCond %{REQUEST_URI} !^/failed_auth.html$
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
User Post (2005-01-09 22:01:20 by deadlurker)
I just want to thank Brandon65 for the info regarding IE and fixing the stat feature...I had the same problem and I did what he said and now it works perfectly :)

Thanks :)
User Post (2003-03-26 23:29:46 by brandon65)
I decided to post a small bit of information here because someone may have the same problem I just had. For a few weeks I was unable to view my stats from the machine I use most often. When I would go to mydomain.com/stats I would either get a "page not found" or the current page would just stay in the browser. By the way, I am running IE 6sp1 on XPsp1. You should get a little pop-up login window. But I wasn't even getting that far. After a lot of head scratching I finally found some help on microsofts support pages. Apparently some time or other my IE got screwed up. Anyway if you are having this problem you may try the following:
Use the System File Checker tool to scan all of the protected files on your computer:
Click Start, and then click Run.
In the Open box, type sfc /scannow, and then click OK.

Note that you may be prompted for the Windows XP or Windows XP Service Pack 1 installation media.

Just doing this cured my problem, wheeeeeeeeew :-)
Goodluck and God Bless America