<OT> webpage index
Jorge Almeida
jjalmeida at gmail.com
Wed Nov 19 00:19:31 PST 2008
On Tue, 18 Nov 2008, Tony Alfrey wrote:
> Thanks in advance for help with this.
>
> Consider a URL with a directory like this:
>
> http://www.a_website.com/a_directory
>
> Without knowing that a directory exists with the name a_directory, or the
> names of files, html pages, whatever within a_directory, is it possible for
> anyone to actually see these files, html pages, whatever or to know that they
> exist?
>
Google "htaccess".
In particular: http://www.freewebmasterhelp.com/tutorials/htaccess/2
In my case:
$ cat .htaccess
Options -Indexes FollowSymLinks Includes Multiviews
(.htaccess is in the root directory; "Options -Indexes" prevents the
apache server of displaying the listing of a directory.)
Jorge
More information about the Linux-users
mailing list