Error in Stats Directory!

Discussion in 'General' started by zoomm, Apr 18, 2011.

  1. zoomm

    zoomm New Member

    hi, the page in stats directory is in .html extension and i get the error 500, i change the page to .php and i see all normally. How to fix this(ispconfig 3, debian lenny)?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look into the error.log of the website and post the exact error message that you find there.
     
  3. zoomm

    zoomm New Member

    the only error i find about it:

    user admin not found: /error/401.html
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats an authentication error and not a error that can be solved by renaming a file from .html to .php. Please rename the .php file back to .html, then open it in a browser and post the error message that gets added then in the error.log file.
     
  5. zoomm

    zoomm New Member

    there is not any other error like you told me above, I'm not sure bat i thing i the problem is to the .htaccess in web directory:

    RewriteEngine On

    RewriteRule index\.html index.php

    is possible the awstats to create the page to .php extension?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    No, but you can change your rewrite rule to ignore the stats directory:

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/stats
    RewriteRule index\.html index.php
     
  7. zoomm

    zoomm New Member

    ok

    thankyou till
     
    Last edited: Apr 18, 2011

Share This Page