Forum Moderators: phranque

Message Too Old, No Replies

The /icons/ directory

Can't I have a directory called "icons"? It shows the Apache icons

         

adrianTNT

10:57 pm on May 28, 2007 (gmt 0)

10+ Year Member Top Contributors Of The Month



Hello.

I saw that on most servers if you access site.com/icons/ it shows the Apache icons.

In my site I really need to have other content inside site.com/icons/ is there a way to remove those icons from there?

No matter what I put in site.com/icons/ the Apache icons keep appearing there.

Any ideas?
Thank you.

encyclo

12:36 am on May 29, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you have access to the httpd.conf file or are you on a shared server? If you do, check out the
Alias
directives, you'll probably see something resembling:

Alias /icons/ "/usr/share/apache2/icons/"

Unfortunately, if you are on a shared server you will need to ask the server administrator, there is no way I know of (I may be wrong!) that you can override an

Alias
via a .htaccess.

See: [httpd.apache.org...]