Description of problem: apcupsd-cgi as shipped gives Attempt to invoke directory as script http://wiki.apache.org/httpd/DirectoryAsScript explains hos to fix this Version-Release number of selected component (if applicable): apcupsd-3.14.0-3.el5.src.rpm How reproducible: always Steps to Reproduce: 1. have working httpd setup 2. have UPS 3. yum install apcupsd-cgi 4. access http://localhost/apcupsd/ with a browser Actual results: [error] [client X.X.X.X] attempt to invoke directory as script: /var/www/apcupsd/ Expected results: seeing info on the UPS Additional info: after changing my /etc/httpd/conf.d/apcupsd.conf to read as follows, it looks OK # # apcupsd configuration file for Apache Web server # # files are off the documentroot of Web server #ScriptAlias /apcupsd/ "/var/www/apcupsd/" Alias /apcupsd /var/www/apcupsd <Directory /var/www/apcupsd> AddHandler cgi-script cgi pl Options ExecCGI </Directory> # # Allow only local access at default # Change the ".example.com" to match your domain or modify # access rights to your needs to enable remote access also. # <Directory "/var/www/apcupsd"> DirectoryIndex upsstats.cgi AllowOverride None Options ExecCGI Indexes Order deny,allow Deny from all Allow from 127.0.0.1 Allow from ::1 Allow from .mydomain.com </Directory> Obviously X.X.X.X in the error depends on accessing client and "Allow from .mydomain.com" on my local network
apcupsd-3.14.8-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/apcupsd-3.14.8-3.fc14
apcupsd-3.14.0-4.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/apcupsd-3.14.0-4.el5
apcupsd-3.14.8-3.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/apcupsd-3.14.8-3.fc13
apcupsd-3.14.0-3.el4 has been submitted as an update for Fedora EPEL 4. https://admin.fedoraproject.org/updates/apcupsd-3.14.0-3.el4
apcupsd-3.14.0-3.el4 has been pushed to the Fedora EPEL 4 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update apcupsd'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/apcupsd-3.14.0-3.el4
for others wanting to test; (In reply to comment #5) > su -c 'yum --enablerepo=updates-testing update apcupsd'. should read su -c 'yum --enablerepo=epel-testing update apcupsd'
(In reply to comment #6) > for others wanting to test; > > (In reply to comment #5) > > su -c 'yum --enablerepo=updates-testing update apcupsd'. > > should read > su -c 'yum --enablerepo=epel-testing update apcupsd' depends what system are you using, but you're correct that for *.el4 package it should be epel-testing
apcupsd-3.14.8-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
apcupsd-3.14.8-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
apcupsd-3.14.0-4.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
apcupsd-3.14.0-3.el4 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report.