I am using lamp on CentOS 6. Application code is written in CakePHP. Application files path is "/var/www/html/my_app".
Another file server is mounted with an Application Server. Mounted path on Application Server is "/home/new1/fs_path/scanned/" which contain some folders like "ajain".
I am uploading the files on File Server through SSH. However, I am not able to show the documents because I am not saving the files on application server.
If the file would be on local application server, I will be able to access it through "http:// localhost/my_app/app/webroot/scanned/ajain/abc.jpg". But instead of it, if the file exists on file server. How do I access it through http path.
Possible solution I tried is to change the document root path from "/var/www/html" to "/home/new1/fs_path/scanned/". But this forced me to put my application code on the later path (on file server). Which is not making sense for me.
I also tried to use JkMount command in httpd.conf file using jkmod module, but didn't get any success.
Please suggest the solution. Any help would be appreciated.