You are not logged in.
Hi,
lighttpd (and apache too, I think) have their default document roots in /srv/http.
phpmyadmin (and mediawiki from aur) install their files in /srv/www .
How do we solve this itty-bitty problem?
1 - symlink /srv/www and /srv/http - I think this is an ugly hack.
2 - Set up an Arch policy that says that one or the other should be used - I think this is bureaucratic, but better since we know that there is a particular pat to follow.
So, people. What do all of you think should be done about this?
Thanks.
Offline
I got phpmyadmin folder from abs, then simply edited phpmyadmin PKGBUILD replacing /srv/www with srv/http. And that was enough, everything is working fine.
Last edited by InsektO (2008-08-31 19:47:59)
Offline
Please file a bug report for the phpmyadmin packager. It should probably install to /usr/share or something and symlink to /srv/www
Offline
Right, /usr/share is the right place for such arch-independent scripts. No package should install files to /srv. Its up to the user to create symlinks or aliases from /usr/share to /srv/http.
The policy for /srv should be /srv/<protocoll name>. E.g. ftp, http etc..
Offline
Right, /usr/share is the right place for such arch-independent scripts. No package should install files to /srv. Its up to the user to create symlinks or aliases from /usr/share to /srv/http.
The policy for /srv should be /srv/<protocoll name>. E.g. ftp, http etc..
I did time quite some time ago... http://bbs.archlinux.org/viewtopic.php?id=51739. It was decided it is not a bug.
Offline
I requested to reopen that bug based on this thread: http://bugs.archlinux.org/task/10920
Zl.
Offline
But what I should do with configs, data directories etc? I do not think that they should be placed in /usr/share...
Offline
config files should go to /etc.
Offline
Plus if able go back to the old standard of having full paths in config files.
Old: "Good practice."
# Various default settings
Include /etc/httpd/conf/extra/httpd-default.conf
New: "Bad idea."
# Various default settings
Include conf/extra/httpd-default.conf
Thanks for your time and Take Care!
Offline
Ok, thank you all for the posts.
I've just had a look at the re-opened bug report, and it seems that Sergej's recommendation is to use a symlink in the webserver's document root that points to wherever the package files are installed by pacman (Egs: '/srv/www/phpMyAdmin' or '/srv/http/mediawiki').
Please let me know if my interpretation is accurate.
Thank you.
Offline
...or create a virtual directories in web server.
Offline
This is the first time in years that I've done anything with a web server, sorry.
Are you talking about using aliases?
Thanks, Sergej
Offline