[docs] Change in FaqUsingInterchangeWithApache made by Rene Hertell
Wiki Watch
docs@icdevgroup.org
Wed Mar 5 19:38:00 2003
You can visit the live page at this URL:
http://www.icdevgroup.org/i/doc/wiki/FaqUsingInterchangeWithApache.html
found out that StudlyCaps messed this code.. added those $:s to prevent linking..
--- tmp/RFs4geqA:81.17.197.52.previous Wed Mar 5 19:35:25 2003
+++ tmp/RFs4geqA:81.17.197.52.current Wed Mar 5 19:35:25 2003
@@ -32,21 +32,21 @@
with Apache rewrite rules in the VirtualHost directive for yourdomain.com:<br>
<br>
<pre>
-<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>
+$<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>