Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Apache denies access to subdirs, I cant figure it out< Next Oldest | Next Newest >
arew264 Offline





Group: Members
Posts: 51
Joined: April 2005
Posted: May 01 2005,02:22 QUOTE

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.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: May 01 2005,15:02 QUOTE

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
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: May 01 2005,15:04 QUOTE

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
Back to top
Profile PM 
arew264 Offline





Group: Members
Posts: 51
Joined: April 2005
Posted: May 01 2005,17:15 QUOTE

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?
Back to top
Profile PM 
3 replies since May 01 2005,02:22 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Apache denies access to subdirs

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code