Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

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 Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 11th, 2003, 01:08 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
Errors

Here is my problem, I have apache 1.3.2 on a remote server and on my home windows machine, this ia pretty generic thing though. When I pass information with a space in it to a script, I recieve the error Erroneuous characters after protocol string, I know this can be done because I have seen it, is there some configuration something etc that I can alter to keep this error from occuring? To force it to accept the string? I cannot format the request as a URL properly, and I think there is a way to do it, but I'm not sure how. The script goes something like myfile.php?blah=stuff stuff
I know that after the space it sees the last stuff as protocol so it throws an error, is there any way to keep it from throwing this error or keeping it from occuring?

Reply With Quote
  #2  
Old January 11th, 2003, 05:19 AM
bob0099 bob0099 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: manchester,n.h.,usa
Posts: 172 bob0099 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Errors

Try putting the string in quotes

Reply With Quote
  #3  
Old January 11th, 2003, 01:13 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Errors

Or change the space into %20

Reply With Quote
  #4  
Old January 11th, 2003, 07:34 PM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Errors

I can't change the spaces, I cannot format the URL at all, it is takes as is. I think that maybe by using a custom error document, I may be able to get it right, but what error number does that return? Quotes don't work either.


Reply With Quote
  #5  
Old January 11th, 2003, 07:58 PM
bob0099 bob0099 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: manchester,n.h.,usa
Posts: 172 bob0099 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Errors

How about storing the string in a variable first and then passing the variable?

Reply With Quote
  #6  
Old January 12th, 2003, 02:33 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Errors

Ok, lets see if I can make this clearer, I am working on a small script similar to wgat you would see at subprofile.com for AIM. It passes the users screen name to the file. The users screen name can contain spaces, and AIM does not properly encode URLs before pasing them on. So I get
myfile.php?name=my name
not
name=my%20name
or
name=my+name

I have no control over that variable until it hits the server, in which case I can make sure its valid and everything, But the problem is, that it sends an error header back to the AIM client, which gives an error to the user that just says error loading content. I have tried using a custom error document, but I am not 100% sure what the error code for that is. Also, when an error is seen by the server, does it also by default send the error header to the client? If thats the case, is there a way to stop it?

Reply With Quote
  #7  
Old January 12th, 2003, 02:55 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Errors

Here's a usenet post from a guy trying to do the same thing...and his solution..not sure if it works, but he says it does:

here

Reply With Quote
  #8  
Old January 14th, 2003, 03:17 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to pickleman78
RE: Errors

Well that didn;t work at all. Is there a way to stop the error headers from going to the client?

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > Errors


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!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway