And, I presume, apache is listed as "httpd" when you issue "ps ax".
??? apache is listed as httpd if I open localhost in Galeon
"ps ax" is a command. You need a command line window (in other words a console or a terminal) to issue commands. Try to start console by clicking the icon "computer screen with a yellow shell". See the attached picture of the icon.

How did you start apache?
Via Galeon
Via apachect1 start in a terminal
There is also a different way to start apache. As root, run "/etc/rc.d/init.d/httpd start" in terminal.

Which line did you change in httpd.conf?
Don't know by heart, tried 'all options'
This is bad. Next time please write down your steps. It is difficult to help you otherwise.

- Do you need to login as root to browse localhost web pages?
I only get the default page and can not go any further from ther, that's the
problem I was trying to address
Well, your original question was "Can I configure Apache for multiple users? SO I do not need to login as root (which is pretty risc-full with the GUI's".

I do not know how to answer this question because it does not make sense to me. That's why I asked the other questions. A correct question is half of the answer :-)

I will try to figure out the correct question:

- apache is automatically multi-user. Anyone can browse webpages published by apache (unless specifically forbidden). This is similar to Microsoft IIS and other webservers. They also publish webpages for everyone.

- only root can start apache manually ("/etc/rc.d/init.d/httpd start").

- to start apache automatically when Linux starts, the root user must create a symlink that points from "/etc/rc.d/init.d/httpd" to "/etc/rc.d/rc5.d/S80httpd". You can also use a different number than 80, it just specifies process startup order. In other words you can create symlink to "/etc/rc.d/rc5.d/S90httpd" if you prefer apache to start later. If this link exists, apache will start automatically next time you boot Linux.

- If you do not know how to create symlink, learn how to do it. Issue "man ln" and concentrate upon the "ln -s" option. It is very useful to understand symlinks. It will help you with many aspects of Linux. Symlinks are like Windows "shorcuts", only more powerful.

- If you absolutely refuse to learn symlinks, Mandrake allows you to do the same thing with your mouse. Start DrakConf, click System, click Services, and depress "On Boot" button in the httpd line.

Since this answer may be useful to other people, I posted it to Mandrake Newbie conference. In my opinion tt is better to keep the discussion there.

--
Milos Prudek

<<inline: console_icon.png>>

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Reply via email to