Operating Systems > Linux and UNIX

Apache Help

(1/2) > >>

LorKorub:
I was able to get Apache running as Root, but I can't seem to get it going as User.  When I try to run it I get this error:

startproc: command not found.

I tried searching on Google for an answer, but I was unsuccessful.  The man page wasn't much of a help either.

Any suggestions?

choasmaster:
startproc command not found, sound like you don't have a file in your $PATH

edit the .bash_profile
and add all the places exacutible files are stored
like
/sbin
/usr/sbin
/usr/local/sbin

that should do it

voidmain:
Uh, what *NIX are you running this on? Linux?  If so, what distro and version?  Apache should start from one of the init scripts (usually something like /etc/rc.d/init.d/httpd).  It is usually configured to start under the user "apache" or "nobody".  Why do things the hard way?

LorKorub:
I am running SuSE Linux 8.0. The thing is, is that I don't have a static IP Address, so everytime Apache would run, I'd have to edit the httpd.conf file.  

Thanks for the help.

choasmaster:
use ifconfig and sed, it might be possible to make a  script that edits the httpd.conf for you. then agian, i know jack shit about howto do that, maybe voidmain would

Navigation

[0] Message Index

[#] Next page

Go to full version