Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8152439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:42:55+00:00 2026-06-06T15:42:55+00:00

This one is a little confusing to me. I’m running a LAMP server with

  • 0

This one is a little confusing to me.

I’m running a LAMP server with Zend Framework. I’ve spent a lot of time going over my error logs to try and clean-up any programming errors/bugs.

Most of my specific site errors are done but I looked into my general Apache error log:

/var/log/apache2/error.log

And I’m seeing a lot, almost constant, errors for “File does not exist” like the following (simplified for brevity):

[date] [error] [client #:#:#:#] File does not exist: /var/www/sites/[website folder]/public/explore
[date] [error] [client #:#:#:#] File does not exist: /var/www/sites/[website folder]/public/where-to-buy
[date] [error] [client #:#:#:#] File does not exist: /var/www/sites/[website folder]/public/products

And so on. These folders do not exist because all requests are suppose to be redirected into the index.php file and handled by Zend Framework. The actual controllers and actions exist, such that anyone going to:

http://www.example.com/explore

or

http://www.example.com/where-to-buy/

will get the correct page via Zend Framework.

But I’m not understanding why all these errors are occuring?

If figure it might have something to do with the .htaccess file that redirects most requests (excluding style sheets, documents, images, etc) to the index.php script. This is what mine looks like:

RewriteEngine On
# make sure all requests go to 'www' sub-domain
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

# Zend Framework, redirect requests to index.php
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

Is Apache trying to resolve the request via an actual directory first and then passing the request to index.php? Which causes the error request?

I’m also not sure why this is getting dumped into the default error log, instead of the error log or the specific site. In other words, I have error logs for each domain such as “example.com_error.log”. That might be another indication to the issue. It might be a sequence thing as “error.log” is tired to a “default” site.

Thanks for any insight!
Fozzy

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T15:42:56+00:00Added an answer on June 6, 2026 at 3:42 pm

    From Regilero:

    the fact this is going to the default log is effectively a good hint
    on the problem, check the related access.log. Maybe some requests made
    on a DNS name not handled in your virtualhost or by web clients not
    using HTTP 1/1 (so with no host header) – regilero Oct 19 ’11 at 22:52

    I was able to compare the access.log with the error.log to investigate my issues.

    It was awhile ago but I believe the issue was due to some script going directly to the server via an IP address and trying to use the directory structure from one of the virtually hosted domains.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This one might be a little confusing. I'm using AMCharts with rails. Amcharts comes
This is just one of those little things I did all the time in
This one is a little tricky. Say I have this XmlDocument <Object> <Property1>1</Property1> <Property2>2</Property2>
This one has proven to be a little tricky for me so far. I
This one is a huge issue: first off, while I know a little bit
I'm a little stumped on this one. I think the best way to ask
I'm a little stumped on this one and I'm also not still on 1.8
Nasty little bug, this one. As illustrated in Android ticket 6721 , the Android
So, this one seems to be a little tricky. There's an image map with
This one is a little difficult to explain so I'll show code first.. Note:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.