httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <>
Subject Re: [users@httpd] How to install Apache without a root account?
Date Tue, 01 May 2007 11:22:26 GMT
On 5/1/07, Hongliang Wang <> wrote:
> Still cannot get it working...
> I start with
> ./configure --prefix=~/www
> make
> make install
> then,
> hwg300@fspc233:~/www/bin$ ./apachectl start
> fopen: No such file or directory
> httpd: could not open document config file ~/www/conf/httpd.conf
> ./apachectl start: httpd could not be started
> But the configuration file is definately there !!

No, it's not there. the file is in /home/hwg300/www/conf/httpd.conf

The shortcut "~" for a homedir only works in a shell (and not even in
all shells). httpd is litterally trying to open httpd.conf in a subdir
of a subdir of a subdir of the "~" dir, which does not exist.

So do what the other person suggested, and start apache with the -f
<location of config file> option.
Also make sure that all no paths in your config file contain "~" as a basis.


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message