Current time: 12-27-2024, 03:23 PM Hello There, Guest! (LoginRegister)


Post Reply 
modrewrite and logging
Author Message
iRaS Offline
Junior Member
*

Posts: 13
Joined: Mar 2009
Reputation: 0
Post: #1
modrewrite and logging
i think an improvement for ispcp it would be if the domainuser for each domain can define a logging level for each domain/subdomain/domainalias.

often someone creates rewrite rules and wondering why they don't work. but he can not enable logging cause it's only possible in conf files and not in htaccess files.

shure the admin can define special rules for this account. but this will generate a new ticket for each user that would change the logging level..

i simply added this lines to als_entry.tpl dmn_entry.tpl and sub_entry.tpl after the <IfModule cband.c /> part:
Code:
<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteLog {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/rewrite.log
        RewriteLogLevel 3
    </IfModule>

also a button to clear the log file would be suitable. it could simple execute
Code:
echo "" > {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/rewrite.log
03-24-2009 04:39 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
modrewrite and logging - iRaS - 03-24-2009 04:39 AM
RE: modrewrite and logging - BeNe - 03-24-2009, 04:53 PM
RE: modrewrite and logging - iRaS - 03-24-2009, 05:09 PM
RE: modrewrite and logging - kilburn - 03-25-2009, 09:34 PM
RE: modrewrite and logging - iRaS - 03-26-2009, 09:24 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)