Rockett15 Posted December 11, 2003 Share Posted December 11, 2003 :crazy: I have been going nuts trying to figure oput why my apache web server won't run, I have previously set-up a server on my windows box and wanted to get the thing running in Linux. Therefore I compiled a a set of screenshots of my set-up and the error in hope that someone can pick a mistake or has had this error and can tell me how to fix it..Please note: I am n00b when it comes to linux servers..so be kind :) http://members.rogers.com/rrsj/httpd/config1.jpg http://members.rogers.com/rrsj/httpd/config2.jpg http://members.rogers.com/rrsj/httpd/config3.jpg http://members.rogers.com/rrsj/httpd/app.jpg http://members.rogers.com/rrsj/httpd/launch.jpg Link to comment Share on other sites More sharing options...
NeoMasamune Posted December 11, 2003 Share Posted December 11, 2003 um, pics aren't showing up Link to comment Share on other sites More sharing options...
Rockett15 Posted December 11, 2003 Author Share Posted December 11, 2003 they are now :p (was fixing it) Link to comment Share on other sites More sharing options...
NeoMasamune Posted December 11, 2003 Share Posted December 11, 2003 on the fourth screen (app.jpg), it says that the httpd service is stopped. You have to start it by hitting the start button in the menu. Try it and see if it works. Also, your files should go in the /var/www/html (i think) folder. Link to comment Share on other sites More sharing options...
Rockett15 Posted December 11, 2003 Author Share Posted December 11, 2003 lol I got the error message by clicking start :p Link to comment Share on other sites More sharing options...
Rockett15 Posted December 11, 2003 Author Share Posted December 11, 2003 and I am under the impression that "document root directory" is the directory you wish to share...or that's what I remember from the win32 config Link to comment Share on other sites More sharing options...
Vidar Posted December 11, 2003 Share Posted December 11, 2003 Document Root is where you wish to share. By *default*, in RH/Fedora, its in /var/www/html --- which is about as secure as an a wet paper bag. To be honest, I've never used the gui setup utility. Try opening your httpd.conf in gedit/kedit/pico/nano/etc. ... and see if you can see where its tripping on itself. The error is letting you know its the configuration - probably something the gui setup utility isn't showing/editing. Sometimes Caveman style is best ;) Link to comment Share on other sites More sharing options...
Rockett15 Posted December 12, 2003 Author Share Posted December 12, 2003 :no: still no luck LOL even by manually editing the config.. I mean what's annoying even more... is I compiled it from a tarball the other night and loaded it.. and then people couldnt access it as it wasnt the "build in version" or so I believe Link to comment Share on other sites More sharing options...
kemical Posted December 12, 2003 Share Posted December 12, 2003 post your apache config file Link to comment Share on other sites More sharing options...
UKer Posted December 12, 2003 Share Posted December 12, 2003 :no: still no luck LOL even by manually editing the config.. I mean what's annoying even more... is I compiled it from a tarball the other night and loaded it.. and then people couldnt access it as it wasnt the "build in version" or so I believe I don't know for sure, but if you're not using the stock apache the gui provided by redhat may be generating an invalid config file, try starting with a default one, I'm not sure where it resides though. Link to comment Share on other sites More sharing options...
Lighthater Posted December 13, 2003 Share Posted December 13, 2003 Kemical has a good idea. Post your config file. That will be the easiest way to see whats going on. A lot of us don't use the gui to configure apache. Link to comment Share on other sites More sharing options...
zivan56 Posted December 13, 2003 Share Posted December 13, 2003 Or better yet look at the apache error log file, it usually tells you exacly what the problem is. Link to comment Share on other sites More sharing options...
Rockett15 Posted December 13, 2003 Author Share Posted December 13, 2003 :unsure: appologies for the late response.. havent had chance to reply however, the file is attached :) httpd.conf Link to comment Share on other sites More sharing options...
Rockett15 Posted December 13, 2003 Author Share Posted December 13, 2003 :blink: I was also thinking I could run through the apache set-up on my windows desk and see if there are any strange differences between the too :) Link to comment Share on other sites More sharing options...
kemical Posted December 14, 2003 Share Posted December 14, 2003 the serverroot /etc/httpd looks weird but again i d unno if that is where apache gets installed to on your system Link to comment Share on other sites More sharing options...
Rockett15 Posted December 14, 2003 Author Share Posted December 14, 2003 ;) see, what I found odd is I can't for the love of god find the damn executable... yet there httpd files on /etc/httpd/ // that is where the config files are Link to comment Share on other sites More sharing options...
mr_daemon Posted December 15, 2003 Share Posted December 15, 2003 Take a look at /usr/local/apache, if present... Link to comment Share on other sites More sharing options...
Danrarbc Posted December 15, 2003 Share Posted December 15, 2003 The executable is in /usr/sbin Libraries are in /usr/lib/httpd Link to comment Share on other sites More sharing options...
Recommended Posts