URL with underscore error

mhiizadi

Verified User
Joined
Jan 23, 2014
Messages
28
Hello , we have directadmin server afew months ago , URLs with underscore open easily , but in the new install yesterday , we get error :
Code:
Bad Request

Your browser sent a request that this server could not understand.
Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.
is there any idea on this issue to i can solve it ?
thanks for every answer ...
hossein.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
Hello,

What URL fails? Do you have modsecurity enabled? If yes, try and disable modsecurity and see whether or not it helps.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
That does not necessary mean that modsecurity is not enabled. You should check output from apachectl. The URL https://www.directadmin.com/hello_world.txt drops 404 error, not 400. And check what you have in ErrorDocument.

From RFC 1738 specification:
Thus, only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL.



Hardly can we help you without more details.
 
Top