Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 15th, 2004, 03:23 AM
poncenby poncenby is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 67 poncenby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 34 m 3 sec
Reputation Power: 6
rss translator with Apache 2.0.49

Hello all,

Here's my setup...
- Apache 2.0.49 on XP Pro
- A html page which has an external link to a javascript file (RSS translator http://www.puuba.com/translator.html) located in root/scripts

When I view my html page running on the Apache server the javascript file does not seem to load, but when I load the html file using File->Open in Internet Explorer it displays a security message saying it is interacting with external sites is this ok? click yes and it works fine.

I am assuming that I need to do something in httpd.conf to allow scripts to execute and contact external websites?

Any ideas will be appreciated

poncenby

Reply With Quote
  #2  
Old April 15th, 2004, 11:43 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,966 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 47 m 51 sec
Reputation Power: 185
Quote:
Originally Posted by poncenby
I am assuming that I need to do something in httpd.conf to allow scripts to execute and contact external websites?

No, it is a browser security feature. You can (probably) disable it there, but you really should not.
JavaScript is (usually) not run server-side, so there is no server-side configuration options for it other than defining a way how to deliver them to the client.

hth,
M.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old May 6th, 2004, 07:41 AM
Noname1122 Noname1122 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 1 Noname1122 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile Easy Fix

Heh, I have the easiest solution...

Just copy that javascript to your own domain.
Problem solved; you dont have to snag cross-domain.

Coincidentally: That's my site and my script.
I sorta asked for everyone to do that anyway, to copy it to your own domain, for my own bandwidth.

Glad you found a use for it.

Reply With Quote
  #4  
Old May 7th, 2004, 04:09 AM
poncenby poncenby is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 67 poncenby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 34 m 3 sec
Reputation Power: 6
hello there, just an ickle bit of help needed...

I have copied the javascript file (translator.js) to my webserver but it doesn't work.
I am assuming that in the html page which calls the javascript readRSS function i can pass it a url of an rss log.
e.g.

try {readRSS(unescape("http://www.theregister.co.uk/headlines.rss"),5);}

When I try the code above is doesn't work when accessing the file on my webserver but if i copy the website to my hard drive and view it locally then it works! bizarre!

If this is not possible to specify urls then fair enough, but if it should work then do you have any pointers?

This rss script is the best on the net by the way. I've tried many other (some including rebol code!) and nothing comes close.

Keep it up!

cheers

poncenby

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > rss translator with Apache 2.0.49


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT