CGI script cannot access NFS drive?
I'm moving a website from an old server running Fedora Core 2 and Apache 2.0 to a new server running Fedora Core 5 and Apache 2.2. The website uses a CGI script that accesses a file, /generic/logfile. /generic is an NFS drive, mounted from another computer.
The script has no trouble accessing the logfile on the old server, whether I run it independently or as CGI through a browser . Also, on the new server, the script works fine if I run it as an independent perl script. However, when I call it through a browser as a CGI script, it CANNOT access the file. It seems like a permissions problem, but the permissions are the same on both servers. Perhaps I need to edit my httpd.conf? Any ideas? Thanks! |
it could be the new SE Linux, not sure though
|
Do you have SELinux enabled? If so, it is protecting you from yourself. Check your /var/log/messages for 'avc: denied' messages. If that's the cause, and you want to enable the functionality, then follow the directions in this thread.
|
All times are GMT -5. The time now is 05:31 PM. |