Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-backup/backuppc/files: httpd.conf apache2-backuppc.conf apache2-backuppc.init
Date: Mon, 29 Aug 2011 10:41:19
Message-Id: 20110829104107.73B652004C@flycatcher.gentoo.org
1 patrick 11/08/29 10:41:07
2
3 Added: httpd.conf apache2-backuppc.conf
4 apache2-backuppc.init
5 Log:
6 Bump for #287133, ebuild from the portage-backup overlay. Thanks to Lenno Nagel.
7
8 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 app-backup/backuppc/files/httpd.conf
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/backuppc/files/httpd.conf?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/backuppc/files/httpd.conf?rev=1.1&content-type=text/plain
15
16 Index: httpd.conf
17 ===================================================================
18 # This is a modification of the default Apache 2.2 configuration file
19 # for Gentoo Linux.
20 #
21 # Support:
22 # http://www.gentoo.org/main/en/lists.xml [mailing lists]
23 # http://forums.gentoo.org/ [web forums]
24 # irc://irc.freenode.net#gentoo-apache [irc chat]
25 #
26 # Bug Reports:
27 # http://bugs.gentoo.org [gentoo related bugs]
28 # http://httpd.apache.org/bug_report.html [apache httpd related bugs]
29 #
30 #
31 # This is the main Apache HTTP server configuration file. It contains the
32 # configuration directives that give the server its instructions.
33 # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
34 # In particular, see
35 # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
36 # for a discussion of each configuration directive.
37 #
38 # Do NOT simply read the instructions in here without understanding
39 # what they do. They're here only as hints or reminders. If you are unsure
40 # consult the online docs. You have been warned.
41 #
42 # Configuration and logfile names: If the filenames you specify for many
43 # of the server's control files begin with "/" (or "drive:/" for Win32), the
44 # server will use that explicit path. If the filenames do *not* begin
45 # with "/", the value of ServerRoot is prepended -- so "var/log/apache2/foo_log"
46 # with ServerRoot set to "/usr" will be interpreted by the
47 # server as "/usr/var/log/apache2/foo.log".
48
49 # ServerRoot: The top of the directory tree under which the server's
50 # configuration, error, and log files are kept.
51 #
52 # Do not add a slash at the end of the directory path. If you point
53 # ServerRoot at a non-local disk, be sure to point the LockFile directive
54 # at a local disk. If you wish to share the same ServerRoot for multiple
55 # httpd daemons, you will need to change at least LockFile and PidFile.
56 ServerRoot "/usr/lib/apache2"
57
58 # Dynamic Shared Object (DSO) Support
59 #
60 # To be able to use the functionality of a module which was built as a DSO you
61 # have to place corresponding `LoadModule' lines at this location so the
62 # directives contained in it are actually available _before_ they are used.
63 # Statically compiled modules (those listed by `httpd -l') do not need
64 # to be loaded here.
65 #
66 # Example:
67 # LoadModule foo_module modules/mod_foo.so
68 #
69 # GENTOO: Automatically defined based on APACHE2_MODULES USE_EXPAND variable.
70 # Do not change manually, it will be overwritten on upgrade.
71 #
72 # The following modules are considered as the default configuration.
73 # If you wish to disable one of them, you may have to alter other
74 # configuration directives.
75 #
76 # Change these at your own risk!
77
78 LoadModule actions_module modules/mod_actions.so
79 LoadModule alias_module modules/mod_alias.so
80 LoadModule auth_basic_module modules/mod_auth_basic.so
81 <IfDefine AUTH_DIGEST>
82 LoadModule auth_digest_module modules/mod_auth_digest.so
83 </IfDefine>
84 LoadModule authn_anon_module modules/mod_authn_anon.so
85 LoadModule authn_dbm_module modules/mod_authn_dbm.so
86 LoadModule authn_default_module modules/mod_authn_default.so
87 LoadModule authn_file_module modules/mod_authn_file.so
88 LoadModule authz_dbm_module modules/mod_authz_dbm.so
89 LoadModule authz_default_module modules/mod_authz_default.so
90 LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
91 LoadModule authz_host_module modules/mod_authz_host.so
92 LoadModule authz_owner_module modules/mod_authz_owner.so
93 LoadModule authz_user_module modules/mod_authz_user.so
94 LoadModule autoindex_module modules/mod_autoindex.so
95 <IfDefine CACHE>
96 LoadModule cache_module modules/mod_cache.so
97 </IfDefine>
98 LoadModule cgi_module modules/mod_cgi.so
99 LoadModule deflate_module modules/mod_deflate.so
100 LoadModule dir_module modules/mod_dir.so
101 <IfDefine CACHE>
102 LoadModule disk_cache_module modules/mod_disk_cache.so
103 </IfDefine>
104 LoadModule env_module modules/mod_env.so
105 LoadModule expires_module modules/mod_expires.so
106 LoadModule ext_filter_module modules/mod_ext_filter.so
107 <IfDefine CACHE>
108 LoadModule file_cache_module modules/mod_file_cache.so
109 </IfDefine>
110 LoadModule filter_module modules/mod_filter.so
111 LoadModule headers_module modules/mod_headers.so
112 LoadModule include_module modules/mod_include.so
113 <IfDefine INFO>
114 LoadModule info_module modules/mod_info.so
115 </IfDefine>
116 LoadModule log_config_module modules/mod_log_config.so
117 LoadModule logio_module modules/mod_logio.so
118 <IfDefine CACHE>
119 LoadModule mem_cache_module modules/mod_mem_cache.so
120 </IfDefine>
121 LoadModule mime_module modules/mod_mime.so
122 LoadModule mime_magic_module modules/mod_mime_magic.so
123 LoadModule negotiation_module modules/mod_negotiation.so
124 <IfDefine PROXY>
125 LoadModule proxy_module modules/mod_proxy.so
126 </IfDefine>
127 <IfDefine PROXY>
128 LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
129 </IfDefine>
130 <IfDefine PROXY>
131 LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
132 </IfDefine>
133 <IfDefine PROXY>
134 LoadModule proxy_connect_module modules/mod_proxy_connect.so
135 </IfDefine>
136 <IfDefine PROXY>
137 LoadModule proxy_http_module modules/mod_proxy_http.so
138 </IfDefine>
139 LoadModule rewrite_module modules/mod_rewrite.so
140 LoadModule setenvif_module modules/mod_setenvif.so
141 LoadModule speling_module modules/mod_speling.so
142 <IfDefine SSL>
143 LoadModule ssl_module modules/mod_ssl.so
144 </IfDefine>
145 <IfDefine STATUS>
146 LoadModule status_module modules/mod_status.so
147 </IfDefine>
148 <IfDefine SUEXEC>
149 LoadModule suexec_module modules/mod_suexec.so
150 </IfDefine>
151 LoadModule unique_id_module modules/mod_unique_id.so
152 <IfDefine USERDIR>
153 LoadModule userdir_module modules/mod_userdir.so
154 </IfDefine>
155 LoadModule usertrack_module modules/mod_usertrack.so
156 LoadModule vhost_alias_module modules/mod_vhost_alias.so
157
158 #
159 # HostnameLookups: Log the names of clients or just their IP addresses
160 # e.g., www.apache.org (on) or 204.62.129.132 (off).
161 # The default is off because it'd be overall better for the net if people
162 # had to knowingly turn this feature on, since enabling it means that
163 # each client request will result in AT LEAST one lookup request to the
164 # nameserver.
165 #
166 HostnameLookups Off
167
168 # If you wish httpd to run as a different user or group, you must run
169 # httpd as root initially and it will switch.
170 #
171 # User/Group: The name (or #number) of the user/group to run httpd as.
172 # It is usually good practice to create a dedicated user and group for
173 # running httpd, as with most system services.
174 User backuppc
175 Group backuppc
176
177 # Supplemental configuration
178 #
179 # Most of the configuration files in the /etc/apache2/modules.d/ directory can
180 # be turned on using APACHE2_OPTS in /etc/conf.d/apache2 to add extra features
181 # or to modify the default configuration of the server.
182 #
183 # To know which flag to add to APACHE2_OPTS, look at the first line of the
184 # the file, which will usually be an <IfDefine OPTION> where OPTION is the
185 # flag to use.
186
187 Include /etc/apache2/modules.d/*.conf
188
189 # Unique lock file
190 LockFile /var/lock/apache-backuppc.lock
191
192 # Very important for init script
193 # Unique process ID file
194 PidFile /var/run/apache-backuppc.pid
195
196 # Unique scoreboard file
197 ScoreBoardFile /var/run/apache-backuppc.scoreboard
198
199 # Common document root
200 <IfDefine BACKUPPC_VHOST>
201
202
203 # Common document root
204 DocumentRoot HTDOCSDIR
205 # see bug #178966 why this is in here
206
207 # Listen: Allows you to bind Apache to specific IP addresses and/or
208 # ports, instead of the default. See also the <VirtualHost>
209 # directive.
210 #
211 # Change this to Listen on specific IP addresses as shown below to
212 # prevent Apache from glomming onto all bound IP addresses.
213 #
214 #Listen 12.34.56.78:80
215 Listen 80
216
217 # Use name-based virtual hosting.
218 NameVirtualHost *:80
219
220 # When virtual hosts are enabled, the main host defined in the default
221 # httpd.conf configuration will go away. We redefine it here so that it is
222 # still available.
223 #
224 # If you disable this vhost by removing -D DEFAULT_VHOST from
225 # /etc/conf.d/apache2, the first defined virtual host elsewhere will be
226 # the default.
227 <VirtualHost *:80>
228 ServerName backuppc
229
230 # Redirect requests to "/" to the CGI script
231 RedirectMatch "^/$" /BackupPC_Admin
232
233 <IfDefine SSL>
234 <IfModule ssl_module>
235 RewriteEngine On
236 RewriteCond %{HTTPS} !=on
237 RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
238
239 ## SSL Engine Switch:
240 # Enable/Disable SSL for this virtual host.
241 SSLEngine on
242 SSLOptions +StrictRequire
243
244 ## SSL Cipher Suite:
245 # List the ciphers that the client is permitted to negotiate.
246 # See the mod_ssl documentation for a complete list.
247 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
248
249 ## Server Certificate:
250 # Point SSLCertificateFile at a PEM encoded certificate. If the certificate
251 # is encrypted, then you will be prompted for a pass phrase. Note that a
252 # kill -HUP will prompt again. Keep in mind that if you have both an RSA
253 # and a DSA certificate you can configure both in parallel (to also allow
254 # the use of DSA ciphers, etc.)
255 SSLCertificateFile /etc/ssl/apache2/server.crt
256
257 ## Server Private Key:
258 # If the key is not combined with the certificate, use this directive to
259 # point at the key file. Keep in mind that if you've both a RSA and a DSA
260 # private key you can configure both in parallel (to also allow the use of
261 # DSA ciphers, etc.)
262 SSLCertificateKeyFile /etc/ssl/apache2/server.key
263 <FilesMatch "\.(cgi|shtml|phtml|php)$">
264 SSLOptions +StdEnvVars
265 </FilesMatch>
266
267 ## ssl-accurate-shutdown:
268 # This forces an accurate shutdown when the connection is closed, i.e. a
269 # SSL close notify alert is send and mod_ssl waits for the close notify
270 # alert of the client. This is 100% SSL/TLS standard compliant, but in
271 # practice often causes hanging connections with brain-dead browsers. Use
272 # this only for browsers where you know that their SSL implementation works
273 # correctly.
274 # Notice: Most problems of broken clients are also related to the HTTP
275 # keep-alive facility, so you usually additionally want to disable
276 # keep-alive for those clients, too. Use variable "nokeepalive" for this.
277 # Similarly, one has to force some clients to use HTTP/1.0 to workaround
278 # their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
279 # "force-response-1.0" for this.
280 <IfModule setenvif_module>
281 BrowserMatch ".*MSIE.*" \
282 nokeepalive ssl-unclean-shutdown \
283 downgrade-1.0 force-response-1.0
284 </IfModule>
285
286 ## Per-Server Logging:
287 # The home of a custom SSL log file. Use this when you want a compact
288 # non-error SSL logfile on a virtual host basis.
289 <IfModule log_config_module>
290 CustomLog /var/log/apache2/ssl_request_log \
291 "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
292 </IfModule>
293 </IfModule>
294 </IfDefine>
295
296 <Directory "HTDOCSDIR">
297 # Possible values for the Options directive are "None", "All",
298 # or any combination of:
299 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
300 #
301 # Note that "MultiViews" must be named *explicitly* --- "Options All"
302 # doesn't give it to you.
303 #
304 # The Options directive is both complicated and important. Please see
305 # http://httpd.apache.org/docs/2.2/mod/core.html#options
306 # for more information.
307 Options Indexes FollowSymLinks
308
309 # AllowOverride controls what directives may be placed in .htaccess files.
310 # It can be "All", "None", or any combination of the keywords:
311 # Options FileInfo AuthConfig Limit
312 AllowOverride None
313
314 <IfDefine SSL>
315 <IfModule ssl_module>
316 SSLOptions +StdEnvVars
317 </IfModule>
318 </IfDefine>
319
320 SetHandler perl-script
321 PerlResponseHandler ModPerl::Registry
322 PerlOptions +ParseHeaders
323 Options +ExecCGI
324
325 Order allow,deny
326 Allow from all
327
328 AuthName "Backup Admin"
329 AuthType Basic
330 AuthUserFile AUTHFILE
331 Require valid-user
332 </Directory>
333
334 <Directory "HTDOCSDIR/image">
335 SetHandler None
336 Options Indexes FollowSymLinks
337 Order allow,deny
338 Allow from all
339 </Directory>
340
341
342 <IfModule mpm_peruser_module>
343 ServerEnvironment backuppc backuppc
344 </IfModule>
345 </VirtualHost>
346 </IfDefine>
347
348
349 # vim: ts=4 filetype=apache
350
351
352
353 1.1 app-backup/backuppc/files/apache2-backuppc.conf
354
355 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/backuppc/files/apache2-backuppc.conf?rev=1.1&view=markup
356 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/backuppc/files/apache2-backuppc.conf?rev=1.1&content-type=text/plain
357
358 Index: apache2-backuppc.conf
359 ===================================================================
360 # /etc/conf.d/apache2: config file for /etc/init.d/apache2
361
362 # When you install a module it is easy to activate or deactivate the modules
363 # and other features of apache using the APACHE2_OPTS line. Every module should
364 # install a configuration in /etc/apache2/modules.d. In that file will have an
365 # <IfDefine NNN> directive where NNN is the option to enable that module.
366 #
367 # Here are the options available in the default configuration:
368 #
369 # AUTH_DIGEST Enables mod_auth_digest
370 # AUTHNZ_LDAP Enables authentication through mod_ldap (available if USE=ldap)
371 # CACHE Enables mod_cache
372 # DAV Enables mod_dav
373 # ERRORDOCS Enables default error documents for many languages.
374 # INFO Enables mod_info, a useful module for debugging
375 # LANGUAGE Enables content-negotiation based on language and charset.
376 # LDAP Enables mod_ldap (available if USE=ldap)
377 # MANUAL Enables /manual/ to be the apache manual (available if USE=docs)
378 # MEM_CACHE Enables default configuration mod_mem_cache
379 # PROXY Enables mod_proxy
380 # SSL Enables SSL (available if USE=ssl)
381 # SUEXEC Enables running CGI scripts (in USERDIR) through suexec.
382 # USERDIR Enables /~username mapping to /home/username/public_html
383 #
384 #
385 # The following two options provide the default virtual host for the HTTP and
386 # HTTPS protocol. YOU NEED TO ENABLE AT LEAST ONE OF THEM, otherwise apache
387 # will not listen for incomming connections on the approriate port.
388 #
389 # DEFAULT_VHOST Enables name-based virtual hosts, with the default
390 # virtual host being in /var/www/localhost/htdocs
391 # SSL_DEFAULT_VHOST Enables default vhost for SSL (you should enable this
392 # when you enable SSL)
393 #
394 APACHE2_OPTS="-D LANGUAGE -D PERL -D BACKUPPC_VHOST"
395
396 # Extended options for advanced uses of Apache ONLY
397 # You don't need to edit these unless you are doing crazy Apache stuff
398 # As not having them set correctly, or feeding in an incorrect configuration
399 # via them will result in Apache failing to start
400 # YOU HAVE BEEN WARNED.
401
402 # PID file
403 PIDFILE=/var/run/apache2-backuppc.pid
404
405 # timeout for startup/shutdown checks
406 #TIMEOUT=10
407
408 # ServerRoot setting
409 SERVERROOT=/usr/lib/apache2
410
411 # Configuration file location
412 # - If this does NOT start with a '/', then it is treated relative to
413 # $SERVERROOT by Apache
414 CONFIGFILE=/etc/BackupPC/httpd.conf
415
416 # Location to log startup errors to
417 # They are normally dumped to your terminal.
418 #STARTUPERRORLOG="/var/log/apache2/startuperror.log"
419
420 # A command that outputs a formatted text version of the HTML at the URL
421 # of the command line. Designed for lynx, however other programs may work.
422 #LYNX="lynx -dump"
423
424 # The URL to your server's mod_status status page.
425 # Required for status and fullstatus
426 #STATUSURL="http://localhost/server-status"
427
428 # Method to use when reloading the server
429 # Valid options are 'restart' and 'graceful'
430 # See http://httpd.apache.org/docs/2.2/stopping.html for information on
431 # what they do and how they differ.
432 #RELOAD_TYPE="graceful"
433
434
435
436 1.1 app-backup/backuppc/files/apache2-backuppc.init
437
438 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/backuppc/files/apache2-backuppc.init?rev=1.1&view=markup
439 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/backuppc/files/apache2-backuppc.init?rev=1.1&content-type=text/plain
440
441 Index: apache2-backuppc.init
442 ===================================================================
443 #!/sbin/runscript
444 # Copyright 1999-2011 Gentoo Foundation
445 # Distributed under the terms of the GNU General Public License v2
446
447 opts="configdump configtest fullstatus graceful gracefulstop modules reload virtualhosts"
448
449 depend() {
450 need net
451 use mysql dns logger netmount postgresql
452 after sshd
453 }
454
455 configtest() {
456 ebegin "Checking ${SVCNAME} configuration"
457 checkconfig
458 eend $?
459 }
460
461 checkconfd() {
462 PIDFILE="${PIDFILE:-/var/run/apache2-backuppc.pid}"
463 TIMEOUT=${TIMEOUT:-10}
464
465 SERVERROOT="${SERVERROOT:-/usr/lib/apache2}"
466 if [ ! -d ${SERVERROOT} ]; then
467 eerror "SERVERROOT does not exist: ${SERVERROOT}"
468 return 1
469 fi
470
471 CONFIGFILE="${CONFIGFILE:-/etc/BackupPC/httpd.conf}"
472 [ "${CONFIGFILE#/}" = "${CONFIGFILE}" ] && CONFIGFILE="${SERVERROOT}/${CONFIGFILE}"
473 if [ ! -r "${CONFIGFILE}" ]; then
474 eerror "Unable to read configuration file: ${CONFIGFILE}"
475 return 1
476 fi
477
478 APACHE2_OPTS="${APACHE2_OPTS} -d ${SERVERROOT}"
479 APACHE2_OPTS="${APACHE2_OPTS} -f ${CONFIGFILE}"
480 [ -n "${STARTUPERRORLOG}" ] && APACHE2_OPTS="${APACHE2_OPTS} -E ${STARTUPERRORLOG}"
481
482 APACHE2="/usr/sbin/apache2"
483 }
484
485 checkconfig() {
486 checkconfd || return 1
487
488 ${APACHE2} ${APACHE2_OPTS} -t 1>/dev/null 2>&1
489 ret=$?
490 if [ $ret -ne 0 ]; then
491 eerror "${SVCNAME} has detected a syntax error in your configuration files:"
492 ${APACHE2} ${APACHE2_OPTS} -t
493 fi
494
495 return $ret
496 }
497
498 start() {
499 checkconfig || return 1
500
501 [ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache
502
503 ebegin "Starting ${SVCNAME}"
504 ${APACHE2} ${APACHE2_OPTS} -k start
505
506 let i=0
507 while [ ! -e "${PIDFILE}" ] && [ $i -lt ${TIMEOUT} ]; do
508 sleep 1 && i=$(expr $i + 1)
509 done
510
511 test $i -le ${TIMEOUT}
512 eend $?
513 }
514
515 stop() {
516 checkconfd || return 1
517
518 ebegin "Stopping ${SVCNAME}"
519 ${APACHE2} ${APACHE2_OPTS} -k stop
520
521 let i=0
522 while pidof "${APACHE2}" >/dev/null && [ $i -lt ${TIMEOUT} ]; do
523 sleep 1 && i=$(expr $i + 1)
524 done
525
526 test $i -le ${TIMEOUT}
527 eend $?
528 }
529
530 reload() {
531 RELOAD_TYPE="${RELOAD_TYPE:-graceful}"
532
533 checkconfig || return 1
534 service_started "${SVCNAME}" || return
535
536 if [ "${RELOAD_TYPE}" = "restart" ]; then
537 ebegin "Restarting ${SVCNAME}"
538 ${APACHE2} ${APACHE2_OPTS} -k restart
539 eend $?
540 elif [ "${RELOAD_TYPE}" = "graceful" ]; then
541 ebegin "Gracefully restarting ${SVCNAME}"
542 ${APACHE2} ${APACHE2_OPTS} -k graceful
543 eend $?
544 else
545 eerror "${RELOAD_TYPE} is not a valid RELOAD_TYPE. Please edit /etc/conf.d/${SVCNAME}"
546 fi
547 }
548
549 graceful() {
550 checkconfig || return 1
551 service_started "${SVCNAME}" || return
552 ebegin "Gracefully restarting ${SVCNAME}"
553 ${APACHE2} ${APACHE2_OPTS} -k graceful
554 eend $?
555 }
556
557 gracefulstop() {
558 checkconfig || return 1
559
560 # zap!
561 if service_started "${SVCNAME}"; then
562 mark_service_stopped "${SVCNAME}"
563 fi
564
565 ebegin "Gracefully stopping ${SVCNAME}"
566 ${APACHE2} ${APACHE2_OPTS} -k graceful-stop
567 eend $?
568 }
569
570 modules() {
571 checkconfig || return 1
572
573 ${APACHE2} ${APACHE2_OPTS} -M 2>&1
574 }
575
576 fullstatus() {
577 LYNX="${LYNX:-lynx -dump}"
578 STATUSURL="${STATUSURL:-http://localhost/server-status}"
579
580 if ! service_started "${SVCNAME}"; then
581 eerror "${SVCNAME} not started"
582 elif ! type -p ${LYNX} 2>&1 >/dev/null; then
583 eerror "lynx not found! you need to emerge www-client/lynx"
584 else
585 ${LYNX} ${STATUSURL}
586 fi
587 }
588
589 virtualhosts() {
590 checkconfd || return 1
591 ${APACHE2} ${APACHE2_OPTS} -S
592 }
593
594 configdump() {
595 LYNX="${LYNX:-lynx -dump}"
596 INFOURL="${INFOURL:-http://localhost/server-info}"
597
598 checkconfd || return 1
599
600 if ! service_started "${SVCNAME}"; then
601 eerror "${SVCNAME} not started"
602 elif ! type -p ${LYNX} 2>&1 >/dev/null; then
603 eerror "lynx not found! you need to emerge www-client/lynx"
604 else
605 echo "${APACHE2} started with '${APACHE2_OPTS}'"
606 for i in config server list; do
607 ${LYNX} "${INFOURL}/?${i}" | sed '/Apache Server Information/d;/^[[:space:]]\+[_]\+$/Q'
608 done
609 fi
610 }
611
612 # vim: ts=4 filetype=gentoo-init-d