"short" urls and multiple domain files

In http://discussions.apple.com/thread.jspa?threadID=655367&tstart=0,
Apnewbie said:
"If you have separate sites with separate Domain files and published separately to .Mac, they will be listed on your iDisk in alphabetical order and your short .Mac url will point to the one at the top of the list on the iDisk."
I'm thinking about splitting my domain file, as my sites are growing large and it is time consuming for iWeb to recreate all the pages when I've only changed one site. I'd like to keep a particular "site" (consisting of one page with links to my other "real" sites) at the top of the list so it is always what appears when folks go to my short url. Are than any non-alphanumeric characters that I can use at the begin that won't cause problems for browsers?
Does this mean that if my preferred "top site" is in domain file A and I publish domain file B after I've published domain A, the "top site" will still be the site at the short url?
Also, can somebody please remind me again how to use a link in the forums here but have text other than the full url show up? I think I've done it before, but I've forgotten.
iBook G4 14 in   Mac OS X (10.4.7)   iMac 400 MHz G3 OS 9.2.2

Apnewbie said:
"If you have separate sites with separate Domain
files and published separately to .Mac, they will be
listed on your iDisk in alphabetical order and your
short .Mac url will point to the one at the top of
the list on the iDisk."
I spoke too soon on this and a correction is needed. When you publish to .Mac using individual Domain files, your short url will point to the most recently published index.html file, which will then take you to your most recently published site. I tested this just prior to that last statement in that post and my browser cache tripped me up here.
I'm thinking about splitting my domain file, as my
sites are growing large and it is time consuming for
iWeb to recreate all the pages when I've only changed
one site. I'd like to keep a particular "site"
(consisting of one page with links to my other "real"
sites) at the top of the list so it is always what
appears when folks go to my short url. Are than any
non-alphanumeric characters that I can use at the
begin that won't cause problems for browsers?
I don't think that's necessary; you can keep a copy of the index.html file which points to your preferred site and place it back on your iDisk after publishing any site to force your short url to point to the site of your choice.
Does this mean that if my preferred "top site" is in
domain file A and I publish domain file B
after I've published domain A, the "top site"
will still be the site at the short url?
Again, the short url will point to the most recently published index.html file in .Mac. Sorry for the confusion.

