Help - Search - Members - Calendar
Full Version: More Apache problems
MandrivaUsers.org > Advanced Topics > Networking
timid1
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.
timid1
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.