pax_global_header00006660000000000000000000000064111406304460014511gustar00rootroot0000000000000052 comment=08d924b68b98883976cd48c261a86d9328ff7083 alt-docs-apache2-0.1/000075500000000000000000000000001114063044600143565ustar00rootroot00000000000000alt-docs-apache2-0.1/.gear/000075500000000000000000000000001114063044600153525ustar00rootroot00000000000000alt-docs-apache2-0.1/.gear/rules000064400000000000000000000000061114063044600164230ustar00rootroot00000000000000tar:. alt-docs-apache2-0.1/alt-docs-apache2.spec000064400000000000000000000034251114063044600202450ustar00rootroot00000000000000# defs from rpm-macros-apache2 %define post_apache2conf /sbin/service httpd2 condreload %define postun_apache2conf /sbin/service httpd2 condreload %define apache2_extra_available /etc/httpd2/conf/extra-available %define apache2_extra_start /etc/httpd2/conf/extra-start.d %define apache2_mods_start /etc/httpd2/conf/mods-start.d Name: alt-docs-apache2 Version: 0.1 Release: alt2.M41.1 Summary: apache2-related config for ALT Linux documentation License: %gpl3plus Group: Networking/WWW URL: http://git.altlinux.org/people/azol/packages/%name.git Packager: Artem Zolochevskiy Buildarch: noarch Source: %name-%version.tar BuildRequires(pre): rpm-build-licenses Requires: apache2 Requires: indexhtml %description apache2-related config for ALT Linux documentation. Documentation is accessible by URL: http://localhost/alt-docs/ %prep %setup %install install -p -m644 -D alt-docs.conf %buildroot%apache2_extra_available/alt-docs.conf install -p -m644 -D alt-docs-extra-available.conf %buildroot%apache2_extra_start/030-alt-docs.conf install -p -m644 -D alt-docs-mods-start.conf %buildroot%apache2_mods_start/030-alt-docs.conf %files %apache2_extra_available/* %apache2_extra_start/* %apache2_mods_start/* %post %_sbindir/a2chkconfig > /dev/null %post_apache2conf %preun %_sbindir/a2disextra alt-docs > /dev/null %postun %postun_apache2conf %changelog * Fri Jan 30 2009 Artem Zolochevsky 0.1-alt2.M41.1 - build for 4.1 branch (0.1-alt3) * Fri Jan 30 2009 Artem Zolochevsky 0.1-alt3 - spec modification: * add Url: * use -p option for install call * Thu Dec 04 2008 Artem Zolochevsky 0.1-alt2 - more descriptive %%description * Tue Dec 02 2008 Artem Zolochevsky 0.1-alt1 - initial build for Sisyphus alt-docs-apache2-0.1/alt-docs-extra-available.conf000064400000000000000000000000151114063044600217660ustar00rootroot00000000000000alt-docs=yes alt-docs-apache2-0.1/alt-docs-mods-start.conf000064400000000000000000000000261114063044600210240ustar00rootroot00000000000000alias=yes rewrite=yes alt-docs-apache2-0.1/alt-docs.conf000064400000000000000000000013331114063044600167330ustar00rootroot00000000000000# # Summary: Provide access to the ALT Linux documentation on your server. # Provides: Extra # # # Provide access to the ALT Linux documentation on your server. # # Required modules: mod_alias, mod_rewrite # # We use /usr/share/doc/alt-docs/indexhtml/index.html as a starting point, # those we nedd rewriting engine. # Alias /alt-docs /usr/share/doc/alt-docs/ Order allow,deny Allow from all RewriteEngine On RewriteBase /alt-docs/ RewriteRule ^$ indexhtml/index.html [R,L] RewriteRule ^index\.html$ indexhtml/index.html [R,L]