You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Craig M. Houck" <ch...@binghamton.edu> on 2006/07/27 15:46:21 UTC
Re: [users@httpd] UserDir directive not seen, instead
DocumentRoot from httpd.conf prefixing ~user
Josh;
Thanks for the help.
If you look back at the email you responded to I included httpd.conf and I
have the same entry there as userdir.conf.
What files should I be including to get this problem solved?
thanks
Craig
At 09:21 AM 7/27/2006 -0400, Joshua Slive wrote:
>On 7/27/06, chouck <ch...@binghamton.edu> wrote:
>
>> If I load http://bingiwas.binghamton.edu/~chouck into a browser I get an
>> error in my /var/apache2/error.log:
>>
>> [Thu Jul 27 08:54:05 2006] [error] [client xxx.xxx.xx.xx] File does not
>> exist: /var/www/bingiwas/~chouck
>>
>> /var/www/bingiwas is the DocumentRoot for the bingiwas.binghamton.edu
>> virtual host I am using.
>
>That means it is not seeing the UserDir directive. Try putting it
>directly in httpd.conf rather than in some external file that may or
>may not be properly included.
>
>Joshua.
>
>---------------------------------------------------------------------
>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
>
>
RbtBotL
Craig - ><>
o BU SysAdmin
/|\ 607 777 6827
^ Tot Ziens
---------------------------------------------------------------------
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
Re: [users@httpd] UserDir directive not seen, instead DocumentRoot from httpd.conf prefixing ~user
Posted by Joshua Slive <jo...@slive.ca>.
On 7/27/06, Craig M. Houck <ch...@binghamton.edu> wrote:
> I went back before this email and realized it wasn't the same.
> I changed it so httpd.conf looks like:
>
> # This is here for backwards compatability reasons and to support
> # installing 3rd party modules directly via apxs2, rather than
> # through the /etc/apache2/mods-{available,enabled} mechanism.
> #
> # using bingiwas from bingnfs1 httpd.conf as an example
>
> <IfModule mod_userdir.c>
>
I already told you to drop the <IfModule> stuff.
> Should I still be using apache2.conf when I uswe httpd.conf?
That depends on how your server was compiled. On a standard compile
(as downloaded from apache.org) it is httpd.conf. But your
distributor might have changed something.
> Another admin and I were talking, we think another problem is that we are
> not using NIS
> on this box. It appears that NIS just flat won't work on an Debian ETCH box.
If UserDir was active but couldn't find the home directory, you should
get an error to that effect. Using a directory under the DocumentRoot
indicates UserDir is not active.
Joshua.
---------------------------------------------------------------------
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
Re: [users@httpd] UserDir directive not seen, instead
DocumentRoot from httpd.conf prefixing ~user
Posted by "Craig M. Houck" <ch...@binghamton.edu>.
I went back before this email and realized it wasn't the same.
I changed it so httpd.conf looks like:
# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
# using bingiwas from bingnfs1 httpd.conf as an example
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /u0/users/*/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch
IncludesNoExec
</Directory>
</IfModule>
NameVirtualHost 128.226.6.37
<VirtualHost 128.226.6.37>
ServerName bingiwas.binghamton.edu
DocumentRoot /u0/users
#DocumentRoot /var/www/bingiwas
CustomLog /var/log/access_log common
<Directory /u0/users/*/public_html>
Order deny,allow
Allow from all
AllowOverride Limit AuthConfig
Options +IncludesNOEXEC -FollowSymLinks -ExecCGI +Indexes
</Directory>
<Directory /u0/users/*/public_html/cgi-bin>
Options execCGI
SetHandler cgi-script
</Directory>
</VirtualHost>
Should I still be using apache2.conf when I uswe httpd.conf?
Another admin and I were talking, we think another problem is that we are
not using NIS
on this box. It appears that NIS just flat won't work on an Debian ETCH box.
At 10:41 AM 7/27/2006 -0400, Joshua Slive wrote:
>On 7/27/06, Craig M. Houck <ch...@binghamton.edu> wrote:
>> Josh;
>>
>> Thanks for the help.
>>
>> If you look back at the email you responded to I included httpd.conf and I
>> have the same entry there as userdir.conf.
>
>No, you do not. Read your httpd.conf again.
>
>Joshua.
>
>---------------------------------------------------------------------
>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
>
>
RbtBotL
Craig - ><>
o BU SysAdmin
/|\ 607 777 6827
^ Tot Ziens
---------------------------------------------------------------------
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
Re: [users@httpd] UserDir directive not seen, instead DocumentRoot from httpd.conf prefixing ~user
Posted by Joshua Slive <jo...@slive.ca>.
On 7/27/06, Craig M. Houck <ch...@binghamton.edu> wrote:
> Josh;
>
> Thanks for the help.
>
> If you look back at the email you responded to I included httpd.conf and I
> have the same entry there as userdir.conf.
No, you do not. Read your httpd.conf again.
Joshua.
---------------------------------------------------------------------
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