I'm asking this here because its well out of my field of experience and
expertise.
I've always just set up Apache (and ownCloud) according the to the
instructions and in the past its "just worked". I've never known enough
about Apache to do tuning or play around with the various things like
Tomcat or Struts. I just about know enough to look in the logs and I
don't see anything there that gives me a clue to the failure modes.
I've just run a 'zypper up' and it installed some updates to ownCloud
2015-07-03 08:44:49 <1> Mainbox(2218) [zypp] MediaCurl.cc(MediaCurl):459
MediaCurl::MediaCurl(http://ftp.halifax.rwth-aachen.de/opensuse/repositories/isv:/ownCloud:/commu...,
)
and more lie that for other components of ownCloud.
I don't see anything in the logs that was a change to Apache alone.
However, apache isn't restarting.
# /usr/sbin/start_apache2
AH00526: Syntax error on line 10 of /etc/apache2/conf.d/owncloud.conf:
Invalid command 'SetEnv', perhaps misspelled or defined by a module not
included in the server configuration.
That file reads
# nl conf.d/owncloud.conf
1 Alias /owncloud "/srv/www/htdocs/owncloud/"
2
3 Options +FollowSymLinks
4 AllowOverride All
5 <IfModule mod_dav.c>
6 Dav off
7 </IfModule>
8 SetEnv HOME /srv/www/htdocs/owncloud
9 SetEnv HTTP_HOME /srv/www/htdocs/owncloud
10 </Directory>
11
12 # just in case if .htaccess gets disabled
13 Require all denied
14 </Directory>
When I look at the diff between that and the rpmsave I see that lines
5-9 have been introduced.
I'm unclear from the docs if I should have a mod_env or just the mod_envif
Mainbox:/etc/apache2 # grep -R mod_env *
returns nothing
but
Mainbox:/etc/apache2 # grep -R mod_setenv *
server-tuning.conf:<IfModule mod_setenvif.c>
sysconfig.d/loadmodule.conf:LoadModule setenvif_module
/usr/lib64/apache2-prefork/mod_setenvif.so
Is that supposed to include the SetEnv directive or not?
When I look in /usr/lib64/apache_prefork, and others, I do see a
apache2/mod_env.so
but there's nothing in my config that references anything like that.
All the 'LoadModule' directives are in 'loadmodules.conf' and thy all
reference items in /usr/lib64/apache2-prefork/
I would have thought that 'SetEnv' would have been a pretty fundamental
option but it seems not to be used elsewhere. Odd that.
Now is this a bug? Perhaps the testers had mod_env installed &
configured for some other reason?
--
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting frowned upon?
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org