httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Pasher <just...@newmediagateway.com>
Subject Re: [users@httpd] A simple, probably configuration problem
Date Fri, 14 Nov 2008 23:38:58 GMT
Tolga Guver wrote:
>
> Hi,
>
> I have just setup an apache server in which i want one general page
> linked to the users own web pages in their home directories.
> I setup the httpd.conf so that users public_html folders be accessible :
>
> <IfModule mod_userdir.c>
>     # UserDir disable
>     UserDir public_html
> </IfModule>
>
> however when i try to access to a users web page i get the error
> The requested URL /~tolga/ was not found (although it is there and
> permissions are correct)
> when i check the error_log of httpd i have realized that the server
> was actually looking for a folder
>
> /var/www/html/~tolga instead of /home/tolga
>
> [Fri Nov 14 12:56:10 2008] [error] [client 10.250.33.16] File does not
> exist: /var/www/html/~tolga
>
> I was wondering if there is a way to overcome this problem. It is
> probably a simple one but i couldn't solve it.
>
> thanks a lot
> tolga
>

Just to take the obvious out of the equation, you are loading 
mod_userdir in your apache config, correct? Do you by chance have any 
rewrite rules in your config that might be messing with the URL?


-- 
Justin Pasher

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message