664
Running Servers Part V
???File not found??? errors can be checked in the same way as access forbidden and server
internal errors. You may sometimes find that Apache is not looking where you think it is
for a specific file. Generally, the entire path to the file shows up in the error log. Make sure you are
accessing the correct virtual host, and check for any Alias settings that might be directing your
location to a place you don??™t expect.
File permissions??”A ???file permissions prevent access??? error indicates that the apache
process is running as a user that is unable to open the requested file. Make sure that the
account has execute permissions on the directory and every directory above it, as well as
read permissions on the files themselves. Read permissions on a directory are also necessary
if you want Apache to generate an index of files. See the manual page for chmod for
more information about how to view and change permissions.
Read permissions are not necessary for compiled binaries, such as those written in
C or C++, but can be safely added unless there is a need to keep the contents of the
program secret.
Access denied??”A ???client denied by server configuration??? error indicates that Apache
was configured to deny access to the object.
Pages:
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228