NWC files on web page: Netscape 2003-04-10 03:21 am Continuing to have problems with nwc files on my webpage, when viewed through Netscape (as opposed to Internet Explorer). I notice that Cyberhymnal and some of the other featured links have the same problemMy Server swears that he followed the instructions in faq #94As a question: the Faq indicates that .htaccess file is to have an addition of "AddType application/x-nwc nwc". On another site explaining .htaccess, I noticed that the syntax added a period before the final file extension (e.g. the syntax would be "AddType application/x-nwc .nwc").Could that be a problem? Quote Selected
Re: NWC files on web page: Netscape Reply #1 – 2003-04-10 04:31 am Here's my complete .htaccess file:AddType application/x-nwc nwcI keep it in the directory where I have my Noteworthy files, and it seems to work. You can check it out, if you like, at http://www.emeraldimp.com/home/music/files.php . If you can, I would suggest that you stick your own .htaccess file in there yourself, and see if that works.I noticed the same problem on the cyber-hymnal. I'll try to email them about it.Geoff Quote Selected
Re: NWC files on web page: Netscape Reply #2 – 2003-04-10 05:06 am Hmmm. Sounds as though the "." doesn't make a difference.I also tried to add an .htaccess file to both my root and my subdirectory containing my nwc files. Unfortunately, I have FrontPage. Would not let me rename the file to simply ".htaccess".Used to have access to an ftp site for my site. Apparently need to reseek that option. Might be able to upload that way. Quote Selected
Re: NWC files on web page: Netscape Reply #3 – 2003-04-10 01:00 pm According to the Apache docs:http://httpd.apache.org/docs/mod/mod_mime.html#addtype"The extension argument is case-insensitive, and can be specified with or without a leading dot."Windows does not like filenames that start with a dot, so they can prove difficult to create. You can use the existing file contained in this ZIP package. Simply extract its contents into your web folder. You should then be able to edit the file with a text editor.Other FrontPage users have also reported difficulty with adding htaccess directives in the root folder of their site. Apparently, FrontPage takes control of the .htaccess file in the root of a web site. In this case, try keeping your NWC files in a sub-folder, along with the .htaccess file. Quote Selected
Re: NWC files on web page: Netscape Reply #4 – 2003-04-10 06:30 pm Thanks for the file. I had finally been able to rename the htaccess file to .htaccess using the old "ren" utility through DOS and had inserted it into my nwc subfolder per the helpful suggestions. Unfortunately, can only get it as far as my hard drive version of my web site. Can't seem to copy it into my actual web by publishing thorough FrontPage or by drag/clicking through explorer (even though I can access the website via password through that route as well). Windows just does not like files without something in front of the ".".Might see if I can access my web via the dos prompt (maybe I can map it?). Also will ask my server to restore ftp permissions so I can try to upload that single file via use of ftp/chmod or the like. Will let you know if I get a solution in case others have similar problems. Quote Selected
Re: NWC files on web page: Netscape Reply #5 – 2003-04-10 07:49 pm (1) To create the .htaccess file, with the dot, on Windows 98 or XP: Search the Internet for a free utility called "programmer's file editor" possible known as PFE32. It will allow you save your file with the dot in front, and without adding its own extension.(2) For file uploading, with the dot: Instead of uploading via Front Page, get your hands on "WS_FTP LE" the free (for noncommerical use) version of a well-known FTP utility.Works for me. Quote Selected
Re: NWC files on web page: Netscape Reply #6 – 2003-04-10 08:19 pm Windows also includes its own command line interface FTP program. You might be able to use it. For example, from the command prompt, the following shows what to type (you enter info enclosed between < and >):ftpopen <your.domain><user><password>lcd <directory-with-htaccess-file-on-your-pc>cd <your-web-directory>put .htaccessdisquit Quote Selected
Re: NWC files on web page: Netscape Reply #7 – 2003-04-10 10:28 pm Search the Internet for a free utility called "programmer's file editor" possible known as PFE32.Wow, neat! Another PFE fan! ;-)Click on the link to go to what's left of the PFE homepage. I think that's probably the prime candidate for most austere web page in existence. (Well, almost. He'd have to dump the background to win that distinction.)One warning: it doesn't like whitespaces in directory or file names. Quote Selected
Re: NWC files on web page: Netscape Reply #8 – 2003-04-22 12:33 am Just a quick finale to this. Finally got the info necessary to ftp to my site. Moved the .htaccess into the subdirectories containing my nwc files. Works like a charm. The viewer works fine now in Netscape.Thanks for all for their help and patience. Quote Selected