summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000380.html
blob: c6bfa30f169221836f8676912a7027c5ce8fe2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [208] - remove comment ( not really needed )
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B208%5D%20-%20remove%20comment%20%28%20not%20really%20needed%20%29&In-Reply-To=%3C20101108133000.EB5553F90D%40valstar.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000379.html">
   <LINK REL="Next"  HREF="000381.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [208] - remove comment ( not really needed )</H1>
    <B>root at mageia.org</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B208%5D%20-%20remove%20comment%20%28%20not%20really%20needed%20%29&In-Reply-To=%3C20101108133000.EB5553F90D%40valstar.mageia.org%3E"
       TITLE="[Mageia-sysadm] [208] - remove comment ( not really needed )">root at mageia.org
       </A><BR>
    <I>Mon Nov  8 14:30:00 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="000379.html">[Mageia-sysadm] [207] add default vhost with redirection to	www.mageia.org
</A></li>
        <LI>Next message: <A HREF="000381.html">[Mageia-sysadm] [119] removes old style, narrower doc format
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#380">[ date ]</a>
              <a href="thread.html#380">[ thread ]</a>
              <a href="subject.html#380">[ subject ]</a>
              <a href="author.html#380">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Revision: 208
Author:   misc
Date:     2010-11-08 14:30:00 +0100 (Mon, 08 Nov 2010)
Log Message:
-----------
- remove comment ( not really needed )
- use domain instead of hardcoding the url

Modified Paths:
--------------
    puppet/modules/apache/templates/00_default_vhosts.conf

Modified: puppet/modules/apache/templates/00_default_vhosts.conf
===================================================================
--- puppet/modules/apache/templates/00_default_vhosts.conf	2010-11-08 13:13:13 UTC (rev 207)
+++ puppet/modules/apache/templates/00_default_vhosts.conf	2010-11-08 13:30:00 UTC (rev 208)
@@ -1,65 +1,7 @@
-# $Id: 00_default_vhosts.conf 250119 2008-07-26 14:51:31Z oden $
-# $HeadURL: svn+<A HREF="ssh://svn.mandriva.com/svn/packages/cooker/apache-conf/current/SOURCES/00_default_vhosts.conf">ssh://svn.mandriva.com/svn/packages/cooker/apache-conf/current/SOURCES/00_default_vhosts.conf</A> $
-# This is an example VirtualHosts configuration.
-#
-# Since Apache 1.3.19, we modified the setup to include some nice tricks:
-#
-# - We added the User and Group directives so VirtualHosts now work with
-#   suexec directive. If set, Apache will run all cgi scripts under that
-#   user and group (provided the uid and gid are &gt; 100 for security). The
-#   directories and cgi files *must* belong to that user/group for the
-#   feature to work
-#
-# - We added the Setenv VLOG directive. This works in conjunction with
-#   the CustomLog in common.conf. When Setenv VLOG is set, apache will
-#   create a /var/log/httpd/VLOG-YYYY-MM-&lt;ServerName&gt;.log instead of logging
-#   to access_log. Use this instead of defining a special logfile for
-#   each vhost, otherwise you eat up file descriptors.
-#
-# - You can also specify a path for the VLOG for each Vhost, for example,
-#   to place the logs in each user's directory. However, if you want to
-#   use the file for accounting, place it in a directory owned by root,
-#   otherwise the user will be able to erase it.
-#
-# - I suggest only including the ErrorLog *only* if the vhost will use
-#   cgi scripts. Again, it saves file descriptors! 
-
-
-################# IP-based Virtual Hosts 
-# &lt;VirtualHost 192.168.2.100&gt;
-# User jmdault
-# Group jmdault
-# DocumentRoot /home/jmdault/public_html
-# ServerName test2.com
-# Setenv VLOG /home/jmdault/logs
-# ErrorLogs /home/jmdault/test2-error_log
-# &lt;/VirtualHost&gt;
-
-################# Named VirtualHosts
-# NameVirtualHost 111.222.33.44
-# &lt;VirtualHost 111.222.33.44&gt;
-# ServerName www.domain.tld
-# ServerPath /domain
-# DocumentRoot /web/domain
-# &lt;/VirtualHost&gt;
-
-#&lt;VirtualHost alice.com&gt;
-#    ServerName alice.com
-#    # normal vhost configs
-#	&lt;IfModule peruser.c&gt;
-#	    # this must match a Processor line
-#	    ServerEnvironment alice users /home/alice
-#
-#	    # these are optional - defaults to the values specified above
-#	    MinSpareProcessors 4
-#	    MaxProcessors 20
-#	&lt;/IfModule&gt;
-#&lt;/VirtualHost&gt;
-
 &lt;VirtualHost *:80&gt;
 	DocumentRoot /var/www/html
 	&lt;Location /&gt;
 		Allow from all
 	&lt;/Location&gt;
-	Redirect / <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+	Redirect / <A HREF="http://www.&lt;%=">http://www.&lt;%=</A> domain %&gt;/
 &lt;/VirtualHost&gt;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;/pipermail/mageia-sysadm/attachments/20101108/1b807d14/attachment.html&gt;
</PRE>











<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000379.html">[Mageia-sysadm] [207] add default vhost with redirection to	www.mageia.org
</A></li>
	<LI>Next message: <A HREF="000381.html">[Mageia-sysadm] [119] removes old style, narrower doc format
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#380">[ date ]</a>
              <a href="thread.html#380">[ thread ]</a>
              <a href="subject.html#380">[ subject ]</a>
              <a href="author.html#380">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>