]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
Revert "- migrate to apache 2.4"
authorElan Ruusamäe <glen@delfi.ee>
Wed, 29 May 2013 20:30:54 +0000 (23:30 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 29 May 2013 20:30:54 +0000 (23:30 +0300)
This reverts commit 02fb90334ed94d9b113cbb2d3ad216959a338c2a.

dokuwiki-httpd.conf [deleted file]
dokuwiki.spec

diff --git a/dokuwiki-httpd.conf b/dokuwiki-httpd.conf
deleted file mode 100644 (file)
index b77baaa..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-Alias /dokuwiki /usr/share/dokuwiki
-
-<Directory /usr/share/dokuwiki/>
-       Require all granted
-
-       <IfModule mod_rewrite.c>
-               Options +FollowSymLinks
-
-               ## $conf['userewrite'] = 1 - not needed for rewrite mode 2
-               RewriteEngine on
-
-               ## Not all installations will require the following line.  If you do,
-               ## change "/dokuwiki" to the path to your dokuwiki directory relative
-               ## to your document root.
-               RewriteBase /dokuwiki
-
-               RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
-               RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
-               RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
-               RewriteRule ^$                        doku.php  [L]
-               RewriteCond %{REQUEST_FILENAME}       !-f
-               RewriteCond %{REQUEST_FILENAME}       !-d
-               RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
-               RewriteRule ^index.php$               doku.php
-       </IfModule>
-</Directory>
index 9d4d6bc57600537bd420223dfa41e83e355f83d6..3e411c918793d024a0c6c95be56e34fc9ed2a3b9 100644 (file)
@@ -7,7 +7,7 @@ Summary:        PHP-based Wiki webapplication
 Summary(pl.UTF-8):     Aplikacja WWW Wiki oparta na PHP
 Name:          dokuwiki
 Version:       %{ver}
-Release:       3
+Release:       2
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}.tgz
@@ -27,7 +27,6 @@ Source9:      http://trac.edgewall.org/export/9404/trunk/doc/trac_icon_16x16.png
 Source10:      pld.gif
 Source11:      http://glen.alkohol.ee/pld/astah.png
 # Source11-md5:        b1c999e6988440c9e2af6a12e9a56451
-Source12:      %{name}-httpd.conf
 Patch66:       %{name}-config.patch
 Patch0:                %{name}-paths.patch
 Patch1:                system-jquery.patch
@@ -66,7 +65,6 @@ Requires:     webserver(php)
 Suggests:      php-adldap >= 3.3.1
 Suggests:      php-gd
 Obsoletes:     dokuwiki-plugin-jquery
-Conflicts:     apache-base < 2.4.0-1
 Conflicts:     dokuwiki-plugin-icalevents < 20120909
 # can use gz compression to store attic pages
 Suggests:      php-zlib
@@ -204,7 +202,7 @@ cp -a$l lib/* $RPM_BUILD_ROOT%{_appdir}/lib
 cp -a$l conf/* $RPM_BUILD_ROOT%{_sysconfdir}
 cp -a$l data/* $RPM_BUILD_ROOT%{_localstatedir}
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-cp -p %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
 touch $RPM_BUILD_ROOT%{_sysconfdir}/acronyms.local.conf
 touch $RPM_BUILD_ROOT%{_sysconfdir}/entities.local.conf
@@ -258,10 +256,10 @@ fi
 %triggerun -- apache1 < 1.3.37-3, apache1-base
 %webapp_unregister apache %{_webapp}
 
-%triggerin -- apache-base
+%triggerin -- apache < 2.2.0, apache-base
 %webapp_register httpd %{_webapp}
 
-%triggerun -- apache-base
+%triggerun -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
 %triggerin -- lighttpd
This page took 0.11638 seconds and 4 git commands to generate.