Changes to the install and config files to support deploying the javascript code.

This commit is contained in:
Adam Young 2010-08-03 19:42:03 -04:00
parent 125bd09faf
commit b7162b3b8a
4 changed files with 23 additions and 0 deletions

View File

@ -9,6 +9,7 @@ SUBDIRS = \
html \ html \
migration \ migration \
share \ share \
static \
tools \ tools \
updates \ updates \
po \ po \

View File

@ -5,6 +5,12 @@
ProxyRequests Off ProxyRequests Off
#We use xhtml, a file format that the browser validates
DirectoryIndex index.xhtml
# ipa-rewrite.conf is loaded separately # ipa-rewrite.conf is loaded separately
# This is required so the auto-configuration works with Firefox 2+ # This is required so the auto-configuration works with Firefox 2+
@ -78,6 +84,15 @@ Alias /ipa/crl "/var/lib/pki-ca/publish"
</Directory> </Directory>
# Static data files (maily webUI stuff like images)
Alias /ipa/static "/usr/share/ipa/static"
<Directory "/usr/share/ipa/static">
SetHandler None
AllowOverride None
Allow from all
</Directory>
# WebUI assets # WebUI assets
Alias /ipa-assets/ "/var/cache/ipa/assets/" Alias /ipa-assets/ "/var/cache/ipa/assets/"
<Directory "/var/cache/ipa/assets"> <Directory "/var/cache/ipa/assets">

View File

@ -72,6 +72,7 @@ AC_CONFIG_FILES([
html/Makefile html/Makefile
migration/Makefile migration/Makefile
share/Makefile share/Makefile
static/Makefile
tools/Makefile tools/Makefile
tools/man/Makefile tools/man/Makefile
updates/Makefile updates/Makefile

View File

@ -391,6 +391,12 @@ fi
%{_usr}/share/ipa/migration/invalid.html %{_usr}/share/ipa/migration/invalid.html
%{_usr}/share/ipa/migration/migration.css %{_usr}/share/ipa/migration/migration.css
%{_usr}/share/ipa/migration/migration.py* %{_usr}/share/ipa/migration/migration.py*
%dir %{_usr}/share/ipa/static
%{_usr}/share/ipa/static/*.png
%{_usr}/share/ipa/static/*.css
%{_usr}/share/ipa/static/*.js
%dir %{_usr}/share/ipa/static
%{_usr}/share/ipa/static/*
%dir %{_sysconfdir}/ipa %dir %{_sysconfdir}/ipa
%dir %{_sysconfdir}/ipa/html %dir %{_sysconfdir}/ipa/html
%config(noreplace) %{_sysconfdir}/ipa/html/ssbrowser.html %config(noreplace) %{_sysconfdir}/ipa/html/ssbrowser.html