[docs] Change in FaqUsingInterchangeWithApache made by Rene Hertell
Wiki Watch
docs@icdevgroup.org
Thu Feb 13 07:59:00 2003
You can visit the live page at this URL:
http://www.icdevgroup.org/i/doc/wiki/FaqUsingInterchangeWithApache.html
sigh.. One more try...
--- tmp/5z6j9SnI:194.29.199.1.previous Thu Feb 13 07:58:11 2003
+++ tmp/5z6j9SnI:194.29.199.1.current Thu Feb 13 07:58:11 2003
@@ -1,54 +1,54 @@
<h1>Using Interchange with Apache</h1>
-<p>
-Slightly modified article posted to the old minivend-users mail list.
-
-Minivend-users is now interchange-users.
-
-Date: Thu, 7 Sep 2000 12:08:37 -0700
-From: Bill Randle <billr@exgate.tek.com>
-To: minivend-users@minivend.com
-Subject: Re: [mv] no /cgi-bin/storename/
-
-On Sep 6, 5:13am, Victor Nolton wrote:
-} Subject: [mv] no /cgi-bin/storename/
-} ****** message to minivend-users from Victor Nolton <ven@pragakhan.com> ******
-}
-} I've noticed some of the catalogs I've done are not indexed well with
-} the search engine, though most pages have meta tags, there is a
-} robot.txt file and so on and so forth.I assume it's due to the
-} cgi-bin in the url (not sure).
-}
-} I'd like to start having stores be like
-}
-} http://www.yourdomain.com/index.html
-} http://www.yourdomain.com/ord/basket.html
-} instead of
-} http://www.yourdomain.com/cgi-bin/yourstore/index.html
-} http://www.yourdomain.com/cgi-bin/yourstore/ord/basket.html
-}
-} how do you accomplish this? I assume it can be done somehow.
-
-In addition to using mod_minivend, previosuly suggested, you can do this
-with Apache rewrite rules in the VirtualHost directive for yourdomain.com:
-
-<VirtualHost a.b.c.d>
- ServerAdmin support@mainhost.com
- DocumentRoot /home/httpd/html/yourstore
- ServerName www.yourdomain.com
- ErrorLog logs/yourdomain-error_log
- 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 ^/.*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
-using a fairly recent version of Apache as your webserver).
-
- -Bill
+<br>
+Slightly modified article posted to the old minivend-users mail list.<br>
+<br>
+Minivend-users is now interchange-users.<br>
+<br>
+Date: Thu, 7 Sep 2000 12:08:37 -0700<br>
+From: Bill Randle <billr@exgate.tek.com><br>
+To: minivend-users@minivend.com<br>
+Subject: Re: [mv] no /cgi-bin/storename/<br>
+<br>
+On Sep 6, 5:13am, Victor Nolton wrote:<br>
+} Subject: [mv] no /cgi-bin/storename/<br>
+} ****** message to minivend-users from Victor Nolton <ven@pragakhan.com> ******<br>
+}<br>
+} I've noticed some of the catalogs I've done are not indexed well with<br>
+} the search engine, though most pages have meta tags, there is a<br>
+} robot.txt file and so on and so forth.I assume it's due to the<br>
+} cgi-bin in the url (not sure).<br>
+}<br>
+} I'd like to start having stores be like<br>
+}<br>
+} http://www.yourdomain.com/index.html<br>
+} http://www.yourdomain.com/ord/basket.html<br>
+} instead of<br>
+} http://www.yourdomain.com/cgi-bin/yourstore/index.html<br>
+} http://www.yourdomain.com/cgi-bin/yourstore/ord/basket.html<br>
+}<br>
+} how do you accomplish this? I assume it can be done somehow.<br>
+<br>
+In addition to using mod_minivend, previosuly suggested, you can do this<br>
+with Apache rewrite rules in the VirtualHost directive for yourdomain.com:<br>
+<br>
+<VirtualHost a.b.c.d><br>
+ ServerAdmin support@mainhost.com<br>
+ DocumentRoot /home/httpd/html/yourstore<br>
+ ServerName www.yourdomain.com<br>
+ ErrorLog logs/yourdomain-error_log<br>
+ CustomLog logs/yourdomain-access_log common<br>
+ ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"<br>
+ RewriteEngine On<br>
+ RewriteRule ^$ /cgi-bin/yourstore/index.html [PT,L]<br>
+ RewriteRule ^/$ /cgi-bin/yourstore/index.html [PT,L]<br>
+ RewriteRule ^/index\.html$ /cgi-bin/yourstore/index.html [PT,L]<br>
+ RewriteRule ^/cgi-bin/yourstore/.* - [PT,L]<br>
+ RewriteRule ^/.*images/.* - [PT,L]<br>
+ RewriteRule ^/(.*) /cgi-bin/yourstore/$1 [PT,L]<br>
+</VirtualHost><br>
+<br>
+I just did this for a client and it works quite well (as long as you're<br>
+using a fairly recent version of Apache as your webserver).<br>
+<br>
+ -Bill<br>
</p>