packages: apache/apache-example.net.conf - use permanent url for resources

glen glen at pld-linux.org
Thu Nov 26 13:10:45 CET 2009


Author: glen                         Date: Thu Nov 26 12:10:45 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use permanent url for resources

---- Files affected:
packages/apache:
   apache-example.net.conf (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/apache/apache-example.net.conf
diff -u packages/apache/apache-example.net.conf:1.1 packages/apache/apache-example.net.conf:1.2
--- packages/apache/apache-example.net.conf:1.1	Thu Nov 26 11:25:58 2009
+++ packages/apache/apache-example.net.conf	Thu Nov 26 13:10:40 2009
@@ -1,10 +1,15 @@
 # This is example config file for virtual host "example.net"
 
+# Redirect only vhost. Use permanent url for same resource.
 #<VirtualHost *:80>
-#    ServerName www.example.net
-#    ServerAlias example.net
-#    ServerAdmin webmaster at example.net
-#    DocumentRoot /home/services/vhosts/example.net
-#    ErrorLog logs/example.net-error_log
-#    TransferLog logs/example.net-access_log
+#	ServerAlias example.net
+#	RedirectPermanent / http://www.example.net
+#</VirtualHost>
+
+#<VirtualHost *:80>
+#	ServerName www.example.net
+#	ServerAdmin webmaster at example.net
+#	DocumentRoot /home/services/vhosts/example.net
+#	ErrorLog logs/example.net-error_log
+#	TransferLog logs/example.net-access_log
 #</VirtualHost>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/apache-example.net.conf?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list