[LOPSA-US-AZ] Apache Indexes

der.hans LOPSA-US-AZ at LuftHans.com
Thu Feb 9 18:51:22 PST 2006


Am 09. Feb, 2006 schwätzte Shawn Badger so:

> 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.

Could you just put in an ACL for the index option and only allow internal
IPs in the ACL?

Normally I'd look in the docs, but at the PLUG meeting right now, so not
doing research :).

ciao,

der.hans

> 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>
>
>
>
> _______________________________________________
> LOPSA-US-AZ mailing list
> LOPSA-US-AZ at lists.lopsa.org
> http://lopsa.org/cgi-bin/mailman/listinfo/lopsa-us-az
>

-- 
#  https://www.LuftHans.com/        http://www.CiscoLearning.org/
#  Join the League of Professional System Administrators! https://LOPSA.org/
#  "If it's not a toy you're looking at it wrong." -- der.hans


More information about the LOPSA-US-AZ mailing list