Wash, just realized that I didn't answer your question :-)
So, when you request http://localhost/, apache will go to the documentroot folder and look for any htaccess files, read them and "implement" any rules therein, after that, it will look for the file specified in directoryindex directive, e.g. index.html, index.php and return that. Therefore in this case, apache will just redirect to the zope URL.
Using htaccess, apache will not know about the existence of Zope because it does not need to. Infact, according to the Zope website, Zope can work without apache.On Tue, Nov 3, 2009 at 5:46 PM, Odhiambo Washington <odhiambo@gmail.com> wrote:
On Tue, Nov 3, 2009 at 5:41 PM, Peter Karunyu <pkarunyu@gmail.com> wrote:
htaccess files would also do the same thing, something like
Redirect 301 / http://localhost:8080/
will redirect all traffic from http://localhost/ (i.e. http://localhost:80/) to http://localhost:8080/
How then does Apache know about the existence of a Zope site from the .htaccess file? Sorry, I've never ran a site on Zope before so I am only looking at the Apache side of things? I am a little bit lost.
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
-- Lucky Dube
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke
Other lists
-------------
Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general