Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546820 - www-misc/zoneminder fails to stream with Apache 2.2.
Summary: www-misc/zoneminder fails to stream with Apache 2.2.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-16 14:59 UTC by Aaron Burnett
Modified: 2020-05-05 07:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Burnett 2015-04-16 14:59:30 UTC
Camera streaming fails with Zoneminder 1.28.1 and Apache 2.2.  I have not tested it with Apache 2.4.  Fedora's installation of Zoneminder includes the following message:

>IMPORTANT: Edit /etc/httpd/conf.d/zoneminder.conf and/or 
>   /etc/httpd/conf/httpd.conf.

>   The httpd.conf file included with this version of Fedora processes the conf.d
>   folder after the default ScriptAlias directive in the httpd.conf file.
>   Previously, the conf.d folder was processed before the default ScriptAlias
>   directive. This causes a ScriptAlias overlap and breaks Zoneminder's
>   streaming abilities.

>   Reference: http://httpd.apache.org/docs/2.4/mod/mod_alias.html#order
>   Bug Report: https://bugzilla.redhat.com/show_bug.cgi?id=973067

>   WORKAROUND #1
>   If you are running zoneminder on a dedicated server then the simplest
>   solution may be to simply comment out the line in httpd.conf that reads:

>        ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

>   WORKAROUND #2
>   If you need both the default cgi-bin folder & the zoneminder cgi-bin folder
>   then a solution might be to move the following line before the default
>   ScriptAlias directive in the httpd.conf file:

>        IncludeOptional conf.d/*.con

I can confirm that WORKAROUND #1 works.  I'm not really sure how WORKAROUND #2 would work, as the ScriptAlians line in question doesn't appear in httpd.conf on Gentoo, but in the default_vhost.include file.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-04-12 21:48:52 UTC
Do you still have this problem with 1.30 ?