Different DocumentRoots depending on external/internal request
Hello,
I have apache 2 installed on my fedora box. I want to use two different document roots. One for people in my network (internal IP request) and one for external ones. I have read about virtual hosts and tried to configure it many times, but I can't seem to make it work. Does anyone know how to do this? I'd really appreciate a little description. Thanks in advance. |
Heres a useful tutorial link for you.. Its for the windows apache, but the config is no different except for dirs.. (:
http://www.netahoy.org/tutorials/apache2.htm After reading this tutorial, I finally understood how they work.. |
All times are GMT -5. The time now is 06:29 PM. |