FS#1857 - apache's DocumentRoot
Attached to Project:
Arch Linux
Opened by Dale Blount (dale) - Tuesday, 30 November 2004, 19:57 GMT
Last edited by Pierre Schmitz (Pierre) - Monday, 14 July 2008, 01:37 GMT
Opened by Dale Blount (dale) - Tuesday, 30 November 2004, 19:57 GMT
Last edited by Pierre Schmitz (Pierre) - Monday, 14 July 2008, 01:37 GMT
|
Details
placing files in /home/ causes problems for boxes with /home
mounted as nfs. most other distros place DocumentRoot in
/var/www/ or /usr/local/ or some other place that is local
to that server. /var isn't typically nfs mounted (at least
mounted and shared between servers, by spec).
|
This task depends upon
Closed by Pierre Schmitz (Pierre)
Monday, 14 July 2008, 01:37 GMT
Reason for closing: Fixed
Additional comments about closing: webservers are using /srv/http now.
Monday, 14 July 2008, 01:37 GMT
Reason for closing: Fixed
Additional comments about closing: webservers are using /srv/http now.
that is all.
Why not make roots as /srv/{apache,lighttpd,nginx,cherokee,hiawhatha,webfs...} and create symlink to /srv/www in post_install? I think it won't violate FHS and will solve the issue.
But since we all don't like webapps as pacman packages (they can be just untarred manually and anyway they always require manual config) - I must confess that this idea was... ehm... not good :P