ec2 gives bad request
I'm deploying on ec2 instance, when I write the server_ip in the browser I get bad request
Bad Request
Your browser sent a request that this server could not understand.
that's error from apache error_log
AH00126: Invalid URI in request GET /favicon.ico HTTP/1.1, referer: http://server_ip/
and it give me so whenever I try to access any project
how to solve this problem
aws
|
show 3 more comments
I'm deploying on ec2 instance, when I write the server_ip in the browser I get bad request
Bad Request
Your browser sent a request that this server could not understand.
that's error from apache error_log
AH00126: Invalid URI in request GET /favicon.ico HTTP/1.1, referer: http://server_ip/
and it give me so whenever I try to access any project
how to solve this problem
aws
Where is the/favicon.ico
file your trying to get does it exist?
– George Udosen
Dec 29 '18 at 15:47
what is this file, I'm trying to open php code file
– Yomna Mansour
Dec 29 '18 at 16:53
that the icon file for your site look for it and add the path to the code that is calling it!
– George Udosen
Dec 29 '18 at 17:29
my code contains only echo "hello"; that's happenin also when I'm trying to open apache home page on ec2
– Yomna Mansour
Dec 29 '18 at 17:39
Does this stop your site from loading?
– George Udosen
Dec 29 '18 at 17:41
|
show 3 more comments
I'm deploying on ec2 instance, when I write the server_ip in the browser I get bad request
Bad Request
Your browser sent a request that this server could not understand.
that's error from apache error_log
AH00126: Invalid URI in request GET /favicon.ico HTTP/1.1, referer: http://server_ip/
and it give me so whenever I try to access any project
how to solve this problem
aws
I'm deploying on ec2 instance, when I write the server_ip in the browser I get bad request
Bad Request
Your browser sent a request that this server could not understand.
that's error from apache error_log
AH00126: Invalid URI in request GET /favicon.ico HTTP/1.1, referer: http://server_ip/
and it give me so whenever I try to access any project
how to solve this problem
aws
aws
asked Dec 29 '18 at 15:45
Yomna MansourYomna Mansour
11
11
Where is the/favicon.ico
file your trying to get does it exist?
– George Udosen
Dec 29 '18 at 15:47
what is this file, I'm trying to open php code file
– Yomna Mansour
Dec 29 '18 at 16:53
that the icon file for your site look for it and add the path to the code that is calling it!
– George Udosen
Dec 29 '18 at 17:29
my code contains only echo "hello"; that's happenin also when I'm trying to open apache home page on ec2
– Yomna Mansour
Dec 29 '18 at 17:39
Does this stop your site from loading?
– George Udosen
Dec 29 '18 at 17:41
|
show 3 more comments
Where is the/favicon.ico
file your trying to get does it exist?
– George Udosen
Dec 29 '18 at 15:47
what is this file, I'm trying to open php code file
– Yomna Mansour
Dec 29 '18 at 16:53
that the icon file for your site look for it and add the path to the code that is calling it!
– George Udosen
Dec 29 '18 at 17:29
my code contains only echo "hello"; that's happenin also when I'm trying to open apache home page on ec2
– Yomna Mansour
Dec 29 '18 at 17:39
Does this stop your site from loading?
– George Udosen
Dec 29 '18 at 17:41
Where is the
/favicon.ico
file your trying to get does it exist?– George Udosen
Dec 29 '18 at 15:47
Where is the
/favicon.ico
file your trying to get does it exist?– George Udosen
Dec 29 '18 at 15:47
what is this file, I'm trying to open php code file
– Yomna Mansour
Dec 29 '18 at 16:53
what is this file, I'm trying to open php code file
– Yomna Mansour
Dec 29 '18 at 16:53
that the icon file for your site look for it and add the path to the code that is calling it!
– George Udosen
Dec 29 '18 at 17:29
that the icon file for your site look for it and add the path to the code that is calling it!
– George Udosen
Dec 29 '18 at 17:29
my code contains only echo "hello"; that's happenin also when I'm trying to open apache home page on ec2
– Yomna Mansour
Dec 29 '18 at 17:39
my code contains only echo "hello"; that's happenin also when I'm trying to open apache home page on ec2
– Yomna Mansour
Dec 29 '18 at 17:39
Does this stop your site from loading?
– George Udosen
Dec 29 '18 at 17:41
Does this stop your site from loading?
– George Udosen
Dec 29 '18 at 17:41
|
show 3 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105396%2fec2-gives-bad-request%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105396%2fec2-gives-bad-request%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Where is the
/favicon.ico
file your trying to get does it exist?– George Udosen
Dec 29 '18 at 15:47
what is this file, I'm trying to open php code file
– Yomna Mansour
Dec 29 '18 at 16:53
that the icon file for your site look for it and add the path to the code that is calling it!
– George Udosen
Dec 29 '18 at 17:29
my code contains only echo "hello"; that's happenin also when I'm trying to open apache home page on ec2
– Yomna Mansour
Dec 29 '18 at 17:39
Does this stop your site from loading?
– George Udosen
Dec 29 '18 at 17:41