I having problem on executing php files Any one can help me out how to sort the problem I am getting page not found if I click on any Store Navigation product. This I my link http://orbit.host-care.com/~easywaig/BANS/script/ Error message I am getting The requested URL /home/easywaig/public_html/BANS/script/index.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
What's your .htaccess file look like? http://orbit.host-care.com/~easywaig/BANS/script/index.php does exist, so this is pretty unusual...
This is my .htaccess file Options +FollowSymLinks RewriteEngine On RewriteCond %{SCRIPT_FILENAME} -f [OR] RewriteCond %{SCRIPT_FILENAME} -d [OR] RewriteCond %{ENV:REDIRECT_STATUS} !^$ RewriteRule .* - [L] RewriteRule ^install.php install.php [QSA,L] RewriteRule ^search/([^/]+)?$ index.php?mainCat=search&q=$1 [QSA,L] RewriteRule ^([^/]+)/([^/]+)?$ index.php?mainCat=$1&subCat=$2 [QSA,L] RewriteRule ^([^/]+)?$ index.php?mainCat=$1 [QSA,L]
There is something wrong with the webroot configuration of the site.. or something is goofed with the .htaccess. When I look at the .htaccess it looks fine. Currently you're using temporary user directory ie: ~easywaig. I would get your domain set up and proper web directory dialed in first, since this user directory might be the problem. The bans site can be seen here: http://orbit.host-care.com/~easywaig/index.php The problem is your get a 404 when you click on the nav: http://orbit.host-care.com/~easywaig/Dieting-Slimming/Body-Wraps returns: The requested URL /home/easywaig/public_html/index.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. But if you follow the the .htaccess and change the following to: http://orbit.host-care.com/~easywaig/index.php?mainCat=Dieting-Slimming&subCat=Diaries-Calculators It works. It could be related to slashes used as querystring variable. I can't remember the setting in older apache that needs to be set to allow this, but that could explain the 404, but I'd expect the error message to complain about /home/easywaig/public_html/Dieting-Slimming/Body-Wraps/index.php not existing. hanji
Do you have .htaccess in place, and can you verify that the rewrite is available on the server? hanji
I think the problem is that your Apache server is old. It is currently Apache/1.3.39. What I think you need is AcceptPathInfo directive that is available in Apache-2.0 You can see people that are trying to do SES (Search Engine Safe) URLs and are running into problems with 1.3 http://www.google.com/search?hl=en&q=AcceptPathInfo+1.3&btnG=Search I would switch hosts or ask to be put on a Apache-2.x box. Apache-2.x fork has been out for several years now. hanji