Need Help!!
How can I set up a server so I can upload my mp3s and download them with my Blackberry 7130e.
I have webspace from my ISP where I can upload them, I uploaded my mp3s to my webspace but I keep getting this error: HTTP Error 406: Not Acceptable The page you are trying to load is not supported by the browser. Please try loading a different page. Then when I click on details: 200: Application can not accept the content [application/octet-stream] What am I doing wrong, I've never tried this before. Thanks. |
Need a .htaccess File
Quote:
You need to place a file in the folder/directory that you will be downloading from. It needs to be named ".htaccess", without the quotes. The contents are this: AddType text/vnd.sun.j2me.app-descriptor jad AddType application/vnd.rim.cod cod AddType application/java-archive jar AddType audio/adpcm adp Just use a text editor to create this file (Not Word, etc) and save it as a plain text file, then move it to the server. Note that many PCs will not show files like this because they are considered hidden so you may need to use an alternate name and then rename it once on the server with ftp software. A name like dot.htaccess is a suggestion for handling it on your PC. |
Quote:
|
If your computer is running windows xp pro, you could always install the IIS component of windows (server software). Then you would have your own server, under your own control, that you can share with others (the address so they can download your stuff also) if you want. I suggest you keep it private tho.
If you do this, read up first. If you are really new to computers, get some help from a friend so your server will be secure heh. |
Quote:
I would say that pretty good with computers, but I never played aroud with the IIS component, I have it installed, I guess I'll do some reading up on it and give it a try. |
Quote:
|
Create a file in notepad with the following text:
AddType text/vnd.sun.j2me.app-descriptor jad AddType application/vnd.rim.cod cod AddType application/java-archive jar AddType audio/adpcm adp Save the file locally, and call it whatever you want. Using an FTP client (or your ISP's web client if they offer it), upload the file to your server. Once uploaded, rename the file (including any existing extention) to .htaccess and be careful to name the file properly (note the leading period). As stated above, this is for LINUX/UNIX. |
Quote:
|
Quote:
If ya click the + by your computer name, then the + by websites, you will see "default website". You can use that if you want, just make sure to remove some of the help files like localstart.asp, thats just a help page. Also, you will want to run the iis lockdown tool, and the microsoft baseline security anylyzer, found respectively at: http://www.microsoft.com/downloads/d...1-FD755D23CDEC http://www.microsoft.com/downloads/d...displaylang=en Once you have that all setup, make a test page (just one line of text, for testing), label it index.htm, and put it into the folder for the website (default unless you changed it is c:\inetpub\wwwroot\). Then make sure you have any firewalls configured to allow http port 80, set the router if you have one to forward port 80 to your computer, and then try to view your webpage. To view it, open internet explorer, and type into it http;//your.ip.number.here (it should look like http;//123.456.789.123, purposly used a ; so it wont make a link) Then, you have to go back to the snap in (start>administrative tools>internet information services). Click the plus by the computer, the plus by websites. You will see "default website" (if you didnt rename it). Right click on default website (or whatever you named it) and choose "properties". On that window, along the top is some tabs. Look for the one that says "HTTP Headers". Click on that tab. Down near the bottom of that tab is a section that says "Mime map" and a button to the right that says "File types". Click that button. The little window that pops up, click on "New type". In the little window that pops up, on the top line, for file extension, put "adp" but WITHOUT QUOTES, and WITHOUT THE PERIOD! (not ".adp"!!) On the second line, without the quotes, put "audio/adpcm". Click ok, then ok, then ok, then ok (till all the windows are gone). Put a file you want on the blackberry into c:\inetpub\wwwroot\ then on the blackberry, put in the address in this format. http;//123.456.789.123/example.adp That will download the ringtone named "example.adp" from your server. EDIT: This is for a blackberry 710x series that uses adp ringtones. It will work for other types, but you have to add the appropriate mime types for the file type. ex: samsung phones use .mmf files. the mime type would be "mmf" "application/vnd.smaf". EDIT 2: You dont need webspace from your isp. Your webspace is your computer on this setup. No storage limits (like 10megs or whatever from the isp). If you are on residential service, they might not like the server, but if its just you on it, and dont keep an index.htm file (that way if someone hits your address, they get "page cannot be displayed") they wont notice. Make your page named something like bbtones.htm and go to it by typing in the blackberry "http;//123.456.789.123/bbtones.htm" |
Quote:
|
Just a question for you TheRinger, shouldn't I put router ip then my pc ip.
ex: http;//12.34.45.678/123.456.7.890/filename |
ISP Server versus Local OS
When we say to create a file to upload to your ISP server, and that its for Unix or Linux, we are saying that you ISPs servers need to be running Linux/Unix and not your local PC. It makes zero difference what your local PC is running- its the server software on your ISPs web servers.
Don't spend a whole day configuring your PC to be a server if you are not serving a web site off it. And especially if you're paying your ISP for that service! |
Quote:
His isp's webspace could be running who knows what for server software (linux, windows, etc) Quote:
You are 2 steps away. 1) in your router, look for port forwarding or filtering. you want it so anything on port 80 of the public ip that hits the router, gets directed at your computer. Ex: WAN IP in router 67,113.115.03 >forwards to> the pc on the network running the server 192,168.0.101 2) if this is windows xp, make sure an exception in the firewall allows port 80. If using another firewall instead, make sure it's port 80 is opened. Then you type in http;//your.public.ip.here that will get you to the index page you made and have in c:\inetpub\wwwroot\ Remember if you put in xxx.adp to directly download on the blackberry, without a page and link, would be http;//your.public.ip.here/xxx.adp |
Quote:
|
...or, you can send me the files and I'll post them to my BlackBerry storage space at http://if.5100bac.net/wp-bb if you like. At least that way you can make sure everything works before spending a huge amount of time setting up your ISP or IIS for this task.
|
he has iis 99% setup. he can view his pages localy on his network, but not ota or from the internet.
just port forwarding left to do |
All times are GMT -5. The time now is 09:42 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.