Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #82690
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Newsgroups | alt.os.linux |
| Subject | Re: apache2 barf with plasma6/tumbleweed |
| Date | 2026-05-15 14:20 +0200 |
| Message-ID | <n6ohcmFot3lU1@mid.individual.net> (permalink) |
| References | (6 earlier) <TdGdndST2biBhpj3nZ2dnZfqnPadnZ2d@giganews.com> <n6lf8dFa3qpU1@mid.individual.net> <YZecncqtqJB37pv3nZ2dnZfqn_ednZ2d@giganews.com> <n6nqstFlf7gU1@mid.individual.net> <Y1SdnS0wWfe-YZv3nZ2dnZfqn_qdnZ2d@giganews.com> |
On 15/05/2026 12.56, bad sector wrote:
> On 5/15/26 1:56 AM, J.O. Aho wrote:
>> you could try something like:
>> chcon -R --type=httpd_sys_rw_content_t /0/homes/ u3/0Link/htdocs
>>
>> found this stack overflow for it:
>> https://stackoverflow.com/questions/25190043/apache-permissions-are-
>> missing-on-a-component-of-the-path
>
> Thanks, I'll try that tonight on my desktop, sounds like a maybe (should
> really just uninstall selinux if I could).
You can always switch to permissive mode, kind of a middle ground where
the rules are checked but no active "blocking" done.
>
> ...
>> It's been like 8 years since I last played with apache.
>
> The only thing I used to use it for was developing and testing my pages
> and scripts before uploading to my dns provider. All I want is 127.0.0.1
> but that much with absolutely no constraints for scripts, includes or
> anything that can work on a web page. Nowadays all I do is the odd edit,
> no more dev. or scripting which were never more than amateur efforts
> anyway.
Using enforced selinux will cause a lot of restrictions that are out
over those generally made by the application developers. I feel AppArmor
is a bit more relaxed with their defaults. Sometime even AppArmor can
get badly in the way too, specially if you distro uses some of the
AppArmor default files for applications that have other locations of
file, but that is another story.
> Problem is, when I get things to work it usually falls apart after a few
> months when some update fixes what wasn't broken (in terms of my needs).
This tends to point on a solution that isn't a proper one but a ad-hoc
solution, I have always this issue at work, where my co-workers who
ain't that Linux/Unix minded, they just make crazy scripts and think
that solves their problem for it worked when they tested it, but when
the machine is rebooted it don't work anymore, don't really matter how
many times I point out that they may need a service that handles it for
them.
> In the old days it all went into /etc/httpd on all systems but now its
> scattered all over the place so if I want to avoid tons of duplication
> when booting different distros I have to park my rags in a common path
> accessible from any system.
As far as I know, most had /etc/apache and then redhat decided for
/etc/httpd instead, but still I think things are quite organized,
/etc/{apache,httpd} for configurations, /var/www for web content,
/etc/{default,conf.d} for configure some daemon settings.
--
//Aho
Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar
apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-11 22:44 -0400
Re: apache2 barf with plasma6/tumbleweed Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-12 05:47 +0000
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-12 21:12 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-12 08:43 +0200
Re: apache2 barf with plasma6/tumbleweed "Carlos E.R." <robin_listas@es.invalid> - 2026-05-12 10:35 +0200
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-12 12:55 +0200
Re: apache2 barf with plasma6/tumbleweed "Carlos E.R." <robin_listas@es.invalid> - 2026-05-12 13:15 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-12 21:04 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-13 08:01 +0200
Re: apache2 barf with plasma6/tumbleweed "Carlos E.R." <robin_listas@es.invalid> - 2026-05-13 12:44 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-13 17:54 -0400
Re: apache2 barf with plasma6/tumbleweed Richard Kettlewell <invalid@invalid.invalid> - 2026-05-14 00:08 +0100
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-13 20:45 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-14 10:25 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:16 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-15 07:56 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-15 06:56 -0400
Re: apache2 barf with plasma6/tumbleweed "J.O. Aho" <user@example.net> - 2026-05-15 14:20 +0200
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-16 21:37 -0400
Re: apache2 barf with plasma6/tumbleweed "Carlos E.R." <robin_listas@es.invalid> - 2026-05-15 14:20 +0200
Re: apache2 barf with plasma6/tumbleweed Richard Kettlewell <invalid@invalid.invalid> - 2026-05-14 10:13 +0100
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:16 -0400
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:18 -0400
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:19 -0400
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:20 -0400
Re: apache2 barf with plasma6/tumbleweed Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-14 01:05 +0000
Re: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-14 21:16 -0400
ReSOLVED: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-17 00:57 -0400
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed Paul <nospam@needed.invalid> - 2026-05-17 08:04 -0400
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-17 18:19 -0400
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-17 22:34 +0000
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed bad sector <forgetski@_INVALID.net> - 2026-05-17 22:53 -0400
Re: ReSOLVED: apache2 barf with plasma6/tumbleweed Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-18 04:23 +0000
csiph-web