[docs] docs - kwalsh modified icfaq.sdf

docs@interchange.redhat.com docs@interchange.redhat.com
Sat Apr 27 08:58:01 2002


User:      kwalsh
Date:      2002-04-27 12:57:26 GMT
Modified:  .        icfaq.sdf
Log:
	* A small change to the "Using Interchange with Apache" section
	  as suggested by Ton Verhagen.  The original email, quoted in
	  that section, didn't deal with images properly.

Revision  Changes    Path
1.9       +11 -7     docs/icfaq.sdf


rev 1.9, prev_rev 1.8
Index: icfaq.sdf
===================================================================
RCS file: /var/cvs/docs/icfaq.sdf,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- icfaq.sdf	12 Apr 2002 22:53:18 -0000	1.8
+++ icfaq.sdf	27 Apr 2002 12:57:26 -0000	1.9
@@ -1,10 +1,10 @@
 !init OPT_LOOK="akopia"; OPT_STYLE="manual"
-# $Id: icfaq.sdf,v 1.8 2002/04/12 22:53:18 jon Exp $
+# $Id: icfaq.sdf,v 1.9 2002/04/27 12:57:26 kwalsh Exp $
 
 !define DOC_NAME "Frequently Asked Questions"
 !define DOC_TYPE ""
 !define DOC_CODE "icfaq"
-!define DOC_VERSION substr('$Revision: 1.8 $',11, -2)
+!define DOC_VERSION substr('$Revision: 1.9 $',11, -2)
 !define DOC_STATUS "Draft"
 !define DOC_PROJECT "Interchange"
 !define DOC_URL "http://interchange.redhat.com/doc/icfaq.html"
@@ -1628,6 +1628,9 @@
 
 H1: Using Interchange with Apache
 
+Slightly modified article posted to the old minivend-users mail list.
+Minivend-users is now interchange-users.
+
 !block example
 Date: Thu, 7 Sep 2000 12:08:37 -0700
 From: Bill Randle <billr@exgate.tek.com>
@@ -1664,11 +1667,12 @@
     CustomLog logs/yourdomain-access_log common
     ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
     RewriteEngine On
-    RewriteRule    ^$      /cgi-bin/yourstore/index.html    [PT,L]
-    RewriteRule    ^/$     /cgi-bin/yourstore/index.html    [PT,L]
-    RewriteRule    ^/index\.html$  /cgi-bin/yourstore/index.html    [PT,L]
-    RewriteRule    ^/cgi-bin/yourstore/.*   -           [PT,L]
-    RewriteRule    ^/(.*)      /cgi-bin/yourstore/$1        [PT,L]
+    RewriteRule ^$  /cgi-bin/yourstore/index.html            [PT,L]
+    RewriteRule ^/$ /cgi-bin/yourstore/index.html            [PT,L]
+    RewriteRule ^/index\.html$ /cgi-bin/yourstore/index.html [PT,L]
+    RewriteRule ^/cgi-bin/yourstore/.* -                     [PT,L]
+    RewriteRule ^/.*images/.* -                              [PT,L]
+    RewriteRule ^/(.*) /cgi-bin/yourstore/$1                 [PT,L]
 </VirtualHost>
  
 I just did this for a client and it works quite well (as long as you're