Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 830661 Details for
Bug 1036123
Fix selinux documentation and allow httpd to serve static files by default
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed fix.
cgit-selinux-httpd.patch (text/plain), 1.56 KB, created by
Pavel Raiskup
on 2013-11-29 13:59:24 UTC
(
hide
)
Description:
Proposed fix.
Filename:
MIME Type:
Creator:
Pavel Raiskup
Created:
2013-11-29 13:59:24 UTC
Size:
1.56 KB
patch
obsolete
>diff --git a/README.SELinux b/README.SELinux >index 95c690c..c760956 100644 >--- a/README.SELinux >+++ b/README.SELinux >@@ -11,7 +11,7 @@ handled automatically for repositories in the default path, /var/lib/git. If > your repositories are in a different path, /srv/git, for example, you can set > the proper context using semanage: > >- # semanage fcontext -a -t httpd_sys_content_t "/srv/git(/.*)?" >+ # semanage fcontext -a -t httpd_git_content_t "/srv/git(/.*)?" > > If you have other confined daemons that need to access the git repositories, > you may want to use public_content_t, or public_content_rw_t instead of >diff --git a/cgit.httpd b/cgit.httpd >index 791d01b..9f8ffd0 100644 >--- a/cgit.httpd >+++ b/cgit.httpd >@@ -1,2 +1,6 @@ > Alias /cgit-data /usr/share/cgit > ScriptAlias /cgit /var/www/cgi-bin/cgit >+ >+<Directory "/usr/share/cgit"> >+ Require all granted >+</Directory> >diff --git a/cgit.spec b/cgit.spec >index c28d192..abc6ac5 100644 >--- a/cgit.spec >+++ b/cgit.spec >@@ -21,7 +21,7 @@ make V=1 %{?_smp_mflags} \\\ > > Name: cgit > Version: 0.9.2 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: A fast web interface for git > > Group: Development/Tools >@@ -102,6 +102,10 @@ rm -rf %{buildroot} > > > %changelog >+* Fri Nov 29 2013 Pavel Raiskup <praiskup@redhat.com> - 0.9.2-3 >+- fix selinux suggestion in README.Selinux >+- set 'Require all granted' for the "static" cgit's files >+ > * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1036123
: 830661