- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Javascript: Premature end of script head...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:50 AM
02-25-2004 04:50 AM
Javascript: Premature end of script header
I am in the process of migrating a site from Apache 1.3 to Apache2. HTML works without problems. But the pages include an external javascript file, which does not explicitly output anything, but just defines some functions.
When the javascript file gets imported, I get the "Premature end of script header" message in the error log.
Because I did not find anything, I even tusced the server and saw, that apache2 tries to execute the javascript file. I have no idea, why that. According to my knowledge the javascript file should just be copies to the client, not executed by the server.
I attached an excerpt of one of the headers, where the script gets executed.
I hope somebody can tell me, what is wrong.
Thanks in advance
Dieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 05:06 AM
02-25-2004 05:06 AM
Re: Javascript: Premature end of script header
Can you post the script as attachment?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 04:34 AM
03-16-2004 04:34 AM
Re: Javascript: Premature end of script header
I don't think the problem is in the script, because it does not even get opened according to tusc. I have attached the head part of the page. Probably the error is in there.
Thanks in advance for your answer.
Dieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 04:41 AM
03-16-2004 04:41 AM
Re: Javascript: Premature end of script header
In your script you have :-
HP-UX B.10.01 9000/725
If this is true its is time to upgrade the OS.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 02:43 AM
03-18-2004 02:43 AM
Re: Javascript: Premature end of script header
as I said, the site is to be upgraded, but we did not change the headers yet, that is where is that old OS information. We are on 11.x (not 11i).
Thanks, Dieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 02:49 AM
03-18-2004 02:49 AM
Re: Javascript: Premature end of script header
would you please post the first part anyway?
It seems odd, that the html file should be opened and the java script not.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 04:55 AM
04-07-2004 04:55 AM
Re: Javascript: Premature end of script header
as I already wrote, apache2 seems not recognize it as a javascript file, that is to be sent to the browser. If I make the script executable, it tries to start it and for sure does not find the proper interpreter for that. If I leave it without execute permission, it say "permission denied" within tusc, even without opening the script beforehad.
Anyway, here comes the requested script.
By the way, from the html-File, the script should load normally, or is there something wrong in there already?
Thanks in advance
Regards,
Dieter