Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #82424
| From | Robert Heller <heller@deepsoft.com> |
|---|---|
| Newsgroups | comp.os.linux.advocacy, comp.os.linux.misc |
| Subject | Re: Any Apache Experts? |
| Date | 2026-03-05 18:43 +0000 |
| Organization | Deepwoods Software |
| Message-ID | <10ocirk$1o68$1@dont-email.me> (permalink) |
| References | <1899f68f4c9aa8b1$621$1845414$802601b3@news.usenetexpress.com> <10oc5j4$3sksp$1@dont-email.me> <10oc5rc$3s8ht$4@dont-email.me> <1899fc71dfba9b30$774$1557799$802601b3@news.usenetexpress.com> |
Cross-posted to 2 groups.
At Thu, 05 Mar 2026 15:44:54 +0000 Farley Flud <ff@gnulinux.rocks> wrote: > > On Thu, 5 Mar 2026 15:00:59 +0000, The Natural Philosopher wrote: > > > On 05/03/2026 14:56, Robert Heller wrote: > >> "ERROR 403: Forbidden." more correctly means that the files are not "readable" > >> by the httpd process. Depending on the distro, this could be because the files > >> (or the directory they are in) are not owned by www-data (or whatever user the > >> httpd runs as) or you have selinux installed and enabled and the files are not > >> in an directory enabled for web access (eg with the proper selinux ACL). Or > >> the files lack read access -- the file don't actually need to be owned by the > >> user the httpd process runs under, so long as they and their parent > >> directories have read access (the directories just need execute access to > >> allow traversal). If the files/directories have a different group or owner, > >> they need the proper group or world read/execute access. The MIME type only > >> matters if that is needed for proper interpretation by the browser is an > >> issue, but lacking a proper MIME type won't cause a 403 error. There *could* > >> be issues if the files are symlinks and the FollowSymLinks Option is missing > >> from <Directory> elements. > >> > > Yes. It's a permissions, not a 'I can't understand the type' error. > > Check to see who owns the files and what the perms are. > > > > It can't be a permissions problem because I can just rename the files > to add the "txt" extension without altering any permissions and then > the files are accessible. That makes no sense. 403 is specificly a permissions issue, never a MIME type. Maybe something else is going on. Are you defining a *handler* for .cs files? If so it might be a problem with the *handler* and not the files themselves. > > What also puzzles me is that after checking the server logs there is no > 403 error reported anywhere. > Hmm... It might not really be a 403 error at all and something else is going on. What *exactly* are these .cs files? > > My .htaccess file is located in the root directory of the website tree. > Maybe I need to move it the directory of the web page that actually delivers > those "cs" files. That should not matter. > > > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@deepsoft.com -- Webhosting Services
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Any Apache Experts? Farley Flud <ff@gnulinux.rocks> - 2026-03-05 13:57 +0000
Re: Any Apache Experts? Robert Heller <heller@deepsoft.com> - 2026-03-05 14:56 +0000
Re: Any Apache Experts? The Natural Philosopher <tnp@invalid.invalid> - 2026-03-05 15:00 +0000
Re: Any Apache Experts? Farley Flud <ff@gnulinux.rocks> - 2026-03-05 15:44 +0000
Re: Any Apache Experts? Robert Heller <heller@deepsoft.com> - 2026-03-05 18:43 +0000
Re: Any Apache Experts? Farley Flud <ff@gnulinux.rocks> - 2026-03-05 20:10 +0000
Re: Any Apache Experts? Robert Heller <heller@deepsoft.com> - 2026-03-05 21:04 +0000
Re: Any Apache Experts? Farley Flud <ff@gnulinux.rocks> - 2026-03-05 21:57 +0000
Re: Any Apache Experts? Robert Heller <heller@deepsoft.com> - 2026-03-06 01:47 +0000
Re: Any Apache Experts? Farley Flud <ff@gnulinux.rocks> - 2026-03-06 16:21 +0000
Re: Any Apache Experts? The Natural Philosopher <tnp@invalid.invalid> - 2026-03-06 11:16 +0000
Re: Any Apache Experts? Farley Flud <ff@gnulinux.rocks> - 2026-03-06 16:33 +0000
Re: Any Apache Experts? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-05 22:10 +0000
Re: Any Apache Experts? Farley Flud <ff@gnulinux.rocks> - 2026-03-05 22:19 +0000
Re: Any Apache Experts? Robert Heller <heller@deepsoft.com> - 2026-03-06 02:07 +0000
Re: Any Apache Experts? vallor <vallor@vallor.earth> - 2026-03-07 01:51 +0000
Re: Any Apache Experts? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-05 20:59 +0000
Re: Any Apache Experts? Richard Kettlewell <invalid@invalid.invalid> - 2026-03-05 22:47 +0000
Re: Any Apache Experts? Farley Flud <ff@gnulinux.rocks> - 2026-03-06 16:30 +0000
Re: Any Apache Experts? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2026-03-06 21:23 +0000
Re: Any Apache Experts? vallor <vallor@vallor.earth> - 2026-03-06 22:34 +0000
csiph-web