I have this on my error log. GET /wall/roves/378 HTTP/1.1" 404 212 i know it means that page its not found but i cant figure out why? its an Apache thing?

Member Avatar
Member Avatar
+0 forum 8

Hi, I am learning struts 2 framework and i have also used OGNL in it for data transfer. The problem is when i run the Login.jps page on apache tomcat server through Eclipse Indigo , i get the error "HTTP Status 404 - /Priyanjan_banking/Login.jsp" Please help me out . The code is given below **Login.jsp** <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@taglib uri="/struts-tags" prefix="s"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>HOME - PRIYANJAN Banking</title> </head> <body> <s:form action="login"> <a:actionerror /> <s:textfield name="log.user_id" label="User ID"></s:textfield> <s:password name="log.user_pass" label="Password"></s:password> <s:submit></s:submit> </s:form> </body> </html> **Login.java** …

Member Avatar
Member Avatar
+0 forum 1

why occured the 404 error in several websites

Member Avatar
Member Avatar
+0 forum 8

i got a testing blog that got spammed. So I removed the entire blog. Now weeks later, my errorlog still get thousends of 404's a day. I still want to see 'normal' 404 from other sites on that server. There are no files in that dir but .htaccess: RewiteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.php)$ -[G,NC,E=dontlog:true] #deny from all and in my httpd.conf: `customLog logs/access_log combined env=!dontlog` how do I something simular to my errorlog? or do I need a diverent solution?

Member Avatar
+0 forum 0

I want to handle 404 error if script can't load some resouce after document is ready. Here is code: (function( $ ){ $.fn.onair=function(){ var tid = setInterval( function () { if ( document.readyState !== 'complete' ){ return; alert("salam") } else if(document.readyState=='complete'){ if (document.onerror){ //ajax $.ajax({ statusCode: { 404: function() { alert("page not found"); } } }); //ajax alert("s"); clearInterval( tid ); } } }, 10 ); } })( jQuery )

Member Avatar
Member Avatar
+0 forum 3

hi. I successfully created a portfolio section in wordpress with quicksand with the help of http://wp.tutsplus.com/tutorials/theme-development/create-a-quicksand-portfolio-with-wordpress/ site. And now am having problem that when ever i click any view detail page it shows " This is somewhat embarrassing, isn’t it? It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help " my function.php code related to portfolio // Registering Menus function register_menu() { register_nav_menu('navigation', __('Main Navigation')); } add_action('init', 'register_menu'); // Register our Scripts function register_js() { if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'); wp_register_script('quicksand', get_template_directory_uri() . '/js/jquery.quicksand.js', 'jquery'); wp_register_script('easing', get_template_directory_uri() . '/js/jquery.easing.1.3.js', …

Member Avatar
Member Avatar
+0 forum 1

I have just started to learn PHP.I have installed Netbeans and WampServer, now when i run a sample php code in netbeans, browser showing 404 error.i think everything installed correctly,may be its because of some connection problem with browser and netbeans,should i change something in project properties?.Could someone please help?

Member Avatar
Member Avatar
+0 forum 1

I recently converted all my website's files to .php, including my index.html and 404 page. Everything worked fine until I clicked a dead link, and no 404 page came up. Naturally, I figured I forgot to update the .htaccess file. After doing so and re-uploading it, every page on my site is a 500 error. And not a custom 500 page, which I had previously designed, but a generic, browser-generated thing, even though my 500 page is on the server. Here's the code for my .htaccess file: AuthType Basic AuthName "" Order deny,allow Require user Require group Allow from Deny …

Member Avatar
Member Avatar
+0 forum 2

Hi there, at the beginning I must admit that I am not good at PHP. I made a few websites in HTML but now I don't know what happened and what to do with it. I wanted to change a few things at [http://www.tips2.pl/](http://www.tips2.pl/) which is made in PHP. Everything worked fine till I placed a ".htaccess" file on the server. I wanted to disable an URL without "www.": http://tips2.pl and left only http://www.tips2.pl/. I transfered a ".htaccess" file from my another project. It looks like this: Options +FollowSymlinks -MultiViews RewriteEngine on RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{REQUEST_URI} ^(.*/)index\.html$ [NC] …

Member Avatar
Member Avatar
+0 forum 4

i want to give this type of coding in my website plz tell how can i give 404 error page like in this url http://www.google.com/m.php

Member Avatar
Member Avatar
+0 forum 1

Hi All, I have to redirect page to no-page-found.aspx in case there is no such page is existing in website. i have implemented it. it works on local successfully but it is not working on live site. if i write .aspx at the end then it is redirecting. ex. i write [url]www.test.com/abcd[/url] in this case in local it is redirecting to my no-page-found.aspx but it is not working on live site. but incase i write [url]www.test.com/abcd.aspx[/url] then it is redirecting to no-page-found.aspx in live site as well as local. please do some needful help. Thanks, KK

Member Avatar
Member Avatar
+0 forum 1

