Guest timid1 Posted June 6, 2004 Report Share Posted June 6, 2004 Hi guys, I reported earlier that I was having problems getting Apache to listen to a port other than 80. That problem, thanks to SwiftDeath, has been fixed. Apache now successfully listens to the port I've set. I can access the index page stored in /var/www/html internally and externally without any problems. My problem is that I can't access any sub-directories. I've created a sub-directory, called images under /var/www/html and have placed pictures in that directory. I believe I have the appropriate permissions set for the directory in that the directory is set to 755, as well as all the contents of the directory. BTW /server-info also acts in the same manner. I get an access forbidden message from the browser. I believe that the problem may lie either within commonhttpd.conf or within Vhosts.conf, but I don't know where to start. I hope I've given enough information for you all to help. Any assistance that you can provide would be appreciated very much. Quote Link to comment Share on other sites More sharing options...
Guest timid1 Posted June 6, 2004 Report Share Posted June 6, 2004 Just adding an update to this to let you all know that I figured it out on my own. In httpd2.conf, the ServerName line was commented out. Turns out that I had to uncomment it and restart the Apache service. When I restarted it, I was being redirected to some weird site, http://localhost.be (or something like that). In any case, I went back to the httpd2.conf and changed the ServerName localhost line to ServerName 192.168.1.103; now no more problems. I can view all sub-directories without problems. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.