default conf path

default conf path

Post by Sean Ha » Thu, 10 Dec 1998 04:00:00



Hi:

I tried to reinstall the apache to our unix server. I found the former
administrator install the server in the following manner:

httpd ---->%ServerRoot/sbin
*.conf --->%ServerRoot/etc/apache
httpd.pid -->%ServerRoot/var/apache/run
httpd.log -->%ServerRoot/var/apache/log

But my new-compiled apache always looks for those *.conf  file in the path :
%ServerRoot/conf. I know we can use the -f argument to change the search
path of httpd.conf. However, is there any way to make apache's default
config path as %ServerRoot/etc/apache in the compile time or run time?

Thanks!

--
Sean Han - Service Technologies
Picker International
600 Beta Drive,
Mayfield Village, Ohio 44143
Voice: 440-473-6466

 
 
 

default conf path

Post by Dave Itte » Thu, 10 Dec 1998 04:00:00



> Hi:

> I tried to reinstall the apache to our unix server. I found the former
> administrator install the server in the following manner:

> httpd ---->%ServerRoot/sbin
> *.conf --->%ServerRoot/etc/apache
> httpd.pid -->%ServerRoot/var/apache/run
> httpd.log -->%ServerRoot/var/apache/log

> But my new-compiled apache always looks for those *.conf  file in the path :
> %ServerRoot/conf. I know we can use the -f argument to change the search
> path of httpd.conf. However, is there any way to make apache's default
> config path as %ServerRoot/etc/apache in the compile time or run time?

Look in the src/include directory at httpd.h

Dave

 
 
 

1. default $PATH / $PATH for daemons running as root?

I'm currently configuring a new Solaris 8 system.

If I login as 'install' (no home dir + no login scripts) the path is set as
/usr/bin:
If I login as root (no home dir + no login scripts) the path is set as
/usr/sbin:/usr/bin

Where are these default paths specified??

In /etc/default/login the following lines appear:

# PATH sets the initial shell PATH variable
#
#PATH=/usr/bin:

# SUPATH sets the initial shell PATH variable for root
#
#SUPATH=/usr/sbin:/usr/bin

All lines are commented out but seem to apply to the two different account
as described above!?! Is it these lines that are specifying the default
paths?

Also my sshd runs as root and the installation instructions
(http://www.sunfreeware.com/opensshdoc.html) states:

4. Add the following to the /.profile
     root# vi /.profile
     PATH=$PATH:/usr/local/bin:/usr/local/sbin
     LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

I'd like the root account to have a limited $PATH. This makes me realise
that I don't understand how daemons running as root establish what there
paths are, I can only imagine that they perform some kind of 'su -' as they
start-up??

An explanation would be appreciated

Thanks,

Edward.

2. Bus error with netscape???

3. add in the PATH a path if not present in the PATH

4. Loadable device drivers...in V.4?

5. ksh: add path to $PATH only when ot yet in $PATH

6. Urgent !!! Apache & ASP under Linux

7. zsh's 'typeset -U path' wipes out path/PATH

8. Mice

9. Can I define srm.conf, access.conf in httpd.conf ?

10. PATH=$(getconf PATH), but PATH for getconf?

11. set path = "$path" hoses path in tcsh -- why???

12. How to expand paths in $PATH like "~/bin" to full path?

13. make.conf, kernel.conf, world.conf?