Forum Stats

  • 3,814,871 Users
  • 2,258,922 Discussions
  • 7,892,882 Comments

Discussions

Google search results

d_wilhelm
d_wilhelm Member Posts: 405
edited Dec 2, 2008 4:55AM in APEX Discussions
Hello,

we have an application on our server and google already found it and indexed it. Now when we search for our appliaction at google, we also find a page that is labled "Index of /i/doc/ja/dcommon/html". Actually its a directory on our server and it contains an oracle copyright notice.

Now if you search vor "/i/doc/ja/dcommon/html" at google you will find several more apex pages and using the parent directory link in that page you can navigate through the apex images directories of that applications.

Is there a way to prevent this?

Thanks for help in advance,
Dirk
Tagged:

Answers

  • 667472
    667472 Member Posts: 42
    edited Dec 2, 2008 4:55AM
    There are at least two ways round this, first is simple, you create a blank index.html file and copy it into any directory you wish to not show a directory listing.

    The second, (with Apache at least) would be to take away the indexes option for a specific directory or everything by adding something like the following into you http.conf file.
    <Directory />
    Options -Indexes
    </Directory>
    or just add the
    Options -Indexes
    into your virtual host settings within http.conf.

    Or of course you could put the Options -Indexes into a .htaccess file as a local override to your http.conf file.

    There are many different ways to do it depending on the scope and how much access you have to the server config.

    -John.

    (Remember to allocate helpful and correct answers on threads you create! :-)
This discussion has been closed.