Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Long URL

Status
Not open for further replies.

bhaydon

Technical User
Nov 5, 2002
82
US
I have an internal system that requires long URLs. I have recently moved this system to a new server, and updated apache. All of a sudden my system will not accept urls longer than approx. 300 characters.

Is there any way to enable longer urls?

Thank you for your help.

-Brad
 
According to:
Apache online manual said:
This directive sets the number of bytes from 0 to the value of the compile-time constant DEFAULT_LIMIT_REQUEST_LINE (8190 as distributed) that will be allowed on the HTTP request-line.



Want the best answers? Ask the best questions! TANSTAAFL!
 
I still could not resolve my problem with this information.

I am sorry, I am a bit of a newbie when it comes to apache. I am getting a page cannot be displayed when the url is over approx 300 characters long.

Could you please explain the solution to me more clearly? I really appreciate your help!

-Brad
 
I'm sorry. I subitted after editing badly.

Check your system's httpd.conf for an existing runtime configuration directive "LimitRequestLine". If there's one there, it will be limiting the system. See
If there's not one there, I'd try the connection with another brand of browser just to make sure it's not a browser problem.

After that, if I hadn't installed Apache from source tarball, I would consider doing so.



Want the best answers? Ask the best questions! TANSTAAFL!
 
my system httd.conf does not contain limitrequestline.

I am getting this error with any browser, so I don't think that is the issue.

I installed apache using apachefriend's xammp ( I'm not that worried about security, but I needed a quick install ) on a windows 2003 server. Would you suggest re-installing apache?

Thank you for your help. I really appreciate it!

-Brad
 
oof. Win32.

When I have run Apache, I have nearly always (all but once, to be precise) run it on Unix-like OSes. And all but one or two of those times, I have installed it from source.

It could be that xammp's installation has lowered the value of DEFAULT_LIMIT_REQUEST_LINE before compile.

It could be a problem with environment variables. Varibles input on the URL make their way into a web app via environment variables.



Want the best answers? Ask the best questions! TANSTAAFL!
 
windows 2003.

I was thinking of just installing apache2 from their website and trying to disable the xammp install. I would assume that I would have more control with that install.

What do you think?
 
Yeah, that is what I was going to try and do. I can't take down the server for long, so I will have to try to fix this tonight. I will let you know how it turns out.

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top