• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Other processes modifying files in httpdocs

L

lukewshannon

Guest
Hello;

I hope I can explain this without making it too confusing.

I have a domain being hosted on Plesk using Physical Hosting.

I have a java application that copies HTML content into the following location:

/home/httpd/vhosts/thewebsite.com/httpdocs

However, after this process has completed I tried to browse to a newly copied page.

www.thewebsite.com/ondates.htm

Apache is unable to find it, The error log showed me the following:

[Mon Sep 05 22:32:22 2005] [error] [client 69.195.21.17] File does not exist: /home/httpd/vhosts/default/htdocs/ondates.html

Why would it all of sudden start looking in the default location instead of the location of thewebsite domain on the server?

I did noticed in:

Clients > My Domains > thewebsite.com >

The access of httpdocs is user: webadmin, group: psaserv.

Before the issue above started happening, the contents of the httpdocs folder were modified by a Java program, plus I went in and changed something by hand using Winscp.

I don't think either process it is part of the psaserv group. Could this be the root of my problem?

Any tips would be greatly appreciated. I am stuck, I really need this application to work with Plesk.


Thanks,

Luke
 
Actually this has been working fine since this issue.

I noticed that the time I copied over and there was a problem an .htacess file had gotten copied over. I wonder if this could have caused the problem.

I bet an .htaccess file suddenly placed in the httpdocs folder could cause some confusion.

Anyone have any thoughts?
 
Originally posted by lukewshannon
Actually this has been working fine since this issue.

I noticed that the time I copied over and there was a problem an .htacess file had gotten copied over. I wonder if this could have caused the problem.

I bet an .htaccess file suddenly placed in the httpdocs folder could cause some confusion.

Anyone have any thoughts?
It depends on the contents of the 'new' htaccess file, and what the previous contents of the 'old' file were.

In general, if files such as .htaccess or vhost.conf, httpd.include get changed by accident, there are usually bad side-effects...
 
Back
Top