| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 25720 | 2002-10-10 09:15:00 | SuSE, Apache and no default httpd.conf | Clueless (181) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 87832 | 2002-10-10 09:15:00 | I've got to laugh at my own stupidity.. heres what i've done. I had a real good play with Sam the Linux box, and found all sorts of settings and what they do. However i seem to have seriously stuffed up my httpd.conf file, and the back up files seem to be less than desirably intact. I have removed the httpd.conf file, uninstalled apache and its components, re installed. No go. There doesn't seem to be anyway that will give me an absolutly stock standard httpd.conf file, and without that my web server won't work at all. Of course that may not be the only reason, but i need to get a standard httpd.conf file out of thin air for my server to run. Ironicly i have been approached by 2 people this week who want to put it to real use, so i'm extra keen to get it back up. If anyone wishes to email me a stock standard SuSE8/Apache httpd.conf (i think the SuSE people know my email address) i'd be mightally appreciative. |
Clueless (181) | ||
| 87833 | 2002-10-10 11:07:00 | If you still have pugwash@ you will need to change the httpd.old to httpd.conf and hopefully everything will be sweet. | Gorela (901) | ||
| 87834 | 2002-10-10 23:31:00 | pugwash@ihug.co.nz expires in about 2 weeks.. When my flatmate finishes playing games on Vanessa,the 'doze box, and i've had breakfast, i shall go and check my E's. V still is the email computer till i get a better understanding of SuSE, and the installation is therefore semi permanant. I have the follwing back up files, both in the same directory: httpd.conf~ hrrpd.comf.rpmsave Unfortunatly a search reveals no "httpd.old" and both the other 2 have "syntax errors" when i try to use them.I have written them off as a bad cause in the mean time. I'm also pretty sure that the SuSE httpd.conf file is quite differant to other Linux distributions as bits of apache are installed in all sorts of different places. |
Clueless (181) | ||
| 87835 | 2002-10-11 03:15:00 | SuSe puts things in different places ... Oh Dear. Oh Excrement. X-( WHY DO PEOPLE DO THESE THINGS. ?:| Linux has a standard directory layout. That is for a reason. That is so that things will bloody well WORK on different distributions, without a lot of stuffing around. Look for a SuSe Apache download. Download it, and you should be able to extract only the conf file. (If it's an rpm package, mc will do that. If you haven't got mc, get it). ;-) If it's a tarball (.tgz or tar.gz) "tar xvzf tarball_name *httpd.conf" should work. |
Graham L (2) | ||
| 87836 | 2002-10-11 05:21:00 | Just had another think ... that httpd.conf~ is a backup copy from the last time you edited httpd.conf. The .rpmsave one ought to be a copy of the original one which was installed from the package. It might be worth having a look at one of them .. probably the .rpmsave one (make a copy of it first ... (I often make any such file read only, to stop accidents). The "syntax error" messages should give you line numbers ... which should be a help. | Graham L (2) | ||
| 87837 | 2002-10-11 05:51:00 | httpd.conf.rpmsave aint no good Graham. I tried running with that, all i got was syntax errors... |
Clueless (181) | ||
| 87838 | 2002-10-11 06:02:00 | Well, try uninstalling the Apache. Copy those ".conf" files to your home directory or somewhere (in case you need reminding about things you have changed). (You'll have a install/uninstall graphic thing there, I'm sure). I suggest "uninstalling" rather than "deleting", because of the things hanging around. Then install it. (You'll have the package on one of those CDs. If you haven't got a utility to Un/In , (but I'm sure you will have one) use the "force" option of RPM ... | Graham L (2) | ||
| 87839 | 2002-10-11 06:20:00 | I'll give that a go Graham, but tommorow.. i got to go out now. Gorela emailed me a default one, no syntax errors, everything in the right place(as far as i can tell) and still no go... mmmmmm ta for the advice (still) Clueless |
Clueless (181) | ||
| 87840 | 2002-10-11 06:36:00 | i just typed "killall httpd" and it said "no process killed" ?:| so i assume that apache is not actually running, so some where in the numerous installs/uninstalls i assume i stuffed it up.... to make sure i typed "httpd" then "killall httpd" and got the same result One further question, if i stick everything i want to keep in the "home" partition, can i uninstall/reinstall SuSE from scratch, complete with a reformat of the non home partitions? |
Clueless (181) | ||
| 87841 | 2002-10-12 01:04:00 | Is it "httpd" or "http" to start it? ... I forget. It's just a script, so it could be http... I'm pretty sure that /home is left alone ... at most it will create directories such as /home/ftp if they are needed. But being clever *nnix, it will have a look first ... and if they exist, it won't do it again. |
Graham L (2) | ||
| 1 2 | |||||