BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} BB- forbidden error



On Thu, 2006-10-19 at 15:03, Jay McMickle wrote:
> Sorry- I was weary to put my lack of knowledge out there so I overlooked
> the fact that I didn't give all of the Info.
> 
> I'm running Red Hat Linux (not enterprise) with Apache.
> 
> Yes, when I browse to the host name, I see the default apache web page.
> When I browse to hostname/bb, I get a forbidden message.
> 
> I will point out the one thing that didn't work for me.  Reading from
> the Readme.Install, step 5 didn't work for me.  Maybe that's the
> problem?
> 
>  
> 
> (Step 5 from the directions...)
> 
> 5. cd ../..
> 
>    ln -s <bbdir> bb where <bbdir> is the new version directory
>    (e.g. bb1.9i-btf)
> 
>    This is useful as you don't have to change the directory in your
>    startup script. (see section 11)
> 
>         cd bb
>         chown -R bbuser .   where bbuser is the user you defined 
                          ^ 
   Note the period -------|

>                             in the install process. This makes sure
>                             that the bbuser can write/read into
>                             the BB directory sttructure as you will
>                             probably install while in the root
>                             account
> 
>             cd ..
>             chown -R bbuser bbvar
>  
> Here's my input and error- 

    <snipped>

When you change the owner of a directory using "chown", you need to
specify the new owner and the directory to change. In this case, it
is the "current" directory, which is specified with a period (dot or
full stop). They are very easy to overlook if you are not expecting
them.

On file permissions, the "www" directory (in BBHOME) and sub-dirs
should be 755 (drwxr-xr-x) and the files in that directory 644
(-rw-r--r--). Ownership and permissions on symbolic links should
not matter.

Normally, this error happens because Apache is not configured to
follow symbolic links. This is usually the default. If so, you'll
need to add a line like:

    Options FollowSymLinks
  
to the specification for the required directory.

For me, the configuration file is /etc/apache2/default-server.conf
and the directory block looks like:

  <Directory "/srv/www/htdocs">
        Options FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
  </Directory>

You should have something similar. The full documentation is here:

  http://httpd.apache.org/docs/2.0/mod/core.html#options

If you want to avoid using the symbolic link method later, it is
also possible to add the BB directory directly to the Apache
configuration. It's not too difficult to do, but it's probably
more complex than you would want just now.

Cheers, Phil.



-- 
It's not reality or how you perceive things that's important --
it's what you're taking for it.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index