MEMORIAL DAY SALE: Save 15% on ALL BlackBerry Accessories! Use Coupon Code MEM12.
Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Theme Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 02-14-2009, 12:13 PM
CrackBerry Abuser
Device(s): 9630 (Tour)
Carrier: Verizon
Pin: STACK
 
Join Date: Dec 2008
Posts: 195
Likes Received: 0
Thanked 0 Times in 0 Posts
Default .htaccess file to host OTA files

In case this hasn't been clarified, for Unix/Linux servers hosting OTA downloads, this .htaccess file needs to be in the same directory as the .jad and multiple .cod files:

.htaccess file content:

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod cod

Remember to upload .htaccess, .jad and .cod files in Binary FTP mode.

Provide a link or an ability to click on the .jad file to initiate the OTA download via the BB's browser.
__________________
* * * * * * * * * * *
Storm themes (9): Message-centric today carbon fiber theme & thread

Last edited by Jubz; 02-14-2009 at 12:37 PM.
Reply With Quote Tip this Post
  #2  
Old 02-15-2009, 01:10 PM
CrackBerry Genius
Device(s): 9930
Carrier: Big Red
Pin: TBA
 
Join Date: Feb 2009
Posts: 1,649
Likes Received: 5
Thanked 14 Times in 10 Posts
Default

Very useful for someone who doesn't know how to host.
Reply With Quote Tip this Post
  #3  
Old 02-16-2009, 08:56 PM
CrackBerry User
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Oct 2008
Posts: 14
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Thanks, I didn't know how to host
Reply With Quote Tip this Post
  #4  
Old 02-26-2009, 08:12 PM
CrackBerry Abuser
Device(s): 9530 (Storm)
Carrier: Verizon
 
Location: Yonkers, NY
Join Date: Dec 2008
Posts: 335
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

I tried this and every time I click on the link for the OTA it says file not found. that's real weird. The link point exactly to the .jad file.
__________________
James

http://www.corpnetsolutions.com

BB #1 Got wet while in pocket
BB #2 Battery issues
BB #3 Battery issues again
BB #4 So far so good

Blackberry 9530 Storm
v4.7.0.148
?VZW?
Reply With Quote Tip this Post
  #5  
Old 02-26-2009, 08:26 PM
CrackBerry Genius
Device(s): 9930
Carrier: Big Red
Pin: TBA
 
Join Date: Feb 2009
Posts: 1,649
Likes Received: 5
Thanked 14 Times in 10 Posts
Default

did u put all the .cod files in the same folder with the jad?
__________________

*** Blackberry Theme Lab ***
Icons, Tutorials, OTA Hosting and more!
FOLLOW US: Twitter | Facebook
Want to chat??? PIN: 32A439D7
I LOVE MY PLAYBOOK!!!
Reply With Quote Tip this Post
  #6  
Old 02-26-2009, 09:00 PM
CrackBerry Abuser
Device(s): 9530 (Storm)
Carrier: Verizon
 
Location: Yonkers, NY
Join Date: Dec 2008
Posts: 335
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by b15ginz View Post
did u put all the .cod files in the same folder with the jad?
Yes I did, it seems like it can't even find the .jad file to get it started and I have the exact link pointing to it.
__________________
James

http://www.corpnetsolutions.com

BB #1 Got wet while in pocket
BB #2 Battery issues
BB #3 Battery issues again
BB #4 So far so good

Blackberry 9530 Storm
v4.7.0.148
?VZW?
Reply With Quote Tip this Post
  #7  
Old 03-10-2009, 08:41 PM
CrackBerry Abuser
Device(s): 9530 (Storm)
Carrier: Verizon
 
Location: Yonkers, NY
Join Date: Dec 2008
Posts: 335
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

BTW mine is working now with no problems.
__________________
James

http://www.corpnetsolutions.com

BB #1 Got wet while in pocket
BB #2 Battery issues
BB #3 Battery issues again
BB #4 So far so good

Blackberry 9530 Storm
v4.7.0.148
?VZW?
Reply With Quote Tip this Post
  #8  
Old 03-22-2009, 01:02 AM
CrackBerry Abuser
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Nov 2008
Posts: 138
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Does this work with godaddy?

also, how do i make that .htaccess file?

Thanks!
Reply With Quote Tip this Post
  #9  
Old 03-22-2009, 01:05 AM
CrackBerry Master
Device(s): 9630 (Tour)
Carrier: Verizon
Pin: Black GSD
 
Join Date: Jan 2009
Posts: 1,007
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Jubz View Post
In case this hasn't been clarified, for Unix/Linux servers hosting OTA downloads, this .htaccess file needs to be in the same directory as the .jad and multiple .cod files:

