cvs: pearweb /doc apache-setup.txt
| From: | Martin Jansen | Date: | Sun, 14 Sep 2003 08:36:28 +0000 |
| Subject: | cvs: pearweb /doc apache-setup.txt | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-12715@lists.php.net to get a copy of this message | ||
mj Sun Sep 14 04:36:28 2003 EDT
Modified files:
/pearweb/doc apache-setup.txt
Log:
* Adding rule to redirect from rss.php to feeds/latest.rss
# I'm not sure if [R=301] is the correct syntax for causing Apache to send
# "HTTP/1.1 301 Moved Permanently". However my tests with lynx -head ...
# seem to work. If one knows that better, please let me know.
Index: pearweb/doc/apache-setup.txt
diff -u pearweb/doc/apache-setup.txt:1.9 pearweb/doc/apache-setup.txt:1.10
--- pearweb/doc/apache-setup.txt:1.9 Sun Sep 14 04:24:56 2003
+++ pearweb/doc/apache-setup.txt Sun Sep 14 04:36:28 2003
@@ -21,7 +21,8 @@
Alias /user /usr/local/www/pearweb/public_html/account-info.php
RewriteEngine On
- RewriteRule /download-docs.php /manual/index.php
+ RewriteRule /download-docs.php /manual/index.php [R=301]
+ RewriteRule /rss.php /feeds/latest.rss [R=301]
#
# Rewriting rules for the RSS feeds