Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #82505

Re: Any Apache Experts?

From vallor <vallor@vallor.earth>
Newsgroups comp.os.linux.advocacy, comp.os.linux.misc
Subject Re: Any Apache Experts?
Date 2026-03-06 22:34 +0000
Organization The Unnamed Newswriter
Message-ID <10ofkqd$12dlf$1@dont-email.me> (permalink)
References <1899f68f4c9aa8b1$621$1845414$802601b3@news.usenetexpress.com> <10oen9q$nh4i$1@dont-email.me> <189a4d870275b665$1134$2171458$802601b3@news.usenetexpress.com>

Cross-posted to 2 groups.

Show all headers | View raw


At Fri, 06 Mar 2026 16:30:45 +0000, Farley Flud <ff@gnulinux.rocks> wrote:

> On Fri, 6 Mar 2026 14:11:07 -0000 (UTC), fregas wrote:
> 
> > 
> > Typically .cs files are csharp files O i assume you're doing some kind
> > of programming or wanting to show programming files, but not sure.
> > 
> > What is it you're actually trying to accomplish?  Simply display source
> > code in your website?  
> > 
> 
> These cs files are for the visitor to download to his machine and then
> load into his local software so as to duplicate the results that are
> shown on the website.
> 
> But I have given up trying to solve this.
> 
> Thanks to all for the advice.

I admire your patience -- you waited a whole 9 minutes for the
answer...

Anyway, it's part of the default Apache 2 configuration to treate
.cs files as a different language.

https://httpd.apache.org/docs/2.4/mod/mod_mime.html#addlanguage

# egrep "\.cs$" etc/apache2/*/*.conf
etc/apache2/mods-available/mime.conf:AddLanguage cs .cz .cs
etc/apache2/mods-enabled/mime.conf:AddLanguage cs .cz .cs

 ...and there was nothing keeping you from looking up the docs
for this.

Anyway, tell your provider to remove that line from mods-available, and
it will work right.

Or better yet, get a vps on Digital Ocean, and assume control
of the whole server.  A tiny server is $6/mo.

-- 
-v System76 Thelio Mega v1.1 x86_64 Mem: 258G
   OS: Linux 7.0.0-rc2 D: Mint 22.3 DE: Xfce 4.18 (X11)
   NVIDIA GeForce RTX 3090Ti (24G) (580.126.18)
   "Useless Invention: Camcorder with braile-encoded buttons."

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Find similar


Thread

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