[UPHPU] Default robots.txt file
Lonnie Olson
lists at kittypee.com
Tue Aug 7 16:32:49 MDT 2007
On Tue, 2007-08-07 at 15:13 -0600, Richard K Miller wrote:
> The Alias command works, with one exception: The file at /www/public/
> robots.txt is always served, even if a VirtualHost has its own
> robots.txt file. Is there a way to do the equivalent of RewriteCond %
> {REQUEST_FILENAME} !-f with an Alias command?
You could use Jon Jensen's idea, or you can just use the Alias command
inside the <VirtualHost> directives of the hosts that you want to use it
in. Or add the Alias command in a .htaccess at the DocumentRoot of each
host that you want the alias to apply to.
--lonnie
More information about the UPHPU
mailing list