Skip to main content
Participant
April 23, 2009
Answered

Apache doesn't see any .htm or .html files not part of original FMS Linux install

  • April 23, 2009
  • 2 replies
  • 859 views

After a seemingly successful  install of FMS 3.5 on a remote Red Hat server (a browser pointed at webroot displays the supplied index.html file with both RTMP and HTTP working), I tried to move videoplayer.html to the same webroot directory for testing. It is not seen (404 error) by my browsers (neither IE nor Firefox) but shows up fine with full permissions in my Putty console and in Filezilla SFTP. I then tried to copy and rename other existing .htm or .html files to this directory (and then other directories) from the console (using cp) and with SFTP but they too are invisible to my browser. All .htm and .html files which were part of the original install, however, are still visible to my browsers.  I tried restarting the FMS server and confirmed that Apache also was restarted but still no luck. This is my first post. Any help would be greatly appreciated.

    This topic has been closed for replies.
    Correct answer

    This may seem like a dumb question,so I apologize in advance, but I've made mistakes even sillier than this, so I have to ask:

    Are you sure that the index.html and readme.htm that it's serving are the same ones you think it's serving? (Normally, the web root is /opt/adobe/fms/webroot on linux, if I remember correctly. You may have another directory with the same or similar files somewhere else, and you're adding the new files to that somewhere else.) Modify one of the files in some way and see if the change shows up in your browser.

    This may seem like an even dumber question, but are you sure you're running the FMS apache rather than the stock Red Hat one?

    The webserver logs (and configs and everything but the doc root) are under the Apache2.2 directory (so /opt/adobe/fms/Apache2.2/logs, by default).

    2 replies

    Correct answer
    April 24, 2009

    This may seem like a dumb question,so I apologize in advance, but I've made mistakes even sillier than this, so I have to ask:

    Are you sure that the index.html and readme.htm that it's serving are the same ones you think it's serving? (Normally, the web root is /opt/adobe/fms/webroot on linux, if I remember correctly. You may have another directory with the same or similar files somewhere else, and you're adding the new files to that somewhere else.) Modify one of the files in some way and see if the change shows up in your browser.

    This may seem like an even dumber question, but are you sure you're running the FMS apache rather than the stock Red Hat one?

    The webserver logs (and configs and everything but the doc root) are under the Apache2.2 directory (so /opt/adobe/fms/Apache2.2/logs, by default).

    Participant
    April 24, 2009

    Hi,

    whats the url with which are you trying to access the files? Could you also provide the error and access logs of Apache.

    Regards,

    Rudhir

    pro-foundAuthor
    Participant
    April 24, 2009

    Rudhir,

    Thank you for responding.

    http://174.143.26.237/ correctly displays index.html in the webroot

    directory.

    http://174.143.26.237/readme.htm works correctly.

    http://174.143.26.237/readme2.htm (a copy of readme.htm with 777 permissions

    in the same directory) yields a 404 error

    I logged in as root and am unable to find the error/access logs. Can you

    help me find them?.

    I have attached the Apache httpd.conf file.

    I am relatively new to this and greatly appreciate your help and patience.

    Bill

    April 24, 2009

    Have you fixed this on your own? I just followed your link to readme2.htm, and it showed up as a copy of readme.htm. And videoplayer.html worked fine as well. And apparently you created a plain text file called readme3.htm whose contents are "hello", because I saw that when I accidentally typed a 3 instead of a 2.