ispCP - Board - Support
apache error - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: apache error (/thread-1829.html)

Pages: 1 2


RE: apache error - joximu - 11-22-2007 06:00 AM

I think it's not in the virtual hosts - because the error.log is the common error-log of apache.

Do you have entries in the access.log for the same timestamps?

/J


RE: apache error - grungy - 11-22-2007 07:50 AM

joximu Wrote:I think it's not in the virtual hosts - because the error.log is the common error-log of apache.

Do you have entries in the access.log for the same timestamps?

/J

no Sad


RE: apache error - raphael - 11-22-2007 10:03 AM

Quote:[client 127.0.0.1]
do you have awstats dynamic enabled? ... mod_proxy is used for that, so it might be related to it


RE: apache error - grungy - 11-23-2007 04:43 PM

raphael Wrote:
Quote:[client 127.0.0.1]
do you have awstats dynamic enabled? ... mod_proxy is used for that, so it might be related to it

no...I even reinstalled apache and it didn't help, any ideas?


RE: apache error - joximu - 11-23-2007 07:30 PM

Well, I just think how I'd deal with this subject...

There are 2 questions: who/what is the client (which process)
and which folder is meant on the server side...

for the cleint - I'd run sniffit or tcpdump on localhost/lo/127.0.0.1.. and on the server - well, this is maybe hard to find out - if all folders exists... hm...

I'm sure you checked all folders which come up with

grep -r htdocs /etc/apache2

... cheers
J


RE: apache error - raphael - 11-24-2007 09:11 AM

the other way to do it is by stracing the apache proc


RE: apache error - grungy - 11-24-2007 07:43 PM

I'll figure out something..tnx all....


RE: apache error - grungy - 11-28-2007 11:30 PM

I have straced apache process and only thing that I saw was this:

Code:
stat64("/var/www/virtual/domain.net/htdocs/images/izvori/dnevni", 0xbfffd94c) = -1 ENOENT (No such file or directory)
open("/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/var/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/var/www/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
open("/var/www/virtual/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net", {st_mode=S_IFDIR|0770, st_size=1024, ...}) = 0
open("/var/www/virtual/domain.net/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net/htdocs", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
open("/var/www/virtual/domain.net/htdocs/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net/htdocs/images", {st_mode=S_IFDIR|0777, st_size=1024, ...}) = 0
open("/var/www/virtual/domain.net/htdocs/images/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net/htdocs/images/izvori", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/var/www/virtual/domain.net/htdocs/images/izvori/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
lstat64("/var/www/virtual/domain.net/htdocs/images/izvori/dnevni", 0xbfffd94c) = -1 ENOENT (No such file or directory)


this occures for many domains not only one....


could this be the cause for the error?


RE: apache error - grungy - 11-28-2007 11:35 PM

The files on the filesystem could not be found. But the links are right. User uses joomla.

In the htdocs folder the file is called /var/www/virtual/domain.net/htdocs/images/izvori/dnevni.jpg

but the link is http://domain.net/images/izvori/dnevni and the link displays...

Could this be some kind of rewrite?