1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Other processes modifying files in httpdocs

Discussion in 'Plesk for Linux - 8.x and Older' started by lukewshannon, Sep 6, 2005.

  1. lukewshannon

    lukewshannon Guest

    0
     
    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
     
  2. lukewshannon

    lukewshannon Guest

    0
     
    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?
     
  3. MaRiOs

    MaRiOs Guest

    0
     
    had u tried to delete that .htaccess file ?
     
  4. jamesyeeoc

    jamesyeeoc Guest

    0
     
    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...
     
Loading...