You are not logged in.
Pages: 1
The following bug report was closed and makes reference to the lack of web package policy:
http://bugs.archlinux.org/task/10920
I understand that web applications will work on more than one web server and as a result, it might not be obvious to assign an installation directory. But what is obvious though is that some standardisation is somewhat suitable:
PHPMyAdmin
_instdir=${startdir}/pkg/srv/www/phpMyAdmin
punBB
install -d -m0755 $startdir/pkg/srv/www && \
mv $pkgname-$pkgver/upload $startdir/pkg/srv/www/punbb && \
phpBB
instdir=$startdir/pkg/home/httpd/html/phpbb
Squirrelmail
mkdir -p $startdir/pkg/home/httpd/html/squirrelmail
PHPPGAdmin
instdir=$startdir/pkg/srv/www/phppgadmin
I am sure there are others...
Offline
I really don't understand what is the problem here.
Your bug report says that phpmyadmin, phppgadmin and apache all install in /srv/www, so what is wrong?
Just report a bug for punbb, phpbb and squirrelmail to follow that new scheme (one bug per package, because they can be maintained by different people).
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Well, let me clarify. I initially submitted a bug report because it was recommended by a Dev.
For the record, Apache does not install in /srv/www. Maybe I mis-expressed myself. Apache sets the document root in /srv/http. It is not in line with the above listed packages. It is more or less a chicken and egg thing.
The bug report I submitted was closed because it was not considered a bug and it is suggested to set virtualhosts for the affected applications. Creating a bug report for punbb, squirrelmail and the like will be closed too... And I will be told to create virtualhosts. If there is a web policy (or whatever you want to call such a business rule) then it might be easier to set/manage the virtualhosts. I don't know how others webservers set their document root. Maybe it has to be addressed in the policy.
Offline
Hmm, I am not perfectly sure, but it seems like the intention now is to use /srv.
So /srv/http and /srv/www can be both used, but not /home.
http://www.mail-archive.com/arch-dev-pu … 03031.html
* use /srv instead of /home for http and ftp
* no package should own files within /home
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Pages: 1