I mean that I dont want to overwrite the drupal index.php file, neither to put files in drupal directories
(this will happen if I follow the directions of PHP WebStat site).

Any idea how to make it work in a directory under the root of server?

Comments

agrigor1’s picture

I found it. I was getting a 500 Internal server error due to configuration in Apache.

It is now obvious that the required by Drupal setting

session.save_handler user

causes all the problems (internal server error 500)

So the solution is to make a .htaccess file inside the 'stat' directory where you
1) delete the rewrite rules
2) added the line
php_value session.save_handler "files"

Please include this in the module documentation (Readme.txt or Install.txt) so that others will not spend hours to 'reinvent the wheel'

jochen wendebaum’s picture

Assigned: Unassigned » jochen wendebaum
Status: Active » Closed (fixed)

thanks for the info, added that to the source and will be included in the next release.