Re: How to install Apache without a root account?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/1/07, Hongliang Wang <loudwang@xxxxxxx> 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.

Krist


--
krist.vanbesien@xxxxxxxxx
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux