Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: Apache only works with -X
- To: tlug@example.com
- Subject: Re: tlug: Apache only works with -X
- From: Darren Cook <darren@example.com>
- Date: Mon, 21 Sep 1998 17:06:23
- Content-Type: text/plain; charset="us-ascii"
- In-Reply-To: <3.0.6.32.19980921154351.009a4a80@example.com>
- References: <13829.60618.808232.409302@example.com><3605E809.41C67EA6@example.com><3605DE5523B.F49CWASHI@example.com><3605E809.41C67EA6@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
I wrote: >This works. So then I added the User and Group statements to httpd.conf >(copied from the other Apache), and removed the -X, and now the module is >complaining that it can't open a file. I can get pages that don't go >... >Would the current directory be different running as root and as a different >user? The module assumes it is ServerRoot, so all paths are relative to that. My guess was right. As root the current directory was the ServerRoot, but the User servers have / as the current directory. Adding this line near the module start cured the problem: chdir(ap_server_root); I also needed to include this header file: #include "http_conf_globals.h" //For ap_server_root Darren --------------------------------------------------------------- Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 --------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- References:
- Re: tlug: Mew on (X)Emacs the way to go?
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Re: tlug: Mew on (X)Emacs the way to go?
- From: Howard Abbey <habbey@example.com>
- tlug: Mew on (X)Emacs the way to go?
- From: John De Hoog <washi@example.com>
- tlug: Apache only works with -X
- From: Darren Cook <darren@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: Recommend Japanese KB?? (was: Re: US student moving to Tokyo)
- Next by Date: Re: tlug: Mew on (X)Emacs the way to go?
- Prev by thread: tlug: Apache only works with -X
- Next by thread: Re: tlug: Mew on (X)Emacs the way to go?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links