[docs] Change in FaqUsingInterchangeWithApache made by Rene Hertell
Wiki Watch
docs@icdevgroup.org
Thu Feb 13 08:01:00 2003
You can visit the live page at this URL:
http://www.icdevgroup.org/i/doc/wiki/FaqUsingInterchangeWithApache.html
--- tmp/5z6j9SnI:194.29.199.1.previous Thu Feb 13 08:00:22 2003
+++ tmp/5z6j9SnI:194.29.199.1.current Thu Feb 13 08:00:22 2003
@@ -32,21 +32,22 @@
with Apache rewrite rules in the VirtualHost directive for yourdomain.com:<br>
<br>
<pre>
-<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>
+<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>
+
</pre>
<br>
I just did this for a client and it works quite well (as long as you're<br>