.htaccess file content:

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod cod

Remember to upload .htaccess, .jad and .cod files in Binary FTP mode.

Provide a link or an ability to click on the .jad file to initiate the OTA download via the BB's browser.
Well the .htaccess file, in my experience, does not need to be added to the folder for the OTA to work.

I think the most important thing is for the cod file to be less than 60kb
__________________
Need a host for your Apps, send me a PM!
Reply With Quote Tip this Post
  #10  
Old 03-22-2009, 02:19 AM
CrackBerry User
Device(s): 8900 (Curve)
Carrier: T-Mobile
 
Join Date: Feb 2009
Posts: 50
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Right now i just tried to add that to my .htaccess file and it created a Internal Server Error.

And after talking to technical support, they said there has to be some MIMES? Or something like that after each one.

Can anyone help me out with this?

Thanks in advance!
Reply With Quote Tip this Post
  #11  
Old 03-22-2009, 02:22 AM
CrackBerry Master
Device(s): 9630 (Tour)
Carrier: Verizon
Pin: Black GSD
 
Join Date: Jan 2009
Posts: 1,007
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

You need to add these MINES:
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod cod
__________________
Need a host for your Apps, send me a PM!
Reply With Quote Tip this Post
  #12  
Old 03-22-2009, 02:44 AM
CrackBerry User
Device(s): 8900 (Curve)
Carrier: T-Mobile
 
Join Date: Feb 2009
Posts: 50
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Ok i just went back to live support and this is what the guy is telling me. Im the black font and the support guy is the blue font:

Quote:
Aaron [3:37:38 AM]: One more thing, when i talked to you earlier you mentioned i need to add MINES after each thing in the .htaccess
Aaron [3:38:12 AM]: The users on crackberry.com were saying that those are the MINES
Nithin T. [3:38:18 AM]: mime entries
Aaron [3:38:59 AM]: Woops, thats what i meant.
Nithin T. [3:39:01 AM]: AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod.cod

Aaron [3:39:15 AM]: All of them on there said this is all i needed.
Aaron [3:39:18 AM]: .htaccess file content:

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod cod
Nithin T. [3:39:27 AM]: You would have to follow each mime type by a file extension
[3:39:41 AM]: file extension start with a period
[3:39:49 AM]: I think jad would be .jad
[3:40:08 AM]: jar to .jar etcetera
Reply With Quote Tip this Post
  #13  
Old 03-22-2009, 12:58 PM
CrackBerry User
Device(s): 8900 (Curve)
Carrier: T-Mobile
 
Join Date: Feb 2009
Posts: 50
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

I just tried it again, and maybe im not doing it right?

I just copy and paste that into the .htaccess file right?
Reply With Quote Tip this Post
    Thread Author   #14  
Old 03-22-2009, 01:51 PM
CrackBerry Abuser
Device(s): 9630 (Tour)
Carrier: Verizon
Pin: STACK
 
Join Date: Dec 2008
Posts: 195
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Jubz View Post
In case this hasn't been clarified, for Unix/Linux servers hosting OTA downloads, this .htaccess file needs to be in the same directory as the .jad and multiple .cod files:

.htaccess file content:

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod cod

Remember to upload .htaccess, .jad and .cod files in Binary FTP mode.

Provide a link or an ability to click on the .jad file to initiate the OTA download via the BB's browser.
Yes, copy the above 3 lines and paste into Notepad or other SIMPLE text editor (not a word processor) and name the file: .htaccess

That is the exact content of my .htaccess file which has been uploaded to my webhost running Unix/Linux. Don't forget about the Binary FTP mode for uploading your .htaccess and .jad/.cod files.
__________________
* * * * * * * * * * *
Storm themes (9): Message-centric today carbon fiber theme & thread

Last edited by Jubz; 03-22-2009 at 01:55 PM.
Reply With Quote Tip this Post
  #15  
Old 03-22-2009, 03:59 PM
CrackBerry User
Device(s): 8900 (Curve)
Carrier: T-Mobile
 
Join Date: Feb 2009
Posts: 50
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Jubz View Post
Yes, copy the above 3 lines and paste into Notepad or other SIMPLE text editor (not a word processor) and name the file: .htaccess

That is the exact content of my .htaccess file which has been uploaded to my webhost running Unix/Linux. Don't forget about the Binary FTP mode for uploading your .htaccess and .jad/.cod files.
Awesome!
I got it to work. I think it had something to do with me trying to upload them on my mac.. because as soon as i started parallels and used windows xp.. its working!

Thanks Jubz
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   .htaccess file to host OTA files

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes