cvs: pearweb /doc apache-setup.txt /public_html weeklynews.php
| From: | Martin Jansen | Date: | Fri, 12 Mar 2004 12:41:11 +0000 |
| Subject: | cvs: pearweb /doc apache-setup.txt /public_html weeklynews.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-17334@lists.php.net to get a copy of this message | ||
mj Fri Mar 12 07:41:11 2004 EDT
Removed files:
/pearweb/public_html weeklynews.php
Modified files:
/pearweb/doc apache-setup.txt
Log:
* Instead of keeping /weeklynews.php with just a single line of code in it,
a redirection to / is issued from within the web server configuration.
Additionally the RedirectPermanent keyword is now used instead of a
mod_rewrite rule.
# Jon suggested the usage of RedirectPermanent already a long time, but I
# never got around to put into practice.
http://cvs.php.net/diff.php/pearweb/doc/apache-setup.txt?r1=1.14&r2=1.15&ty=u
Index: pearweb/doc/apache-setup.txt
diff -u pearweb/doc/apache-setup.txt:1.14 pearweb/doc/apache-setup.txt:1.15
--- pearweb/doc/apache-setup.txt:1.14 Sun Feb 22 13:22:46 2004
+++ pearweb/doc/apache-setup.txt Fri Mar 12 07:41:10 2004
@@ -23,9 +23,11 @@
Alias /sidebar/pear.gif /usr/local/www/pearweb/public_html/gifs/pear_item.gif
Alias /distributions/manual/chm /var/lib/pear/chm
+ RedirectPermanent /download-docs.php http://pear.php.net/manual/
+ RedirectPermanent /rss.php http://pear.php.net/feeds/latest.rss
+ RedirectPermanent /weeklynews.php http://pear.php.net/
+
RewriteEngine On
- RewriteRule /download-docs.php /manual/index.php [R=301]
- RewriteRule /rss.php /feeds/latest.rss [R=301]
#
# Rewriting rules for the RSS feeds