On Mon, January 1, 2007 4:06 pm, Rod Rook wrote: > I've been running httpd web server under Fedora Core 4. > > Now, I installed Fedora Core 6 onto another hard drive and configured > httpd > server with the same /etc/httpd/conf/httpd.conf as under FC4. > > My web server is running now, but outside browsers get an error > message of > no permission to access to the following files: main.php and menu.php. Exactly what error message is it? WILD GUESS: It's something about "safe mode" or "exec_dir" These are PHP settings from php.ini which have almost nothing to do with Apache per se. Compare your old php.ini and the new one, if you can, or turn off "safe_mode" (which is a horrible name for something that isn't really all that safe, and which does nothing useful at all if you are running PHP as a Module, and which is going away in PHP 6 anyway) You can also relax the restrictions on exec_dir until you can figure out how to work that correctly, with very little risk -- It really is only useful for ISPs with shared hosting, for the most part. > Here is the properties of the files. > > -rwxrwxr-x 1 user_u:object_r:user_home_t webroot webroot 466 > Feb > 27 2006 index.php > -rwxrwxr-x 1 user_u:object_r:user_home_t webroot webroot 4197 > Feb > 27 2006 main.php > -rwxrwxr-x 1 user_u:object_r:user_home_t webroot webroot 529 > Nov > 29 2005 menu.php > > The index.php is supposed to execute main.php and menu.php. > > What could be wrong with the file permission properties? > > Thank you. > > pine > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx