Here is the latest updated proposal for phppgadmin. Highlights:
- The new apache webserver config module phppgadmin.conf is attached. I propose to deliver this into new config dir say, /etc/apache2/2.2/webapp.d This directory name is used by one of the linux distributions. The idea is to differentiate this module from other core config modules in /etc/apache2/2.2/conf.d directory. One should be able to include conf.d/*.conf file into httpd.conf file without worrying about enabling all webapplications, if they choose to do so. I see some other linux distributions take slightly different approaches. Discussions and insights into this are appreciated as this is a general change to apache server config for web applications such as phppgadmin. - I propose to deliver this new config file into SUNWapch22-phppgadmin package. This is similar to SUNWapch22r-php5 package which delivers php5 module for webserver. I would prefer this to get delivered to SUNWphppgadmin-apch22-config package, if the official policy, if any, would allow this -- but I somehow have a feeling, since it delivers file inside /etc/apache2/ it has to be SUNWapch*. - While I was testing the apache webserver with different configurations, I noticed that the webserver configuration is very unfriendly to non-root user. There is no example httpd-nonroot.conf file that would easily allow to kickoff webserver by non-root user. I learned the hard way, these are the parameters to specify in httpd.conf file by non-root user: PidFile /home/thava/apache/logs/httpd.pid LockFile /home/thava/apache/logs/accept.lock ErrorLog /home/thava/apache/logs/error_log Scriptsock /home/thava/apache/logs/cgisock This is not unique to solaris, the linux distributions are as unfriendly as solaris. I think in most cases, one should not run the webserver as root unless it is absolutely necessary. This is something we may want to think about making it easy for use by non-root users. -thava -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: phppgadmin.conf URL: <http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20080525/370c00b7/attachment.ksh> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: phppg1pg.txt URL: <http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20080525/370c00b7/attachment.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: man-phppgadmin.txt URL: <http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20080525/370c00b7/attachment-0001.txt>