Hi All, I have to redirect page to no-page-found.aspx in case there is no such page is existing in website. i have implemented it. it works on local successfully but it is not working on live site. if i write .aspx at the end then it is redirecting. ex. i write [url]www.test.com/abcd[/url] in this case in local it is redirecting to my no-page-found.aspx but it is not working on live site. but incase i write [url]www.test.com/abcd.aspx[/url] then it is redirecting to no-page-found.aspx in live site as well as local. please do some needful help. Thanks, KK

Member Avatar
+0 forum 0

Hi, I have a question about custom 404 pages: Lets say the user enters a non existing url, and the custom 404 page is made like this: [CODE] header("HTTP/1.0 404 Not Found"); header("Location: http://www.domain.com/custom404.php"); [/CODE] [B]What does google do when reaching this code? Does it create any duplicate content? since there is a url after the domain name?? Does it know not to index, or register any more when seeing the 404 header?[/B] Hope some of you has the answer to this :-) OR WHAT IS THE BEST WAY TO HANDLE 404 ERRORS WHEN IT COMES TO SEO??? Klemme

Member Avatar
Member Avatar
+0 forum 6

When I try to navigate to the service it shows me the methods like normal but when I try to see the wsdl I get a file not found error. I have created both the wsdl.aspx and the disco.aspx. They have been deployed into _vti_bin folder. I was able to find that an exception was thrown inside of wswsdl.aspx from: [CODE] try { Server.Execute(newUrl); } catch (HttpException) { throw new System.IO.FileNotFoundException(OriginalBaseUrl); } [/CODE] If you need any more information please let me know.

Member Avatar
Member Avatar
+0 forum 2

I've been having a reoccurring issue with my VPS since I moved to a new company and I'm trying to figure out what the issue is. There are a few different things going on (I believe they are all connected) -- [LIST=1] [*]When you visit a page that doesn't exist, instead of throwing a 404 error, it shows a page which looks like the index.php file in the respective directory you are in. [*]The bigger issue, is that when I'm uploading new files through FTP, they are successful but when I visit the page in the browser, nothing has changed. …

Member Avatar
Member Avatar
+0 forum 2

Anyone have any experience with Soft-404 errors on non-error pages on Google webmaster? I'm getting a lot of "Soft-404 (404-like content)" crawl errors in my account. The links all actually work, but google's crawler doesn't seem to like them, which I doubt will do me many favours. The problem seem to be mostly with one script in particular, which is a redirect script as follows: [CODE]<?php $ROOT=$_SERVER['DOCUMENT_ROOT']; include($ROOT."/includes/session.php"); if ($_GET['type']) { $type=$_GET['type']; } else {header("location:/suggest"); exit;} //added slash after suggest here, dunno what effect it will have. if ($_GET['done']=='y') {$status='Thanks for '; if ($type=='website') $status.='the feedback'; else $status.='your submission'; $status.=', …

Member Avatar
Member Avatar
+0 forum 2

I am trying to pipe an email to PHP. I currently have set up a forwarder in cPanel that does the following : [B]|/home/username/public_html/mailscripttest.php[/B] mailscripttest.php has permissions 755 and contains: [CODE=php] #!/usr/bin/php –q <? /* Read the message from STDIN */ $fd = fopen("php://stdin", "r"); $email = ""; // This will be the variable holding the data. while (!feof($fd)) { $email .= fread($fd, 1024); } fclose($fd); /* Saves the data into a file */ $fdw = fopen("mail.txt", "w+"); fwrite($fdw, $email); fclose($fdw); /* Script End */ [/CODE] However when I send an email I get a bounced message saying: [QUOTE] This …

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm making a 404 page, and I want it to display the current URL, but I don't want it to be server side. I don't know much about any variables are anything, so it would be nice if a nice person could give me all of the needed code and how to use it! :$ Thanks in advance!

Member Avatar
Member Avatar
+0 forum 3

If you select 'upvoted posts' and try to go to page 2, you'll get a 404.

Member Avatar
Member Avatar
+0 forum 2

hello, setting up my first home server here. i can access apache server on my local network fine, but port 80 is blocked by my isp, so I cant access it from outside my lan. so i added listen 8080 to port.conf then i forwarded the port in my router. when i try to access the site from outside my lan, i get 404 The requested URL / was not found on this server. Apache/2.2.12 (Ubuntu) Server am i missing a step here? what can i do to get this to work? thanks, strax

Member Avatar
Member Avatar
+0 forum 1

Hi, I have an urgent ugly problem. I have a php file on a server that reads the name of the files of a directory from the server and POST them to my java application. When I try to read it, i get [CODE]Server returned HTTP response code: 400 for URL: http://www.xxxxxxxxxxxxx[/CODE]. This does not happens on files that do not contain white spaces. Only at URLs like: "http://www.abc.com/Hello world.gif" but not at "http://www.abc.com/HelloWorld.gif". I tried to encode the URL... I could not solve it. Please can you help me? I need it fast... Thanks!

Member Avatar
Member Avatar
+0 forum 3

The End.