Questions tagged [http-status-code-404]

404 is the HTTP status code for "Not Found"

A web server will return a status code of 404 when the resource that is being requested does not exist or cannot be found.

386 questions
0
votes
1 answer

install nginx on centos 6 but folders isnot working give me 404 not found

I've install Nginx on CentOS 6 without control panel following these steps. I got Nginx installed successfully, see this link. But I still have a folder that isn't showing and giving me "not found errors". It's located here:…
0
votes
1 answer

404 errors with Virtual Host

Machine: Mac Book Pro Web Server: Apache I'm building a Wordpress site locally and I've set it up as a virtual host, I've made the following changes to http-vhosts.conf: ServerAdmin webmaster@projectname.dev DocumentRoot…
Stephen
  • 205
  • 1
  • 4
  • 11
0
votes
2 answers

After moving eKtron Site from iis6 to iis7 site is running but some of the links do not work and

Background I moved this site from IIS6 WIN2K3 to WIN2K8R2 IIS7 and the site launches but I'm getting errors on lots of the links/main menu items. Things I have already checked application pool settings db connection strings Creds/permissions in…
zman
  • 633
  • 6
  • 14
0
votes
1 answer

Nginx + Unicorn Rails Application gets 404 when requests number are high

I have a Rails application deployed using Nginx + Unicorn. Last night, when the traffic peaked, Nginx was getting lots of 404 errors. When I dig into logs, those 404 requests on the nginx side did not even get to Rails because I could not find these…
0
votes
3 answers

Can't view website with public IP, but www.example.com & example.com work fine

I am facing a problem with a web application on IIS 7.0. Our server configuration is Win 08 server R2 and has a public IP. The problem is, when an application is web hosted on IIS 7.0 and when it is browsed it works fine, but when the same page is…
0
votes
1 answer

nginx alias using php5-fpm response 404

I use php5 fpm using nginx. but i have a problem. # debug alias location /bb/ { alias /usr/share/blahblah/; } file on http://mysite.localhost/bb/index.php was not found. but it's still on /usr/share/blahblah/index.php and this is an error: *1…
0
votes
1 answer

How is a 404 custom error page requested by browser?

I am trying to understand how the communication works between the browser and the server in the case of custom error message. I understand a 301/302 header which contains the URL of the page in question, HTTP/1.1 30x .... Location:…
mplungjan
  • 101
  • 4
0
votes
1 answer

Files created by java API cannot be accessed through JSP

In a web application, I will use both java API and Linux System Calls to create a new directory, copy an image inside it and finally create a XML file with outputWriter. Then I will create download links to these resources on a JSP page. So far…
mdoust
  • 113
  • 1
  • 5
0
votes
1 answer

existing file gives 404 due to a RewriteCond rule in .htaccess

To redirect a specific domain name to a folder in my public dir, www/, I edited .htaccess to the following: RewriteEngine On RewriteCond %{HTTP_HOST} ^(.+)?domain.com$ RewriteRule ^(/)?$ domain.com/$1 [L] Pointing my browser to http://domain.com…
gosuto
  • 111
  • 4
0
votes
2 answers

Nginx + PHP-FPM executes script, but returns 404

I am using Nginx + PHP-FPM to run a Wordpress based site. I have a URL that should return dynamically generated JSON data for use with the DataTables jQuery plugin. The data is returned properly, but with a return code of 404. I think this is a…
MorfiusX
  • 39
  • 1
  • 5
0
votes
1 answer

Preserving URLs after CMS migration with redirect database and apache http?

We will migrate an entire intranet from one CMS to another. All URLs will change in a non-predictable pattern, but I can capture a file with original,new URLs I can feed into anything. I have hundred thousands of URLs, not just a few hundred. What I…
stwissel
  • 680
  • 2
  • 8
  • 22
0
votes
1 answer

Classic ASP start page not found (404) in IIS 7 on Windows Server 2008 R2

My site/application points to a folder called "site" with all permissions set up. In that folder resides "home.asp". Default document is "home.asp". When I go to the domain, I get a "page not found". If I capture that 404 error in IIS and tell it…
ScotterMonkey
  • 103
  • 1
  • 5
0
votes
1 answer

How to redirect a 404 to https in nginx?

For some reason a Redmine installation keeps redirecting some https requests to http. I'd like to change 404 response for the vhost the pages are redirected to back to the https it should have gone to. What is the syntax for that. I am trying this…
vfclists
  • 1,632
  • 5
  • 22
  • 37
0
votes
1 answer

Use shared 404 page for virtual hosts in Nginx

I'd like to have a shared 404 page to use across my virtual hosts. The following is my setup. Two sites, each with their own config file in /sites-available/ and /sites-enabled/ www.foo.com bar.foo.com The www directory is set up…
Choy
  • 169
  • 3
  • 9
0
votes
1 answer

Redirect 404 errors without rewriting the URL

Is it possible to have an erroneous URL remain in the address bar while redirecting the user to a URL within my domain? I want www.domain.com/forum to be the actual site being served in all 404 circumstances but I don't want the referring URL to be…
Matthew S
  • 189
  • 1
  • 2
  • 8