Skip to main content
Topic: NWC files on web page: Netscape (Read 4708 times) previous topic - next topic

NWC files on web page: Netscape

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 problem

My Server swears that he followed the instructions in faq #94

As 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?

Re: NWC files on web page: Netscape

Reply #1
Here's my complete .htaccess file:

AddType application/x-nwc nwc

I 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

Re: NWC files on web page: Netscape

Reply #2
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.

Re: NWC files on web page: Netscape

Reply #3
According to the Apache docs:

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.

Re: NWC files on web page: Netscape

Reply #4
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.

Re: NWC files on web page: Netscape

Reply #5
(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.

Re: NWC files on web page: Netscape

Reply #6
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 >):

ftp
open <your.domain>
<user>
<password>
lcd <directory-with-htaccess-file-on-your-pc>
cd <your-web-directory>
put .htaccess
dis
quit

Re: NWC files on web page: Netscape

Reply #7
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.

 

Re: NWC files on web page: Netscape

Reply #8
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.