Apache 404 Error On A File That Exists
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings 404 but file is there and policies of this site About Us Learn more about Stack Overflow
Iis 404 Error File Exists
the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges iis7 404 error file exists Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: iis 6 404 error file exists Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top 404 Error on a file that exists? up vote 3 down vote favorite A script makes a GET request to my URL like so: http://mydomain.com/cgi-bin/uu_ini_status_audios.pl?tmp_sid=b742be1d131c4d32237a9f1fcdca659e&rnd_id=0.2363453360320319 However, I get a 404 returned straight away: The requested URL /cgi-bin/uu_ini_status_audios.pl was not found on this server.
Apache Tomcat 404 Error
But that script exists on my server, I can see the file! It has the correct permissions (I gave it a 777 to be sure). It is also owned by my apache user and its in the group apache. What am I missing?? Thanks for any help on this! Update I thought it would have been a htaccess (rewrite) but I don't think it is anymore. I tried putting a index.php file in there and try to access it via my URL but I can't even do that! I tried this: http://mydoamin.com/cgi-bin/index.php - same 404 error! I get this in myerror log: [Tue Sep 14 14:42:49 2010] [error] [client xx.xxx.xx.xxx] script not found or unable to stat: /var/www/vhosts/mydomain.com/cgi-bin Access_log file: xx.xxx.xx.xxx - - [14/Sep/2010:14:48:25 +0200] "GET /cgi-bin/index.php HTTP/1.1" 404 475 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9 (.NET CLR 3.5.30729)" Update 2 My htaccess file:
MetaFilter querying the hive mind Log In Sign Up MetaFilter AskMeFi FanFare Projects Music Jobs IRL MetaTalk More Best Of Podcast Chat Labs Search MetaFilter… Menu Home FAQ About Archives Tags Popular Random Apache returns 404 for an existing file October 31, 2007 10:29 AM Subscribe Apache web server is insisting that the page we are trying to access is missing, but we know it isn't so. We have an installation apache 404 error page of Oracle Application Server (actually, more than one, but different servers). This product uses apache 404 error log the Apache web server to serve its web pages. We are accessing apache directly without going through any of the Oracle services,
Apache 403 Error
so none of the Oracle parts should be affecting this scenario. One of our servers will allow access to files in a certain directory. The others will not. We cannot find any .htaccess file or any http://serverfault.com/questions/180952/404-error-on-a-file-that-exists statement in httpd.conf that seems to restrict the directory. Apache returns a 404 error. The access_log indicates a 404 error, there is no corresponding entry in the error log. To make it more confusing, only two specific directory names are at issue. It is not a permissions problem on the files; if I take a directory that can be read and simply rename it to the offending directory name, the file under it http://ask.metafilter.com/75104/Apache-returns-404-for-an-existing-file will no longer be readable and return 404. Renaming it back makes it work again. The parent directory of the offending directories can be accesses without problems. I am unsure as to how to proceed. Is there a way to make Apache reveal where on the filesystem it is looking for the file? Some way to test whether or not Apache would allow access to a specific directory based on its config, or a way to trace so that it explains why it thinks the file is 404? Inquiring minds want to know. posted by splice to Technology (19 answers total) URLs are case-sensitive. Are you using an upper case character instead of a lower case one, or vice versa?posted by Steven C. Den Beste at 10:34 AM on October 31, 2007 No, nothing to do with case.posted by splice at 10:39 AM on October 31, 2007 Is there anything noteworthy about the directory names that don't work? What platform is this on?posted by dreadpiratesully at 10:41 AM on October 31, 2007 Yes, there is a way to make Apache reveal where it's looking for the file: error_log. Check your ErrorLog directive in httpd.conf for the location of this file.posted by rhizome at 10:45 AM on October 31, 2007 Check the other config files for di
here for a quick overview of the site Help Center Detailed answers to any questions http://superuser.com/questions/792332/why-does-apache-say-file-does-not-exist-with-this-directory-alias you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and 404 error power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Why does Apache say “file does not exist” with this directory alias? up vote 1 down vote favorite 1 I am apache 404 error setting up a small web server. I am having trouble with Apache not being able to find the alias. My DocumentRoot is /var/www/htdocs but I have some files on a different (bigger) partition under /home/user/Documents/a_directory/CurrentCaptures that I want to be able to view on the website. My /var/www/conf/httpd.conf has 2 aliases as follows: Alias /icons/ "/var/www/icons/"