Browse Source

fix URL rewriting support

master
parent
commit
2055152c75
  1. 29
      punbb/punbb.patch

29
punbb/punbb.patch

@ -1,7 +1,30 @@
Index: .htaccess.dist
--- .htaccess.dist.orig 2008-10-31 10:04:18 +0100
+++ .htaccess.dist 2009-10-02 22:36:29 +0200
@@ -1,17 +1,9 @@
-# BEGIN PunBB
-<IfModule mod_rewrite.c>
-# MultiViews interfers with proper rewriting
Options -MultiViews
-
RewriteEngine On
-
-# Uncomment and properly set the RewriteBase if the rewrite rules are not working properly
-#RewriteBase /
+RewriteBase /punbb
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . rewrite.php [L]
-</IfModule>
-# END PunBB
\ No newline at end of file
Index: admin/install.php
--- admin/install.php.orig 2008-10-31 10:36:34 +0100
+++ admin/install.php 2008-11-08 09:42:40 +0100
@@ -224,25 +224,25 @@
--- admin/install.php.orig 2009-05-20 11:20:51 +0200
+++ admin/install.php 2009-10-02 22:36:15 +0200
@@ -222,25 +222,25 @@
<div class="sf-set set2">
<div class="sf-box text required">
<label for="fld3"><span><?php echo $lang_install['Database name'] ?> <em><?php echo $lang_install['Required'] ?></em></span> <small><?php echo $lang_install['Database name help'] ?></small></label><br />

Loading…
Cancel
Save