Web*3 virtual hosting Webcatalog problem
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16990
interpreted = N
texte = I was testing Web*3 with Webcat 2.1 and 2.1.1, and came across a potentialproblem.With a virtual host of www2.tfaw.com and a server name of www2.dhorse.com,the root folder of the tfaw domain is /-tfaw, which I defined in the Web*Virtual Hosts plugin.The problem is that not only do html pages assume this new root, but Webcatnow uses this root directory as well. So if I have a database located at/DB/file1.db, then [LOOKUP db=/-tfaw/db/Holding.db&...] is accessible fromthe dhorse domain, but not from the tfaw domain. The error message isDatabase /-tfaw/db/Holding.db not found with the virtual root being/-tfaw/, thus causing an extra /-tfaw/ in the path).This behavior differs from previous version of Web* used in combinationwith a VDM plugin such as Firesite, where all webcat file references wererelative to the main Webstar root. Firesite also cleans the redundantdirectory names as an added bonus.So my questions are:1) Is the intended Webcat behavior to use virtual root folders for FILEreferences defined by the Web* Virtual Hosts plugin?2) If so, why does it behave differently with Firesite 2.3d4 and Web* 3(Webcat uses a single root folder, /)?3) Using the Web*VH plugin, I am assuming that sharing databases, files,and the Webcatalog folder between virtual hosts may only be achieved bynesting folders or by using aliases. Is this correct, or am I missingsomething?4) What is the current data on how much overhead is caused by using aliasesto either files or folders in Webcat and Webstar?I'm not terribly excited about rearranging all our databases (andreferences to them!) into a 3-level nested configuration to allow databasesharing between all our sites and ssl, so I think I would be stuck withaliases in this case.Unless I just stick with Firesite where everything works as it did before,as soon as the dev version stabilizes a bit and stops spewing 200mb debuglogs.Comments anyone?Thanks,Dale ________________________ ______________________________| Dale LaFountain | mailto:dalel@dhorse.com || MIS Director,WebMaster | web: http://www.dhorse.com/ || Dark Horse Comics, Inc.|Phone: 503-652-8815 x324 |\________________________|______________________________/
Associated Messages, from the most recent to the oldest:
I was testing Web*3 with Webcat 2.1 and 2.1.1, and came across a potentialproblem.With a virtual host of www2.tfaw.com and a server name of www2.dhorse.com,the root folder of the tfaw domain is /-tfaw, which I defined in the Web*Virtual Hosts plugin.The problem is that not only do html pages assume this new root, but Webcatnow uses this root directory as well. So if I have a database located at/DB/file1.db, then [LOOKUP db=/-tfaw/db/Holding.db&...] is accessible fromthe dhorse domain, but not from the tfaw domain. The error message isDatabase /-tfaw/db/Holding.db not found with the virtual root being/-tfaw/, thus causing an extra /-tfaw/ in the path).This behavior differs from previous version of Web* used in combinationwith a VDM plugin such as Firesite, where all webcat file references wererelative to the main Webstar root. Firesite also cleans the redundantdirectory names as an added bonus.So my questions are:1) Is the intended Webcat behavior to use virtual root folders for FILEreferences defined by the Web* Virtual Hosts plugin?2) If so, why does it behave differently with Firesite 2.3d4 and Web* 3(Webcat uses a single root folder, /)?3) Using the Web*VH plugin, I am assuming that sharing databases, files,and the Webcatalog folder between virtual hosts may only be achieved bynesting folders or by using aliases. Is this correct, or am I missingsomething?4) What is the current data on how much overhead is caused by using aliasesto either files or folders in Webcat and Webstar?I'm not terribly excited about rearranging all our databases (andreferences to them!) into a 3-level nested configuration to allow databasesharing between all our sites and ssl, so I think I would be stuck withaliases in this case.Unless I just stick with Firesite where everything works as it did before,as soon as the dev version stabilizes a bit and stops spewing 200mb debuglogs.Comments anyone?Thanks,Dale ________________________ ______________________________| Dale LaFountain | mailto:dalel@dhorse.com || MIS Director,WebMaster | web: http://www.dhorse.com/ || Dark Horse Comics, Inc.|Phone: 503-652-8815 x324 |\________________________|______________________________/
Dale LaFountain
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Emailer setup (1997)
Re[2]: Enhancement Request for WebCatalog-NT (1996)
Date Search (2004)
WebDNA Promo Sound Bite (2003)
Extracting URL (2007)
unable to launch acgi in WebCat (1997)
Append database (1999)
Processing all html files through WebCat or Typhoon (1998)
WebCatalog can't find database (1997)
cart (1997)
Running subtotal? (1998)
multi-paragraph fields (1997)
Cookies and webcat (1997)
Bug Report, maybe (1997)
(2000)
Associative lookup style? + bit more (1997)
emailer settings and control questions (1997)
Replacing a Word (1999)
Pithy questions on webcommerce & siteedit (1997)
Help! WebCat2 bug (1997)