Re: Shared databases
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52647
interpreted = N
texte = oops, I hit send accidentally before I finished...I think that the way to use one set of databases and have access to themfrom all your sites is by using symbolic links. This is similar to what youwere trying to do with aliases, but my guess is that you were creating thealiases in the Finder, which will not work.There are 2 types of aliases under OS X the first kind are theones created in the finder interface, this do not work properly. The secondkind are symbolic links which are accessed through the terminal application.The general format of the command is:ln -s /fullpath/RealFolderName /fullpath/aliasFolderNameNote: this can be done as root or the actual user as long as they havepermission to both the source and destination.Maybe someone else can confirm that this is right approach, but I *think* itis what you want.Hope this helps,BrianOn 9/3/03 5:03 PM, "Frank Nordberg"
wrote:> I'm working on a couple (about 15-20) of small sites on a Mac running OS> X/Webstar/WebDNA 4.> Some of the databases the sites use are identical, but I can't find a> way to get them to access the same *copy* of the base.> > I first tried a system with one folder for each site and one for the> databases like this:> > my_root_folder> |> +---database_folder> |> +---site1> |> +---site2> |> +---site3> > but that didn't work. WebDNA simply wouldn't follow paths upwards in the> hierarchy beyond the root folder for each separate site/domain name.> > Then I tried putting an alias of the database folder inside each "site> folder", but I still got nothing but "database not found" error messages.> > The solution right now is to keep a separate copy of each database for> each site, and that isn't a good solution, of course. Besides, it's> really annoying that something that ought to be very simple turns out to> be absolutely impossible to do!> > Anybody got a good idea?> > > Frank Nordberg> http://www.musicaviva.com> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/> -- Brian Wachter5 Moulton StreetPortland, ME 04101bwachter@stoneport.com207.772.3826-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
oops, I hit send accidentally before I finished...I think that the way to use one set of databases and have access to themfrom all your sites is by using symbolic links. This is similar to what youwere trying to do with aliases, but my guess is that you were creating thealiases in the Finder, which will not work.There are 2 types of aliases under OS X the first kind are theones created in the finder interface, this do not work properly. The secondkind are symbolic links which are accessed through the terminal application.The general format of the command is:ln -s /fullpath/RealFolderName /fullpath/aliasFolderNameNote: this can be done as root or the actual user as long as they havepermission to both the source and destination.Maybe someone else can confirm that this is right approach, but I *think* itis what you want.Hope this helps,BrianOn 9/3/03 5:03 PM, "Frank Nordberg" wrote:> I'm working on a couple (about 15-20) of small sites on a Mac running OS> X/Webstar/WebDNA 4.> Some of the databases the sites use are identical, but I can't find a> way to get them to access the same *copy* of the base.> > I first tried a system with one folder for each site and one for the> databases like this:> > my_root_folder> |> +---database_folder> |> +---site1> |> +---site2> |> +---site3> > but that didn't work. WebDNA simply wouldn't follow paths upwards in the> hierarchy beyond the root folder for each separate site/domain name.> > Then I tried putting an alias of the database folder inside each "site> folder", but I still got nothing but "database not found" error messages.> > The solution right now is to keep a separate copy of each database for> each site, and that isn't a good solution, of course. Besides, it's> really annoying that something that ought to be very simple turns out to> be absolutely impossible to do!> > Anybody got a good idea?> > > Frank Nordberg> http://www.musicaviva.com> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/> -- Brian Wachter5 Moulton StreetPortland, ME 04101bwachter@stoneport.com207.772.3826-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Brian Wachter
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:
WebCatalog [FoundItems] Problem - AGAIN - (1997)
PCS Frames (1997)
Anyone get webdna to run on apache 2.x on osx? (2006)
[SearchString] problem with [search] context (1997)
Banners and sort of random display (1997)
I have troubles to send message out (1998)
[isfile] ? (1997)
Include a big block of text (1997)
Location of Browser Info.txt file (1997)
Wanted: Broader string manipulation functions (1997)
unusual search problem (1998)
WebCat for Unix?? (1997)
back button loses cart (2000)
WebCatalog for Postcards ? (1997)
ShowNext (1997)
Price characteristics? (1997)
Emailer (WebCat2) (1997)
RE: WebDNA-Talk searchable? (1997)
2.0 Info (1997)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)