Skip site navigation (1) Skip section navigation (2)

SVN Commit by dpage: r4917 - trunk/www

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4917 - trunk/www
Date: 2006-01-17 15:25:23
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
Author: dpage
Date: 2006-01-17 15:25:23 +0000 (Tue, 17 Jan 2006)
New Revision: 4917

Break out the doc image path rewriting into seperate rules for each image type to avoid some serious wierdness on

Modified: trunk/www/.htaccess
--- trunk/www/.htaccess	2006-01-17 15:13:10 UTC (rev 4916)
+++ trunk/www/.htaccess	2006-01-17 15:25:23 UTC (rev 4917)
@@ -1,9 +1,16 @@
 RewriteEngine On
-# Rewrite requests for documentation images
-RewriteRule ^docs/dev/(.*)\.(png|jpg|gif)$ /svnrepo/pgadmin3/docs/en_US/$1\.$2 [QSA,L]
-RewriteRule ^docs/1.4/(.*)\.(png|jpg|gif)$ /svnrepo/pgadmin3-1.4/docs/en_US/$1\.$2 [QSA,L]
+# Rewrite requests for documentation images. On, the following works
+# nicely, but for reasons unknown it's totally borked on
+# RewriteRule ^docs/dev/(.*)\.(png|jpg|gif)$ /svnrepo/pgadmin3/docs/en_US/$1\.$2 [QSA,L]
+RewriteRule ^docs/dev/(.*)\.gif$ /svnrepo/pgadmin3/docs/en_US/$1\.gif [QSA,L]
+RewriteRule ^docs/dev/(.*)\.jpg$ /svnrepo/pgadmin3/docs/en_US/$1\.jpg [QSA,L]
+RewriteRule ^docs/dev/(.*)\.png$ /svnrepo/pgadmin3/docs/en_US/$1\.png [QSA,L]
+RewriteRule ^docs/1\.4/(.*)\.gif$ /svnrepo/pgadmin3-1\.4/docs/en_US/$1\.gif [QSA,L]
+RewriteRule ^docs/1\.4/(.*)\.jpg$ /svnrepo/pgadmin3-1\.4/docs/en_US/$1\.jpg [QSA,L]
+RewriteRule ^docs/1\.4/(.*)\.png$ /svnrepo/pgadmin3-1\.4/docs/en_US/$1\.png [QSA,L]
 # Requests like /docs/xx/yy need to be rewritten to /include/page.php?docset=xx&docpage=yy
 RewriteRule ^docs/(.[a-zA-Z0-9.]*)/(.*)$ /include/page.php?docset=$1&docpage=$2 [QSA,L]

pgadmin-hackers by date

Next:From: svnDate: 2006-01-17 15:31:57
Subject: SVN Commit by dpage: r4918 - trunk/www/css
Previous:From: svnDate: 2006-01-17 15:13:10
Subject: SVN Commit by dpage: r4916 - branches/REL-1_4_0_PATCHES/pgadmin3/docs/en_US

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group