I'd like to introduice an idea to you all, and see if it is possible to develop that idea for awstats.
Short story: Can awstats be configured in such a way that NO changes to the filesystem are needed when the sysadmin adds a new virtual host ?
Long story: I am using a (homebrewn) content management system. It uses mysql as its database. Adding a new virtual host is done as follows:
1. create a new mysql database.
2. copy the basic data into the new database
3. assign users and password and permissions for that database (in the mysql database)
4. insert a record in a special mysql database, that keeps track of which virtualhost are deployed.
After I did this (with a script) I do NOT have to restart Apache! This is because the default host points to a php-script that uses SERVER_NAME as key to lookup this virtual host in the specialmysql database. If it doesn't exist, it displays 'web site not found' but if it does exist, it just loads the proper database for that virtual host and starts displaying the pages.
I would like to integrate awstats (and many other applications) into that structure.
Do you see that as feasible ?
As far as I can oversee the situation, this needs to be addressed:
For more information about this idea, also see http://www.suares.com/qwired
The reason I would like to see such a thing, is that I can then do with ONLY ONE install of awstats, and that is upgraded, it's of course automatically upgraded for all sites. Also, no root privileges are needed to add a virtual host.
Did not anybody ever respond to this ?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.