Bug 246569
Summary: | Ship vh.d directory for virtual host configuration | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bojan Smojver <bojan> | ||||||||||
Component: | httpd | Assignee: | Joe Orton <jorton> | ||||||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | low | Docs Contact: | |||||||||||
Priority: | low | ||||||||||||
Version: | rawhide | ||||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2007-07-03 08:25:32 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Bojan Smojver
2007-07-03 06:03:59 UTC
Created attachment 158405 [details]
Spec file
Created attachment 158406 [details]
Configuration file patch
Created attachment 158407 [details]
README file for vh.d directory
Created attachment 158408 [details]
Spec file patch for conevenience
Sorry, the sentence should read: This configuration would occur after all [...] The benefit of this approach, which I failed to mention, is that default httpd.conf can be delivered over RPM upgrades, therefore making deployment of new defaults easier (i.e. no need for admins to merge .rpmnew stuff into the config). Thanks a lot for the hard work and patches - but (there's always a but :)... see bug 173012 for the rationale why I don't think this is a good idea. *** This bug has been marked as a duplicate of 173012 *** That's cool - it's not a big deal for me to add this one line to the back of httpd.conf. I was just lazy and wanted to avoid editing httpd.conf every time I upgrade my Fedora/EL boxes. It's also kind of cool to get defaults by default ;-) Related to the rationale from bug #173012, this problem: "The fact that we cannot define NameVirtualHost *:80 without also defining a default *:80 vhost (which is not desirable) means you cannot just drop in new name-based vhosts into a "vhosts.d", so it would be of restricted utility out of the box." is trivially fixed by having a .conf file in vh.d (or whatever it's called) that is alphabetically before anything else (e.g. starting with _), which then includes user specified NameVirtualHost directive (and any other user-overriden global directives), without the need for httpd.conf (or anything in conf.d) to carry that. This can be mentioned in the vh.d/README. SELinux thing isn't a big deal. Policy changes all the time. I do get the point about system-config-httpd. This would need to be fixed for something like this to work properly. Although I'm not a Python guy, it would probably be good fun... :-) Anyhow, if my persuasion isn't working (i.e. you still think this falls under "why not"), feel free to leave WONTFIX - it's really not a big deal. |