Apache with Samba or CIFS Shared Files
Web server and File server is good to be placed on different machine.
In my case, I have web server running apache+php+mysql under Centos Box, and File Server is on Windows Advanced Server 2000. The problem is apache cannot read the php file in Windows server.
All I have done :
- I added line at fstab configuration
//192.168.1.3/data/media/code cifs username=administrator,password= 0 0 - I edit httpd.conf as below
EnableMMAP off
EnableSendfile off
That’s all, and only that. Many people pay for this solution, But I gave you FREE !!.
No Comments »
No comments yet.