Am Samstag, den 28.05.2011, 16:44 +0530 schrieb Ankur Sinha:
Hi folks,
I was packaging openEMR. This is what the INSTALL file says:
https://fedorahosted.org/fedora-medical/ticket/4
> Copy the OpenEMR folder into the root folder of the webserver. On Mandrake
> Linux, for example, use the command:
>
> bash# mv openemr /var/www/html/
>
> Make sure the webserver is running, and point a web-browser to setup.php located
> within the openemr web folder. If you installed OpenEMR in the root web
> directory, the URL would read:
http://localhost/openemr/setup.php.
> The setup script will step you through the configuration of the OpenEMR.
During the packaging, do I place the files in the /var/www/html/ dir, or
should I place them all in %{_datadir} and add a README.fedora which
tells the user to copy it there etc?
If there's a package like this already, please point me to it.
Maybe have a look as w3c-markup-validator or phpMyAdmin as examples for
web based software. As far as I can see, the idea is, to put software
where it belongs to (%{_datadir}) and add a file to the web server
configuration (i.e. Apache in /etc/httpd/conf.d/) which is pointing to
the software via the Alias directive.
Hope this helps :)
Regards,
Dominic
--
Dominic Hopf <dmaphy(a)googlemail.com>
http://dominichopf.de/
Key Fingerprint: A7DF C4FC 07AE 4DDC 5CA0 BD93 AAB0 6019 CA7D 868D