Access Subdirectories in Apache 1.3.33

arew264

OSNN Junior Addict
Joined
22 Feb 2005
Messages
36
Hey everybody, I'm running Apache on an old linux box I made, 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.
 
Or.. Put somthing in the respective directories that apache can serve
 
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?
 
add this to your httpd.conf

AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
 
Sorry, that doesn't seem to do it. If I put it at the top of the file, it says thats it's an invalid command, si I moved it to the bottom and it works but still asks to download the file instead of loading it. I just don't get it. I also had one other complication, and that is that, since I'm using a damn small linux computer, I use debian packages. WHen installing the libapache-php package, I kept getting an exit error 1 (whatever that is) and when I tried to install php4, it said it required it and quit. I had to uninstall whatever was there of libapache to stop php from trying over and over to reinstall it, install php and skip the dependencies, and reinstall libapache. It worked perfectly wieh I reinstalled libapache, and that puzzles me. at any rate, they both appear to be fine. Again, I would really appreciate any further help you could give me to get Apache to let me load the PHP webpage.
 
I'm not too familiar with debian packages, but you need to find some way of tracking dependancies as well.

exit error 1 is usually preceeded by a mass of other text that tells you what went wrong.
 
There was nothing saying what went wrong, but as an FYI I am currently reinstalling Apache, MySql and PHP4 from binary packages (MySQL from RPM) because all documentation is based on binary packages and not debian's port. THanks for your help, I'll post again soon.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back