Click to See Complete Forum and Search --> : how can I get Apache to start on boot up with Mandrake 8.1?


DJKAOS
11-24-2001, 11:58 PM
Well I finally got PHP and apache and mysql working.
Right now I'm doing everthing as ROOT..
so I just manually type in ./apachectl start
when I want to work on php stuff...

is there a way to put that in a bootup script somewhere? the NFS on this site is for slackware and it shows t he file as being /etc/rc.d/rc.M

I dont have that file though, so I guess Mandrake does it diffrent?

Also, when I login to my user account I can't do anything with my web pages because only the root has access to them, should I just make /usr/local/apache/htdocs/ let any user have access? or is there a better way?

Thanks

DJKAOS
11-25-2001, 12:21 AM
got it working on boot up.

Now I just wonder about making php files and html files....
Do they have to be stored in /usr/local/apache/htdocs/
??
because unless I'm in the root directory I cant really do anything with it.

subnet_rx
11-25-2001, 02:12 AM
that's defined in apache.conf I believe.

I also thought it was bad to start it on boot, especially if you use xinetd

DJKAOS
11-25-2001, 05:40 PM
whats bad about starting it on boot up?