You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, August 31st 2003, 12:35pm

Apache

Hey!!
I installed the Apache 2.0 on MDK 9.2, but it didnt work,
after I missed up a while it worked, and I tested it http://localhost

the problem is that i have to run it manually every time.
how can I over come this...

although when I run it, some modules seems not to work fine too.

any Ideas!! :roll:

m4ktub

Intermediate

Posts: 257

Location: Lisbon, Portugal

Occupation: Software Engineer

  • Send private message

2

Tuesday, September 2nd 2003, 12:46am

Re: Apache

To run apache automaticly you only need to check if the file
[code:1]/etc/rc.d/init.d/httpd[/code:1] exists and make a link to it in the appropriate run level directory like this: [code:1]ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc5.d/S66httpd[/code:1]
If you list the directory rc5.d you will see more link named S... the http deamon will start after the last S... with a number less that 66 has started.

Any way, the better way to do this is by using a tool like drakeconf (capitalization is wrong) or ksysv if you have it and add the httpd script to run level 5 (you should also add it to the stop list to make it stop correctly each time you shutdown).

About the modules...the only thing I can say is: Did you installed everything?
If you did you should have a look at the configuration file [code:1]/etc/httpd/conf/httpd.conf[/code:1] (in RH) and figure out what have you changed or what is wrong.

Good luck :D