LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-16-2006, 01:52 PM   #1
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Rep: Reputation: 30
How to add a banner on apache´s non index directory?


Do you know when a directory don´t have any index and apache generates a dynamic page with the content of the page?

Is it possible to place a banner over this page?
 
Old 03-17-2006, 07:01 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,154
Blog Entries: 1

Rep: Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019
You can use the HeaderName directive to prepend a .html file before the directory index. In that file you can put a banner or whatever you want. Syntax:
Code:
HeaderName banner.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache - Directory index forbidden Phaethar Linux - Software 1 01-26-2006 08:49 AM
How to add a text banner stormtracknole Slackware 2 01-25-2006 11:01 AM
Need to add directory to Apache KrGAce Linux - Newbie 8 10-20-2005 11:07 PM
Apache directory index layout lupus9537 Linux - Software 1 04-26-2004 04:23 PM
apache directory index spank Linux - Newbie 1 12-10-2003 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration