disable directory listings in Apache 1.3.20

disable directory listings in Apache 1.3.20

Post by Da » Sun, 25 Aug 2002 04:20:56



I can't manage to turn off the directory listings
that Apache generates.  I have tried
    Options FollowSymLinks
    (i.e. I removed the Indexes option that used to be there)
and
    Options +FollowSymLinks -Indexes
    (i.e. explicitly unsetting Indexes)
None of this is working.

I am using Apache/1.3.20 on Solaris (SunOS 5.8).
Below are the directory blocks from my httpd.conf file.
Any help is appreciated.
Thanks,
Dan

<Directory />
    Options +FollowSymLinks -Indexes
    AllowOverride None
</Directory>
<Directory "/opt/local/apache/htdocs/nuserve">
    Options +FollowSymLinks -Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
<Directory "/opt/local/apache/icons">
    Options -Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
<Directory "/opt/local/apache/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
</Files>
<Directory "/opt/local/apache/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>

 
 
 

disable directory listings in Apache 1.3.20

Post by Joshua Sliv » Sun, 25 Aug 2002 05:37:07



> I can't manage to turn off the directory listings
> that Apache generates.  I have tried
>     Options FollowSymLinks
>     (i.e. I removed the Indexes option that used to be there)
> and
>     Options +FollowSymLinks -Indexes
>     (i.e. explicitly unsetting Indexes)
> None of this is working.
> I am using Apache/1.3.20 on Solaris (SunOS 5.8).
> Below are the directory blocks from my httpd.conf file.

Do a "grep Options httpd.conf" and make sure that none of the
lines contain "Indexes".  Then do the same for any .htaccess
files that you may be using.

--
Joshua Slive

Apache HTTP Server Users Mailing List: http://httpd.apache.org/userslist.html

 
 
 

1. Problems with Solaris 8 (SPARC), apache 1.3.20, auth_ldap when starting apache

Hi everybody,

My problem seems to be simple, but I can't resolve it.
When I try to start apache on my "new" SUN Ultra 10 under solaris 8, I get
the message :

/usr/local/apache/bin> apachectl start
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/auth_ldap.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/auth_ldap.so: symbol ldap_start_tls_s: referenced
symbol not found
apachectl start: httpd could not be started

I don't understand this "relocation error", what about you ?

ldd gives the following result :

ldd /usr/local/apache/libexec/auth_ldap.so
        libresolv.so.2 =>        /lib/libresolv.so.2
        libsocket.so.1 =>        /lib/libsocket.so.1
        libldap.so.4 =>  /lib/libldap.so.4
        liblber.so.2 =>  /usr/local/lib/liblber.so.2
        libnsl.so.1 =>   /lib/libnsl.so.1
        libucb.so.1 =>   /usr/ucblib/libucb.so.1
        libelf.so.1 =>   /lib/libelf.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libc.so.1 =>     /lib/libc.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

What is this error : ldap_start_tls_s: referenced symbol not found ???

In the file httpd.conf, the lines are written correctly (I've made it dozens
times !)

Is it a library path's problem ?

I've got :
apache 1.3.20
openldap 2.0.7
auth_ldap 1.6.0
solaris 8
gcc 2.95.3

Many thanks.
El Rico

2. PPP and UART 16550

3. pache 1.3.20 - limiting directory access

4. 2.4-ac: BUG_ON (2/2)

5. Apache 1.3.20 on Redhat Linux 7?

6. diamond edge3d w/ 4mbgs of ram

7. starting problems with Upgraded Kernel for SUSE 7.0 and apache 1.3.20

8. opinion, observation and a dumb question

9. redhat 6.2 Apache 1.3.20 configure fails

10. Apache 1.3.20 released

11. Apache 1.3.20/mod_proxy not passing host headers

12. Error-Code in Apache 1.3.20

13. Apache 1.3.20 make error on SCO 5.0.6 Openserver box