Similar Messages

  • Multiple Domain files, Multiple Sites, Publishing Problems

    I am frustrated beyond belief. I'm an old hand-coder, coming from BBEdit, but I've been using iWeb almost exclusively since its release, because it really is a great product for quick, easy, stylish designs.
    However.... In that year, my collection of sites has grown to 12. Discovering that iWeb becomes a major dog when dealing with that much material, I found and followed the instructions - today - to separate my sites into individual domain files, and edit them individually. iWeb is much snappier and publishing goes much more quickly.
    The problem? Well... after editing, "Publish to .Mac" rarely works. Only "Publish All to .Mac" will get the site online (something about an error with the index.html file). But "Publish All to .Mac", I've just discovered, DELETES the other websites that I have previous published. All day I've been doing updates and publishing my sites, only to discover that the uploads have all been wiped out by the most recent one!
    I'm a big enough fellow to admit that my knowledge isn't total nor perfect - so please, would someone out there with a better handle on iWeb than I (preferably someone who actually deals with multiple domain files rather than someone who thinks they can guess the problem) please clue me into how we make use of this program non-destructively?
    I suppose I could always publish everything to folders and upload it to my iDisk (which itself remains ridiculously slow after how many years now? Sheesh!), but that detracts from the elegance of the .Mac integration, the counter features, - not to mention the little fact that I'm a paying .Mac customer and this darn thing should just work, no?

    Mark:
    I was where you were also. You should give iWebSites a try. It's to iWeb what iPhoto Library Manager is to iPhoto.
    I use iWebSites to manage multiple sites.. It lets me create multiple sites and multiple domain files.
    If you have multiple sites in one domain file here's the workflow I used to split them into individual site files with iWebSites. Be sure to make a backup copy of your Domain.sites files before starting the splitting process.
    This lets me edit several sites and only republish the one I want. Just remember to put a copy of your current Domain.sites file somewhere else on your HD in case the splitting gets messed up. It went very smoothly for me and I now manage 19 or so sites.
    Do you Twango?

  • Multiple Domain Files

    A lot of questions are asked in this forum about managing multiple domain files and splitting existing ones.
    The "solutions" seem to be either to use an application such as iWebsites or to duplicate the domain file into folders and delete the appropriate sites.
    When I first loaded iWeb '08, I kept a copy of a blank domain file and use this to start a new site by duplicating it into a new folder and double clicking it to launch iWeb.
    My main reason for doing this was to overcome the inability of iWeb to create a new domain file from the "File" menu.
    I have stayed with this, not only for speed and convenience, but because I read this...
    http://11mystics.com/blog/2007/09/08/how-do-you-manage-multiple-domain-files-for -iweb/
    and also this....
    http://discussions.apple.com/thread.jspa?messageID=6261141&#6261141
    These comments are from two people who dig deep under the hood of iWeb and whose opinions I respect and have taken to heart.
    Is this the best way to create new domain files?
    Am I being over cautious?
    Am I totally deluded?
    The last question is open to psycho therapists only !

    UUIDs are like finger prints in Domain.sites2. There are ways to start new Domain.sites2 without duplicate an existing one:
    1) move the last accessed Domain.sites(2) from its location, or rename the holding folder.
    2) change com.apple.iWeb.plist setting, I post the procedure here:
    http://discussions.apple.com/thread.jspa?messageID=6007612&#6007612
    This can be done with AppleScript or Unix shell script. Doing so will get you new Domain with new UUID.
    When you duplicate a blank domain, you also duplicate its UUIDs, as of now there seems to be OK as long as you keep domain separate. However, we do not know what Apple will do in the future releases, here is UUIDs usage progression in iWeb:
    We did not see much of them in iWeb1, because iWeb1 Domain.sites is flat structure.
    We see UUIDs everywhere in iWeb2 Domain.sites2, from top to bottom; every page has it own UUID.
    So, I would be skeptic about having duplicate UUIDs; even in separate domain packages.
    I ran a cross this when a friend asked me to merge his Domain.sites2 packages, and I thought people should be aware of it.
    I ended up write Applescript applications to merge, extract sites and clean existing Domain.sites2 package by assign new UUIDs.

  • How to bundle a .FLA and multiple .SWF files in one .EXE?

    Hi,
    I have a .FLA file which uses loadMovieNum() to load various
    .SWF files when each one is called by the user clicking on a
    button. Each .SWF file also uses loadMovieNum() to call a second
    .SWF file. When I publish the .FLA file as a .SWF file it all works
    beautifully.
    Now I need to package the entire project into a Windows
    projector .EXE file for offline use on a computer without the Flash
    Player. When I publish the main .FLA file as a .EXE file, the .SWF
    files still load, although they blink before fully loading and
    displaying steadily.
    What I would really like to do is to bundle all the .SWF
    files into the .EXE file so when I send the finished project to the
    end user, they only have to deal with one file, rather than a
    folder with the .EXE file and multiple .SWF files.
    Is there a way to do this?
    I am using Flash 8 Professional.
    Thanks,
    Cam

    Since this isn't going to be web-based, why not include all
    the external swf files into the same Flash file and then use
    attachMovie?
    This will allow you to create one .exe file that would
    contain EVERYTHING. Since you aren't worried about loading speeds,
    you don't have to load the movie clips, but can simply create one
    large Flash file.

  • Coldfusion webroot and multiple domain names

    Hi All -
    I am new to this multiple domain thing. Am working on a project, where there multiple domain projects under on webroot. Like www.abc.com, www.def.com under one root. The folder structure is something like below:
    E:
    webroot
        --INCLUDES
        --IMAGES
          --image.gif
          -- www.abc.com
             --folder1
               --index.cfm
          -- www.def.com
    So the above two diff domains share two common folders. When I use an include file of form .cfm, I can get it to work. But somehow the images are not displayed. I tried the following syntaxes
    Suppose I want to access images from index.cfm under www.abc.com/folder1, i tried the following:
    <img src="../../IMAGES/image.gif">(does not work)
    <img src="E:/webroot/IMAGES/image.gif) (also does not work. The image symbol is shown but the entire image is not shown).
    Any thoughts on how to get this working?

    It's probably important to shift your thinking a bit here.  Theer are two different "roots" here (well: three, if you're looking at a default IIS install):
    * CF root;
    * web site root;
    * a directory called wwwroot
    Looking at your example:
    webroot    --INCLUDES
        --IMAGES
          --image.gif
          -- www.abc.com
             --folder1
               --index.cfm
          -- www.def.com
    webroot (which I am guessing is your C:\inetpub\wwwroot dir) in this case is not your "web root", it's your CF root, by the looks of it.  And the directories www.abc.com and www.def.com are your web roots for those two sites.
    Confusion often arises here because when one configures CF, the CF root is often mapped to C:\inetpub\wwwroot (or the htdocs dir or whatever the web root is of the web server's default site), so it seems like there's just the one "web root".  But there isn't.
    So CF will look for resources in the CF root; the web server will look for resources in the web root of the site being served.
    In your example, the websites cannot access IMAGES, because that directory is not in the web root of the site.  As someone else has suggested, you need to add a virtual directory within the website to map to the IMAGES dir.
    You cannot use .. notation to navigate up the file system to "above" the web root, because as far as the web site is concerned, the www.abc.com dir is the ROOT directory.  IE: that's as far up the file system the site can access.
    The reason why you E:\[etc] path does not work is because that path is requested by the web browser, which is going to be on a completely different computer to where the E: drive is.  The path needs to be a URL.
    Adam

  • Consolidate multiple domain files

    Back in iWeb '08 I used the trick of swapping the domain.sites files for separate sites into iWeb's default folder. This would allow me to use .Mac for one, FTP for another, etc.
    Now that '09 supports these multiples methods, would anyone be able to help me merge them all into '09?
    Any help would be appreciated.

    You can use iWebSites to merge sites. However, be sure to have backups of all domain files until you're satisfied the merge went OK and you can edit and publish the sites satisfactorily.
    OT

  • IWeb 1.1(.1) and multiple Domain.sites

    There are (still) a lot of references to Domain.sites resides in ~/Library/Application Support/iWeb folder, this is no longer true with iWeb 1.1(.1).
    iWeb 1.1(.1) can handle multiple Domain.sites, and once you double click a Domain.sites outside of ~/Library/Application Support/iWeb folder, ~/Library/Application Support/iWeb folder is no longer needed (unless you double click the Domain.sites inside ~/Library/Application Support/iWeb folder, again).
    Once you double click a Domain.sites outside of ~/Library/Application Support/iWeb folder, you can move iWeb folder out of ~/Library/Application Support folder, and iWeb WON'T create another ~/Library/Application Support/iWeb folder.
    huh?

    iWeb 1.1.x multiple domains handling is quite low
    key, and for a good reason. Although, iWeb 1.1.x can
    handle multiple Domain.sites, however, there is no
    way (that I know of) to create a fresh Domain.sites
    from iWeb.
    Some one prove me wrong, please.
    Hmmmmm, I AM able to create a new Domain.sites file using iWeb 1.1.1; see this Apple support article:
    http://docs.info.apple.com/article.html?artnum=303670
    I've got a number of different sites that I had been keeping in different folders in a new folder that I named "Sites" that I kept where the default Domain.sites file was stored, i.e.,
    for "Site1": ~username/Library/Application Support/iWeb/Sites/Site1/Domain.sites
    for "Site2": ~username/Library/Application Support/iWeb/Sites/Site2/Domain.sites
    etc.
    Prior to version 1.1.1, when I'd open one of the Domain.sites files, iWeb would automatically create a Domain.sites file in the ~username/Library/Application Support/iWeb folder, then when I was done making changes to that file, I'd have to copy it back into the subfolder. Now with version 1.1.1, iWeb does NOT create a new file but rather just uses the Domain.sites file from where it is opened and makes that the new default location. To create a new site, just move this folder containing the Domain.sites file that iWeb now uses as the default to a different location and start iWeb by clicking on the iWeb application: you'll then get a new site. If the last opened Domain.sites file was in the username/Library/Application Support/iWeb folder, then moved to a different location, and then you open iWeb by clicking on the iWeb application, you will be prompted to either "Quit", "Create Domain…", or "Choose Domain…"; click "Create Domain…" and you'll then be asked to choose a location for a new Domain file; select a new location then iWeb opens with a new site.
    Hope I'm making sense.
    Bob
    20" iMac G5   Mac OS X (10.4.6)   1.8 GHz PowerPC G5; 1 GB RAM

  • I built a website, using iWeb.  I backed up daily with Time Machine and OS 10.6.  My HD crashed.  I replaced the HD and installed 10.5. But now I can't restore iWeb and my domain file. How do I restore my site files on the new drive?

    I obviously dont know how to use this forum...my question to the community seems to be the truncated phrase in the title block above..you can scroll thru it to see my whole question....basiclly,.my question is:  How do I restore my iWeb domain files which are kept in  user>library>applicationssupport>iWeb>domain in my Time Machine date listings...to a newly installed disc.  I had a disk crash, removed the failed drive and installed another. I then installed OS 10.5 (I didn't have a copy of my 10.6). Now I'm having difficulty figuring out how to get the iWeb files from the Time Machine external drive used with the 10.6 to the new drive running 10.5...any help muich appreciated....!!
    bob in St. Peters Nova Scotia...

    Go to to your Users/Home/Library/Application Support/iWeb folder in the Finder and then enter  Time Machine.  Go back to the last backup that has the domain file, select it and use the Restore button.
    OT

  • Time Machine and iWeb Domain file?

    I'm using Time Machine and am considering backup strategies for my 80 MB Domain file. I've excluded another program, Scrivener, from TM that creates 47 MB+ files. I've been saving the files manually to a thumb drive.
    What are you folks doing and does anyone know if iWeb is TM friendly?
    Why I exclude Scrivener from Time Machine
    47 MB x 5 backups = 234 MB a day. That's 1.65 GB per week! You can see how impractical this is, especially since I only writing 400-500 words a day. The same thinking applies to iWeb.

    Hi MJWeb,
    that's what I do for backing up my 500MB Domain file:
    http://alyeska.altervista.org/en/iWebBackupWebsite.html
    (read about Mozy)
    Regards,
    Cédric

  • Open a url and view the files with it's timestamp

    Hi guys,
    I need to create a flow service in SAP BC to connect to a server by it's url and display it's files with it's timestamps.
    I have never done this b4, and usinf SAP BC makes it harder for me.. Mostly I need to know how to access the server and view the files with their timestamp.
    Any guidance for me will be much appreciated.
    Thank u.

    Yes,
    It's like this. I will connect to an FTP server. Then I need to view the files it the server or folder i specify with their respective timestamps.
    I am using SAP BC and it's webMethods to create the JAVA flow service. I am only now familiarising myself with SAP BC.
    Moreover I have never done a coding to access a server and list it's file. I can do it o view in a local directory using JFrame aand stuff... But SAP BC doesn't support those..
    So If u can give me some guidelines to follow.. i would appreciate it.
    Here's what i have come up with so far
    public static final void ReadFileServer( IData pipeline ) throws ServiceException
    //define input variables
         IDataCursor idcPipeline = pipeline.getCursor();
         String path = null;
         path = (String)idcPipeline.getValue();
         // Check if url is in the pipeline
         if (idcPipeline.first("path"))
              File dir = new File(path);
              String filesFound[]=dir.list();
              long [] age;
              age = new long[filesFound.length];
              for (int i = 0; i < filesFound.length; i++)
                   age = new File(filesFound).lastModified();
              String temp = "";
              for (int i = 0; i < age.length - 1; i++)
                   for(int k = i+1; k < age.length ; k++)
                        if (age > age [k])
                        temp = filesFound;
                        filesFound = filesFound[k];
                        filesFound[k] = temp;
              for (int i = 0; i < filesFound.length; i++)
              //get url out of the pipeline
              path = (String)idcPipeline.getValue();
              //insert the FILES into the pipeline
              idcPipeline.insertAfter("filesFound", filesFound);
              idcPipeline.insertAfter("age", age);
         //If it is not in the pipeline ERROR
         else
         age = "False";
         idcPipeline.insertAfter("path", path);
         //insert the successFlag into the pipeline
         idcPipeline.insertAfter("age", age);
         //Always destroy cursors that you created
         idcPipeline.destroy();
    return;
    }

  • Sequence Grabber and multiple output file

    Hi,
    I'd like to use sequence grabber to capture video and save it to two files in the same time, one has better quality while another one has lower quality(high compression, low frame rate), is this possible? any samples? thanks.
    AC

    I love you guys!
    thanks alot!
    this makes life so much easier I'm about to cry.
    In article <3b2dbd1c$[email protected]>, [email protected]
    says...
    "denis krizanovic" <[email protected]> wrote in message
    news:[email protected]..
    >
    Can I write an XSLT stylesheet that will splinter a single xml into
    multiple HTML files?Yes. It is not part of the XSLT spec but extensions are sometimes available
    depending on xsl processors. (xalan, saxon..)
    is this something XSLT can do today? Specifically in WebLogic6 - Using
    the Xalan thingy.Yep. Right pick. Xalan can do it using the redirect extension
    See below. For more information look at the xalan doc or mailing list
    [email protected]
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    xmlns:lxslt="http://xml.apache.org/xslt"
    xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
    extension-element-prefixes="redirect">
    <!-- default output directory -->
    <xsl:param name="output.dir" select="'.'"/>
    <xsl:template match="/">
    <!-- doing some output on file1 -->
    <redirect:write file="{$output.dir}/file1.html">
    </redirect:write>
    <!-- doing some output on file2 -->
    <redirect:write file="{$output.dir}/file2.html">
    </redirect:write>
    </xsl:template>
    </xsl:stylesheet>
    Stéphane Bailliez
    Software Engineer, Paris - France
    iMediation - http://www.imediation.com
    Disclaimer: All the opinions expressed above are mine and not those from my
    company.

  • Same IP address and multiple domain names

    Hi all,
    Is it possible to have multiple domain names sharing the same IP address? For example, I want www.mydomain1.com, www.mydomain2.com, and www.mydomain3.com to share the same IP. Thanks.
    Mike Lam

    Thanks JavaApplet,
    but I'm still having the same problem,
    I have typed
    in both server.xml and apps-abc.xml and apps-123.xml:
    In server.xml:
    <Host Name= "www.abc.com" debug="0" appBase="webapps" unpackWARs="true">
    <Context path="/abc" doc="c:\Tomcat3.3a\webapps\abc" ...>
    </Context>
    </Host>
    <Host Name= "www.123.com.sg" debug="0" appBase="webapps" unpackWARs="true">
    <Context path="/123" doc="c:\Tomcat3.3a\webapps\123" ...>
    </Context>
    </Host>
    So in apps-abc.xml:
    <Host Name= "www.abc.com" debug="0" appBase="webapps" unpackWARs="true">
    <Context path="/abc" doc="c:\Tomcat3.3a\webapps\abc" ...>
    </Context>
    </Host>
    So in apps-123.xml:
    <Host Name= "www.123.com.sg" debug="0" appBase="webapps" unpackWARs="true">
    <Context path="/123" doc="c:\Tomcat3.3a\webapps\123" ...>
    </Context>
    </Host>
    but how come, the www.123.com.sg still doesn't work, it kept displaying the page cannot be found. It's very funny because if I typed www.abc.com/123/index.jsp, surprisingly the page can be displayed.
    This is a very tough problem for me and I have spent a long time troubleshooting this problem.
    Hope that some advice can be given ... thank a million
    Regards,
    Shirleen

  • LDAP and multiple domains

    Currently migrating to a new domain and is there anyway to configure LDAP to use both during the migration?... We've been able to use one or the other via redirecting the LDAP Configuration Wizard and our test users but they only work for a short time then fail.  I'm thinking there is a keep live period that expires, so is that a possiblity? reset the how long LDAP keeps currently populated users.

    It is not possible to configure Contract Management to connect \ integrate with more than one LDAP authentication server.
    This is an existing Enhancement Request:
    Bug 9724986         15    ABILITY TO ENTER MULTIPLE LDAP SERVERS FOR CONTRACT MANAGEMENT
    The Primavera Administrator only supports variables for a single authentication mode and authentication server.
    Reference: Note 913872.1 How To: Configure / Enable LDAP Authentication using the Primavera Administrator (admincm.cmd)
    This sounds like short term requirement, however, if you would like to be included on the related Enhancement Request, please create an SR to request your organization be added to the Enhancement Request.

  • Multiple sites and multiple domains

    I have upgraded to iLife 08 and successfully created a website using a domain with GoDaddy. Everything works great. But now my daughter wants to create her own website (she is a .mac member). How do I create 2 different websites that each have their own domain name? One site that uses my personal domain and a completely different site that uses .mac?

    Welcome to the Apple Discussions. Your daughter does have her own account on your Mac, right? If not I would create one for here so her .Mac is unique to her account and she will be using here own domain.sites2 file for her site and not have to worry about your site in the same file.
    If she already has a site in progress in iWeb, copy the domain.sites2 file from your User/Library/Application Support/iWeb folder into the same folder in her account. She can then open it with iWeb, delete your site and work on her site for publishing.

  • Dreamweaver and multiple flash files (xml)

    I am trying to add multiple flash image galleries on my
    website...most of these have xml files (usually named the same,
    "images.xml"). My problem is that I tried to put each gallery in
    its own folder to keep things organized; however, while the swf
    seems to work when you click to test it, it is not working on the
    webpage.
    My original flash gallery that has the xml file and swf file
    on the root of the site work fine. I guess if I had different named
    xml files it may work but I cannot figure out how to change that
    either. Please help!

    Here's a site with four flash slideshows... check their code
    and you will
    see four separate xml files and images for each slideshow in
    in their own
    separate folder
    "jl25" <[email protected]> wrote in message
    news:gmnb2p$1cu$[email protected]..
    >I am trying to add multiple flash image galleries on my
    website...most of
    >these
    > have xml files (usually named the same, "images.xml").
    My problem is that
    > I
    > tried to put each gallery in its own folder to keep
    things organized;
    > however,
    > while the swf seems to work when you click to test it,
    it is not working
    > on the
    > webpage.
    >
    > My original flash gallery that has the xml file and swf
    file on the root
    > of
    > the site work fine. I guess if I had different named xml
    files it may work
    > but
    > I cannot figure out how to change that either. Please
    help!
    >

Maybe you are looking for