2virtualhosts on 1 zope, apache in front
Hello ! Being in desperate need for help on the follwing problem, i am asking you to help me. Here comes the problem: I have one ZServer listening on port 7080, which should run 2 different virtual hosts called atp.decodon.com and ughagh.com. In the ZopeDB the files for the atp.decodon.com are located in the root-folder / - and the files for ughagh.com are located in a subfolder called /play/Test. In the root-Folder /, there sits a virtualhostmonster. An Apache serves as a Proxy with the following Configuration: <VirtualHost 172.31.1.7:80> ServerName ughagh.com ServerAdmin webmaster@decodon.com ProxyPass / http://localhost:7080/VirtualHostBase/http/ughagh.com:80/play/Test/VirtualHo... ProxyPassReverse / http://localhost:7080/VirtualHostBase/http/ughagh.com:80/play/Test/VirtualHo... </VirtualHost> <VirtualHost 172.31.1.7:80> ServerName atp.decodon.com ServerAdmin webmaster@decodon.com ServerAlias atp.decodon.com www.atp.decodon.com ProxyPass / http://localhost:7080/VirtualHostBase/http/atp.decodon.com:80//VirtualHostRo... ProxyPassReverse / http://localhost:7080/VirtualHostBase/http/atp.decodon.com:80//VirtualHostRo... </VirtualHost> So far, everything works fine, EXCEPT: when i am in ughagh.com, which is actually a subfolder of atp.decodon.com, i can move up the directory tree, to the files which are supposed to be seen only from atp.decodon.com... (I can do this, simply by entering an existing Filename of one of the upper Directories) Now, i am asking anyone who knows about this, how (by which Product or whatever) i can stop anyone moving up the directory-tree to the files which should belong to the domain atp.decodon.com. Being quite a Newbie, i would appreciate help, which is understandable by a partial zope-dumb. Thanx, in advance!! Chr.! PS: I also tried to edit the VirtualHostMonster, but it didn't help!
On Mon, Oct 08, 2001 at 02:46:13PM +0200, Christoph Folberth wrote:
So far, everything works fine, EXCEPT: when i am in ughagh.com, which is actually a subfolder of atp.decodon.com, i can move up the directory tree, to the files which are supposed to be seen only from atp.decodon.com... (I can do this, simply by entering an existing Filename of one of the upper Directories)
If they're really supposed to be separate sites, why not place them at the same level in the ZODB tree, instead of nesting one inside the other? That's how I did all mine. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
participants (2)
-
Christoph Folberth -
Mike Renfro