Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
external communication to modules folder
djmerlyn
Jamroom Ustad


Joined: 18 Dec 2003
Posts: 13497
Location: Behind You

Posted: 01/25/09 09:20 
Maybe a dumb question...

Is there something preventing 3rd party external applications from communicating with scripts in the modules folder?

I get a 403 error (permission denied) from 3rd party applications sending data OTW to the modules folder, but I'm not seeing anything wrong really. I don't see a .htaccess file in there and don't really see anything else that could be blocking it and the permissions are good. The only other thing I can think of is if the seourls script is catching and rewriting the incoming request to a bogus location, but removing it doesn't fix it either.

Thanks for any thoughts on angles to try attacking this from.

*not sure if it matters, but its using SOAP/Java/XML


_________________
Pro JR Hosting, now 50% off!
-100% Guaranteed

"more server and network power than any host, dedicated to your jamroom site"
Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 01/25/09 10:40 
Make sure the PHP script you are trying to communicate with does not have this at the top:


Code

defined('IN_JAMROOM') or exit;


That will prevent it from working.

Hope this helps!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
djmerlyn
Jamroom Ustad


Joined: 18 Dec 2003
Posts: 13497
Location: Behind You

Posted: 01/25/09 11:27 
Bingo, thanks!


_________________
Pro JR Hosting, now 50% off!
-100% Guaranteed

"more server and network power than any host, dedicated to your jamroom site"
Back to top
djmerlyn
Jamroom Ustad


Joined: 18 Dec 2003
Posts: 13497
Location: Behind You

Posted: 01/25/09 11:46 
One more question if I may.

I want to store a user/pass combo in the db so that it doesn't need to be defined in the script, and save a user some hassle of editing files. Is there a way to store it in a hash, but retrieve it and convert it to plain text for the OTW commands? I remember the original password hash for JR could do this, but its not there anymore.

Thanks


_________________
Pro JR Hosting, now 50% off!
-100% Guaranteed

"more server and network power than any host, dedicated to your jamroom site"
Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 01/25/09 18:36 
You would use the "genc" function:

http://www.jamroom.net/Function_genc

Hope this helps!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
djmerlyn
Jamroom Ustad


Joined: 18 Dec 2003
Posts: 13497
Location: Behind You

Posted: 01/26/09 00:19 
That is the old one isn't it? Not sure how I missed that, thanks!


_________________
Pro JR Hosting, now 50% off!
-100% Guaranteed

"more server and network power than any host, dedicated to your jamroom site"
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.