ts-7000
[Top] [All Lists]

Re: [ts-7000] apache configuration

To:
Subject: Re: [ts-7000] apache configuration
From: "Rich Wilson" <>
Date: Wed, 28 Jun 2006 13:04:33 -0700
Janne,
Thanks for your response.
Hmm, I think I have permissions correct.
But here's a puzzler, and perhaps a clue to the problem:

$ su nobody
su: cannot run /bin/true: Permission denied
$

apache is running as nobody (except for the first one which is root).
/bin/true is a link to busybox

$ ls -l /bin/true
lrwxrwxrwx    1 root     root            7 May  3 18:21 /bin/true -> busybox
$ ls -l /bin/busybox
-rwxr-xr-x    1 root     root       505124 Oct 26  2005 /bin/busybox
$

this looks to me like nobody should be able to run /bin/true, where
nobody is the name of the user, not a negative.
Similar problems with 'guest'.

So, I'm still confused, but perhaps one step closer to the solution.

Rich

On 6/28/06, Janne Mäntyharju <> wrote:

If you have changed the index.html, check first that apache has read
permissions to file. You can view permissions by typing ls -l /var/www.
I don't remember which user runs apache server on TS-7250, but usually
it's www-data. If you have uploaded new index.html, it might be owned by
root and www-data can't read it. Change the owner of the file by typing
chown www-data /var/www/index.html . If apache runs as root, apply read
permissions to while by typing chmod a+r /var/www/index.html

Hope this helps!
-Janne



Rich Wilson wrote:
>
> I have a ts7250. It's still pretty much in its factory configuration.
> It looks like apache is configured to serve a simple web page, but
> whenever I try, I get
> "Forbidden
> You don't have permission to access /index.html on this server."
>
> >From /www/apache/conf/httpd.conf:
>
> <Directory "/www/apache/htdocs">
> Options Indexes FollowSymLinks MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> Isn't this the approprite section, and doesn't it allow all access?
>
> What am I overlooking?
>
> Thanks.
>
> Rich
>




--
Rich Wilson

425-337-7129 __._,_.___


SPONSORED LINKS
Linux os Hardware Arms
Computer internet Computer security Computer hardware security


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU