httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41025] - ROBOTS META-Tag directive needed in mod_autoindex
Date Wed, 30 May 2007 02:53:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41025>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41025





------- Additional Comments From apache+bugreports@kd6lvw.ampr.org  2007-05-29 19:53 -------
More - I found this trick, but it's not a complete solution.
URL:  http://www.htdig.org/FAQ.html#q4.23

"The other technique you can use, if you want the directory index to be made by 
the web server, is to get the server to insert the robots meta tag into the 
index page it generates. In Apache, this is done using the HeaderName and 
IndexOptions directives in the directory's .htaccess file. For example:

   HeaderName .htrobots 
   IndexOptions FancyIndexing SuppressHTMLPreamble

and in the .htrobots file:

<HTML><head>
<META NAME="robots" CONTENT="noindex, follow">
<title>Index of /this/dir</title>
</head>

-- 
With this method, the title is NOT dynamic but fixed.  If a fixed file with 
some sort of server-side processing that need not reside in the directory being 
displayed can be used, then there might be a valid and complete fix, but such 
seems like a nasty hack to me.  The patch seems to be a better solution.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message