Your best friend for file transfer.Fetch
iWeb and Fetch help (5 posts)
- Started 7 years ago by lsdobson
- Latest reply 7 years ago from lsdobson
So, I created a website a while ago. It was up and running and working wonderfully. However, it didn't look very good. I have a mac, so I started using iweb and decided that I liked the appearance of their pre-made webpages much more. So, I got onto Fetch, and deleted the old stuff (select all and delete, since that is what the computer technician with me told me to do.) Once I published to a folder and moved that to Fetch, I checked and the site isn't coming up. It gives me the error
DIRECTORY LISTING DENIED
The virtual directory does not allow contents to be listed.
From reading previous posted topics, I have investigated what type of folder the server needs. Since everything was deleted, I made a fold index.htm, like the server said the website needed. So I moved all of the files into the newly created folder, and the same error is coming up.
Thank you so much!
Scott McGuire Administrator
Unfortunately, "index.htm" is almost certainly not what you should name a folder to hold your webpages. Folders almost never have extensions (that is, a period followed by a filetype); I have never heard of a server where "index.htm" was the name of the folder to put your webpages in. So I think that's the first problem.
If your server did not already have a special folder to put your webpages in, then probably you do not need a special folder, and the webpages should be uploaded directly to your home folder on the server, instead of being put inside a folder.
The most common problem when trying to upload pages created with iWeb is that for your website to work correctly once you upload it, after you publish your website to a folder, you need to upload the contents of the folder - but not the folder itself - to your server. My guess is that was your original problem.
For example, let's assume your website is called "Family Trip", and when you use "Publish to a Folder," you tell iWeb to put its files in a folder called "My New Website."
Once iWeb is done, in the Finder you will see:
My New Website (folder)
Family Trip (folder)
Inside the "Family Trip" folder will be folders and files corresponding to each page of your website.
For your website to work correctly, you must be sure to upload both that index file, and the website folder - that is, upload the entire contents of the "My New Website" folder, but don't upload the "My New Website" folder itself. And upload them to your home folder on the server, do not put them inside another folder.
It may be best to delete the files (including the "index.htm" folder) that you've already uploaded to the server and start fresh before trying again.
WAHOO! That worked! Thank you so much!!
I do have one more question though. The first time I type in the url, my old website comes up. Once I hit refresh, the new one shows up perfectly. Is there anything I can do to make the new site be the first and only one to appear?
Scott McGuire Administrator
You're welcome - I'm glad that helped.
I suspect that your old website really is truly gone, and seeing it when you type in your URL is a temporary phenomenon - your browser has "cached" an old version of it on the Mac's hard drive, and refreshing causes the browser to realize it's showing out of date files and go reload the real files from the Internet.
I would do the following, assuming you are using Safari:
* In Safari, go to the Safari menu, and choose Empty Cache.
* Safari will ask you if you're sure. Click the Empty button.
* Type your website's URL. The new website should appear on the very first try.
If you are still seeing the old site even after doing this, let us know and we can investigate further.
That worked like a charm!!
Thank you so very very much!
- Page 1