>        verifica drepturile pina acolo. Asigura-te ca userul apache
> poate sa intre in acele directoare (nu neaparat sa poata face si
> listing)
Sa vedem lista cu drepturi:
drwxr-x---   13 bbstatus apache       4096 Sep 29 17:28 bbstatus/

=======

/var/www/html/bbstatus> ls -al
total 276
drwxr-x---   13 bbstatus apache       4096 Sep 29 17:28 ./
drwx------   31 apache   apache       8192 Nov 26 12:24 ../
-rw-r--r--    1 bbstatus bbstatus       39 Jun 29  2003 AUTHORS
-rw-r--r--    1 bbstatus bbstatus    35577 Apr 10  2004 bbstatus.spec
-rw-r--r--    1 bbstatus bbstatus    90702 Mar 28  2004 bbstatus.sql
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 bin/
drwxr-xr-x   13 bbstatus bbstatus     4096 Sep 29 17:28 cgi-bin/
-rw-r--r--    1 bbstatus bbstatus    18587 Apr 10  2004 Changelog
-rw-r--r--    1 bbstatus bbstatus    17992 Jan 24  2002 COPYING
drwxr-xr-x    5 bbstatus bbstatus     4096 Sep 29 17:28 database/
drwxr-xr-x    7 bbstatus bbstatus     4096 Nov 26 14:10 etc/
-rw-r--r--    1 bbstatus bbstatus     9074 Mar 28  2004 HOWTO
drwxr-xr-x    5 bbstatus bbstatus     4096 Sep 29 17:28 html/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 images/
-rw-r--r--    1 bbstatus bbstatus     5405 Mar 13  2004 INSTALL
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 lib/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 lock/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 log/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 migration/
-rw-r--r--    1 bbstatus bbstatus     4801 Apr 10  2004 Migration-HOWTO
-rw-r--r--    1 bbstatus bbstatus     1563 Aug 10  2003 README
-rw-r--r--    1 bbstatus bbstatus      733 Nov 16  2003 README.SSL
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 sbin/
-rw-r--r--    1 bbstatus bbstatus      247 Aug 24  2003 TODO
-rw-r--r--    1 bbstatus bbstatus        5 Apr  5  2004 VERSION

Userul apache poate sa intre in orice director (am verificat).

> iar daca ai enablat suexec atunci asigura-te ca userul
> bbstatus poate sa execute cgi-urile din directoarele respective (asta
> inseamna sa poata si ajunge la ele).
<IfModule !mod_suexec.c>
        LoadModule suexec_module modules/mod_suexec.so
</IfModule>

Asta am in /etc/httpd/2.0/conf/httpd2.conf . Deci sunt incarcate. Nu?!
/var/www/html/bbstatus/cgi-bin> ls -al
total 52
drwxr-xr-x   13 bbstatus bbstatus     4096 Sep 29 17:28 ./
drwxr-x---   13 bbstatus apache       4096 Sep 29 17:28 ../
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 clientblock/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 epmgmnt/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 eqmgmnt/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 fltmgmnt/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 ifmgmnt/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 ipmgmnt/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 ipmon/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 oidmgmnt/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 relmgmnt/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 statopt/
drwxr-xr-x    2 bbstatus bbstatus     4096 Sep 29 17:28 usrmgmnt/
Eroarea pe care o primesc atunci cand accesez din browser
http://192.168.0.1/virtual/bbstatus/html/index.cgi este:
The requested URL /mrtg/81.180.151.100.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/6mdk)
mod_perl/1.99_09 Perl/v5.8.1 mod_auth_external/2.2.4 auth_mysql/1.11
mod_auth_pgsql/2.0.1 auth_radius/1.7PR1 mod_layout/4.0.1a
mod_ssl/2.0.47 OpenSSL/0.9.7b DAV/2 PHP/4.3.2 mod_auth_remote/1.0
mod_auth_shadow/2.0 Server at bbstatus.localdomain Port 80

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui