/apache2/mods-enabled/alias.conf

http://github.com/brinkman83/bashrc · Config · 24 lines · 22 code · 2 blank · 0 comment · 0 complexity · c0579b22a661c4e37bb019a97eadb0a8 MD5 · raw file

  1. <IfModule alias_module>
  2. #
  3. # Aliases: Add here as many aliases as you need (with no limit). The format is
  4. # Alias fakename realname
  5. #
  6. # Note that if you include a trailing / on fakename then the server will
  7. # require it to be present in the URL. So "/icons" isn't aliased in this
  8. # example, only "/icons/". If the fakename is slash-terminated, then the
  9. # realname must also be slash terminated, and if the fakename omits the
  10. # trailing slash, the realname must also omit it.
  11. #
  12. # We include the /icons/ alias for FancyIndexed directory listings. If
  13. # you do not use FancyIndexing, you may comment this out.
  14. #
  15. Alias /icons/ "/usr/share/apache2/icons/"
  16. <Directory "/usr/share/apache2/icons">
  17. Options Indexes MultiViews
  18. AllowOverride None
  19. Order allow,deny
  20. Allow from all
  21. </Directory>
  22. </IfModule>