[LOPSA-US-AZ] Apache Indexes
Shawn Badger
sbadger at cskauto.com
Thu Feb 9 13:52:37 PST 2006
I have kind of an odd problem that I haven't been able to solve yet in
Apache. I need to be able to publish one website to the net that servers
up images without generating an index of the site, but I also need to
publish the same directory in-house with the indexes option turned on.
So far I have the external site secured and taken care of, but I can't
make the new virtual host for the internal site pointing to the same
folder show indexes without turning it one for the published site. Does
anyone know of a way to work around this? Here are some samples for my
virtual host:
<VirtualHost *:80>
DocumentRoot /some/image/dir
Options None
ServerName external.site.com
</VirtualHost>
<VirtualHost 192.168.30.220:80>
DocumentRoot /some/image/dir
Options MultiViews Indexes FollowSymLinks
ServerName internal.site.com
</VirtualHost>
More information about the LOPSA-US-AZ
mailing list