[horde] passwd-2.1 install problem

Admin-Stress meerkapot at yahoo.com
Mon Feb 3 00:45:19 PST 2003


--- Eric Rostetter <eric.rostetter at physics.utexas.edu> wrote:
> Quoting Admin-Stress <meerkapot at yahoo.com>:
> 
> > I just installed passwd-2.1, but I got little problem with my setup, if you
> > could help me.
> 
> There is a sork mailing list you might want to join/use also.
> 
> > I want to access imp via http://webmail.example.com/
> > 
> > So, I installed horde + imp like this :
> > 
> >    /home/www/webmail/horde
> >    /home/www/webmail/horde/imp
> > 
> > And apache like this :
> > 
> > <VirtualHost *>
> >    ServerName webmail.example.com
> >    Alias /imp/ /home/www/webmail/horde/imp/
> >    Alias /horde/ /home/www/webmail/horde/
> >    DocumentRoot /home/www/webmail/horde/imp
> >    ScriptAlias /cgi-bin/ /home/www/webmail/cgi-bin/
> >    ErrorLog /home/www/webmail/logs/error_log
> >    CustomLog /home/www/webmail/logs/access_log common
> > </VirtualHost>
> 
> [...]
> 
> > I tried adding in apache vhost :
> > 
> >     Alias /horde/passwd/ /home/www/webmail/horde/passwd/
> > 
> > But still, I got that forbidden problem.
> 
> You will need that line, as it is outside of your document root.
> 
> Did you restart the web server after adding that?

Yes, I did ...

> If so, it may be a problem with your default permissions in your apache
> configuration. That is, you usually set the / (default, whole site) permissions
> really tight, then relax them for your document root or specific areas.

All are owned by root:root (or root:wheel), chmod 755
But, imp is working fine with this.

> What is in your apache error log when you try to access the passwd page?

Directory index forbidden by rule: /home/www/webmail/horde/passwd/

> And do your files in the passwd/ directory have file system permissions
> set right for the web server to access them (including the passwd/ directory
> iteself)?

Apache is run by nobody:nobody

# pwd
/home/www/webmail/horde/passwd
# ls -l
total 48
drwxr-xr-x    2 root     root         4096 Jan 31 02:35 config
drwxr-xr-x    2 root     root         4096 Oct  9 14:13 docs
drwxr-xr-x    2 root     root         4096 Oct  9 14:13 graphics
-rw-r--r--    1 root     root          900 Oct  9 13:50 index.php
drwxr-xr-x    3 root     root         4096 Oct  9 14:13 lib
drwxr-xr-x   17 root     root         4096 Oct  9 14:13 locale
-rw-r--r--    1 root     root         5707 Oct  9 13:50 main.php
-rw-r--r--    1 root     root         1162 Oct  6 21:13 menu.php
drwxr-xr-x    2 root     root         4096 Oct  9 14:13 po
-rw-r--r--    1 root     root         1835 Sep 13 12:41 status.php
drwxr-xr-x    5 root     root         4096 Oct  9 14:13 templates

I dont know what should I set as the permission in detail, I installed horde + imp as root, also
now passwd. I cant see in the FAQ/docs about setting permission of horde + imp + other projects.

Thanks for any help.

Regards,
kapot

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


More information about the horde mailing list