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


Groups > linux.debian.user > #209870

Re: web page problem

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: web page problem
Date 2019-06-14 00:20 +0200
Message-ID <y8GeC-17P-3@gated-at.bofh.it> (permalink)
References <y8DJL-7XQ-7@gated-at.bofh.it> <y8EPv-8r-7@gated-at.bofh.it> <y8F8R-u7-1@gated-at.bofh.it>
Organization none,nada,zip

Show all headers | View raw


On Thursday 13 June 2019 05:09:35 pm Felix Miata wrote:

> Gene Heskett composed on 2019-06-13 16:44 (UTC-0400):
> > Felix Miata wrote:
> >
> > Alias   /urlDebSub/ "/LocalPathHostingTheDebs/"
> >
> > I've done that to /etc apache2/apache2.conf, and restarted it.
> >
> > Then because the web servers root page is at /var/www/html, and gene
> > is the head of the data, I touched urlDebSub in /var/www/html/gene,
> > made it
>
> Can touch create a new directory, or only a file?
>
> urlDebSub is an alias seen in URLs on the web, not a real directory on
> the Apache server.
>
> e.g. My screenshots are in a directory named screenshots. The alias
> name in default-server.conf is /SS/, so the URL to reach the
> screenshots I host reads www.mywebsite.com/SS/.
>
> > owned by www-data:www-data, and modified gene/index.html
> > accordingly. No errors, but blank page. Suspect a perms breakage
> > someplace. I get perfect results, but www-data:www-data can't.  And
> > I can't make the whole chain a 0777. Or shouldn't. 0755 should do
> > it, but doesn't seem to.
>
> Probably need something like this:
>
> <Directory "/LocalPathHostingTheDebs">
>  Options Indexes MultiViews FollowSymLinks
>  AllowOverride None
>         <IfModule !mod_access_compat.c>
>                 Require all granted
>         </IfModule>
>         <IfModule mod_access_compat.c>
>                 Order allow,deny
>                 Allow from all
>         </IfModule>
> </Directory>
looks good, but the problem is, only gene=user 1000 has any rights to 
follow that path, so this access must be done as gene, not the default 
www-data:www-data, or even as the parent session of apache2.. Is there 
an "as user=gene" command that can be used only for this stanza that I 
can put in this stanza?  root cannot go up this path to see anything,  
neither can www-data.

Is this a place where making gene a member of group www-data would help? 
No, I just looked and I am already a member of that group. 

Help, I've built a sandbox not even root can get into!!!

And since apache2 doesn't believe in man pages, what do they use instead 
of?


-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-13 21:40 +0200
  Re: web page problem Felix Miata <mrmazda@earthlink.net> - 2019-06-13 22:10 +0200
    Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-13 22:50 +0200
      Re: web page problem Felix Miata <mrmazda@earthlink.net> - 2019-06-13 23:10 +0200
        Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-14 00:20 +0200
          Re: web page problem Greg Wooledge <wooledg@eeg.ccf.org> - 2019-06-14 14:50 +0200
            Re: web page problem <tomas@tuxteam.de> - 2019-06-14 15:00 +0200
              Re: web page problem Greg Wooledge <wooledg@eeg.ccf.org> - 2019-06-14 15:10 +0200
                Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-15 03:20 +0200
              Re: web page problem Joe <joe@jretrading.com> - 2019-06-14 15:10 +0200
                Re: web page problem Kevin DAGNEAUX <kevin.dagneaux@fiitelcom.fr> - 2019-06-14 16:10 +0200
                Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-15 03:30 +0200
            Re: web page problem Gene Heskett <gheskett@shentel.net> - 2019-06-14 17:30 +0200
  Re: web page problem mick crane <mick.crane@gmail.com> - 2019-06-15 12:00 +0200

csiph-web