Can you make an alternate folder the default?
This is probably a stupid question but once again, I haven't been able to find the answer myself. I've been doing everything in root. I don't want to have to specify the sub-folder name in the URL. Right now, they can to go http:\\EIS and it takes them to the index_html object tin the root folder. I ended up having to move everything into a subfolder in order to get the LDAP authorization working. Now I have a sub folder called EFS so to get to my application, the users need to go to http:\\EIS\EFS. Is there any way to make a sub-folder the default point for the URL? In other words, if you go to http:\\EIS\xxx can Zope look in the EFS sub-folder for xxx?
Hi Joe, Joe Goldthwaite wrote:
Is there any way to make a sub-folder the default point for the URL? In other words, if you go to http:\\EIS\xxx can Zope look in the EFS sub-folder for xxx?
I guess you could use a redirect, but if you need this sort of control I'd recommend running Zope behind Apache and using the VirtualHostMonster to manage your URLs. This would enable you to set up any number of arbitrary folders in Zope as separate hosts. This may seem a sledgehammer to crack a nut, but I think it's the right tool for the job - it's just unusual to only need to do this with a single folder. -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 "The lyf so short, the craft so long to learne" - Chaucer
Hi Joe, Joe Goldthwaite wrote:
Is there any way to make a sub-folder the default point for the URL? In other words, if you go to http:\\EIS\xxx can Zope look in the EFS sub-folder for xxx?
Sorry, forgot to say (in fact, just plain forgot!) - you can use VHM /without/ Apache - see: - http://www.plope.com/Books/2_7Edition/VirtualHosting.stx#3-17 HTH! -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 "The lyf so short, the craft so long to learne" - Chaucer
participants (2)
-
Joe Goldthwaite -
Philip Kilner