HP3000-L Archives

February 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stigers, Greg [And]" <[log in to unmask]>
Reply To:
Stigers, Greg [And]
Date:
Thu, 18 Feb 1999 20:55:19 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
I know this may not have been the brightest way to do this, but...

I noticed that the default Apache page, when viewing the Apache account
shared via SAMBA (read only), was \\HP3K\APACHE\PUB\htdocs\index.html, and
that I could view the manual pages such as
\\HP3K\APACHE\PUB\htdocs\manual\index.html by entering
http://HP3K/manual/index.html. So I reasoned that I could create directories
under htdocs, and drop pages into it via SAMBA, that anyone here could view
via Apache. Kind of a lazy man's way to share system documentation with
anyone who can access this system, with read write access controlled thru
SAMBA and read access for anyone else via Apache. Except it doesn't work. I
hate it when reality ruins an otherwise useful idea.

I get
Forbidden
You don't have permission to access
/PAGES/DOCS/cgi_20_nightly_20_processing.htm on this server.
And having guessed wrong once, I don't see the benefit in guessing too much
more. Since JHTTPD runs under SERVER.APACHE, is that the id that needs
permissions for the files?

Now, I had created the PAGES and DOCS directories as system manager, and
have tried altering their ownership to MGR.APACHE and so on, to see what is
keeping me from browsing my file. And I have tried to see if there is
anything odd with the permissions on the file itself. LISTFILE ,4 tells me
that MGR.APACHE: READ, WRITE, EXECUTE, RACD.

:LISTFILE /APACHE/PUB/htdocs/PAGES/DOCS/cgi_20_nightly_20_processing.htm,-2
 PATH= /APACHE/PUB/htdocs/PAGES/DOCS/

 ------------ACD ENTRIES-------------- FILENAME

 $OWNER             : R,W,X,RACD       cgi_20_nightly_20_processing.htm
 $GROUP_MASK        : R,RACD
 $GROUP             : R,RACD
 @.@                : R,RACD

ls tells me:
:ls "-lt /APACHE/PUB/htdocs/PAGES/DOCS/cgi_20_nightly_20_processing.htm"
-rwxr--r--   1 MGR.APACHE        SAMBA       9534 Feb 11 15:54
/APACHE/PUB/htdocs/PAGES/DOCS/cgi_20_nightly_20_processing.htm.

"Fixing" this would be nice. And if there are less challenging ways to
accomplish the same end, I would welcome the help. Unfortunately, taking the
time to learn to use Apache properly will be hard to do, unless there is a
quick start guide for people with low expectations, kind of an Apache for
Dummies...

ATOM RSS1 RSS2