[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Date: Mon, 20 Dec 1999 23:20:04 +0530



Hitesh forced the electrons to say:
> can anybody guide me how to enable user webs on apache??
> i thoucht they are on by default
> but giving an address like
> http://192.168.0.1/~user is not connecting to the server
> whereas http://192.168.0.1/ works
> and if u can also guide me as how to amke the url look like
> http://192.168.0.1/user 

Read the docs/conf files...

Check /etc/httpd/conf/srm.conf to see if the line
UserDir  public_html
is commented out.

Then check if ~user and ~user/public_html has x permissions for others.
Next, check ~user/public_html/index.html has r perms for others.

If you had to change /etc/httpd/conf/*.conf, then better restart httpd.

As to the second query, one suggestion is to link
~user/public_html to /home/httpd/html/user (or wherever your ServerRoot is).

Binand

-- 
#include <stdio.h>                                   | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c;     | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c";    | printing program.
int main(){printf(p,10,34,p,34,10);return 0;}        | Try it!!
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.