Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Quebec, Canada
    Posts
    32
    Plugin Contributions
    0

    Default Re: Who's Online shows everyone on page_not_found

    I'm having the same issue. Any real user online will appear as being on the page_not_found except for spiders.


    For the info, the whos_online page will work just fine if I remove the ErrorDocument 404 line but then I get default Apache error page...

    Here's the content of my .htaccess

    Code:
    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.anaddondomain.com
    
    
    
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^mysite.(.*)
    RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]
    
    
    
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://mysite.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://mysite.com$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.mysite.com/.*$      [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.mysite.com$      [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp|mp3)$ - [F,NC]
    
    
    
    ErrorDocument 404 http://www.mysite.com/index.php?main_page=page_not_found
    Note that I've removed Frontpage extensions a while ago from my server but since I almost know nothing about .htaccess files, I just let the line there. If anyone could tell me what's wrong, that would be greatly appreciated!

    Again, I have no clue about what those codes all mean except for the FollowSymLinks and the ErrorDocument 404. If someone feels in the mood to explain it to me or suggest that I delete unnecessary content, I'll be glad to try any suggestions so that I can get the whos_online page working again!

  2. #2
    Join Date
    Jun 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Who's Online shows everyone on page_not_found

    Quote Originally Posted by Fred9V View Post
    I'm having the same issue. Any real user online will appear as being on the page_not_found except for spiders.


    For the info, the whos_online page will work just fine if I remove the ErrorDocument 404 line but then I get default Apache error page...
    Re-writing the ErrorDocument line to read as below solved my problem:

    ErrorDocument 404 /index.php?main_page=page_not_found

  3. #3
    Join Date
    Nov 2006
    Location
    Quebec, Canada
    Posts
    32
    Plugin Contributions
    0

    Default Re: Who's Online shows everyone on page_not_found

    I'm afraid this solution doesn't work for me...

    Anyone else?

 

 

Similar Threads

  1. Who's Online shows that my customers are on /images/
    By mugshot in forum General Questions
    Replies: 1
    Last Post: 19 Dec 2009, 01:56 PM
  2. Who's Online now shows everyone with server ip address????
    By njsparks in forum Basic Configuration
    Replies: 1
    Last Post: 6 Feb 2009, 08:30 PM
  3. Who's Online Shows all customers with things in their Cart.
    By buyashed in forum General Questions
    Replies: 1
    Last Post: 6 Jun 2008, 08:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg