Apache denies access to subdirs


Forum: Networking
Topic: Apache denies access to subdirs
started by: arew264

Posted by arew264 on May 01 2005,02:22
Hey everybody, I'm running Apache on DSL, and I've hit a snag trying to get a forum to work on it. How would one go about letting clients access subdirectories in the main site directory? My main directory is /var/www and I want to allow access to /var/www/cgi-bin and /var/www/forum. I just don't understand how to make it work. Instead of letting me access the folders, I get a 403 forbidden error. Any help would be appreciated.
Posted by cbagger01 on May 01 2005,15:02
The sledgehammer approach would be to enable permissions for all directories and files there.  Not the best answer, security wise but it should work.

chmod 777 -R /var/www

Posted by cbagger01 on May 01 2005,15:04
The sledgehammer approach would be to enable permissions for all directories and files there.  Not the best answer, security wise but it should work.

chmod 777 -R /var/www

Posted by arew264 on May 01 2005,17:15
OK, I can now access subdirectories in my server. Now I have another problem. I'm trying to install the simple machines forum on it, and I have installed the debian libapache-mod-php4_4.3.10 file, but whenever I go to /finalforum/install.php to start the install, I get the option to download the file. WHat am I doing wrong that it doesn't just open it?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.