You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by JC <jc...@cablenet.com.pe> on 2009/10/03 21:15:35 UTC

[users@httpd] problem with virtualhost

I'm trying to install a web mail in a new server with the following items:
Debian 2.6.26-2-amd64
horde 3.2.2
imp 4.2.4
apache 2.2.9
php 5.2.6

when I try to install for the first time to configure it by web, it show the
following:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Please contact the server administrator, [no address given] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.
More information about this error may be available in the server error log.

And the log (apache2 error.log) shows the following:
[Wed Sep 30 12:31:26 2009] [error] [client 200.60.166.10] (13)Permission denied:
exec of '/var/www/horde3/login.php' failed
[Wed Sep 30 12:31:26 2009] [error] [client 200.60.166.10] Premature end of
script headers: login.php

these are the permissions
-r--r--r-- 1 www-data www-data  8740 ene 29  2009 login.php

smtp:/var/www# ls -l
lrwxrwxrwx 1 root root 18 sep 27 22:31 horde3 -> /usr/share/horde3/

smtp:/usr/share# ls -l
drwxr-xr-x  18 www-data www-data  4096 sep 27 17:09 horde3

I hope you can help to resolve this problem



---------------------------------------------------------------------
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] problem with virtualhost

Posted by André Warnier <aw...@ice-sa.com>.
JC wrote:
> I'm trying to install a web mail in a new server with the following items:
> Debian 2.6.26-2-amd64
> horde 3.2.2
> imp 4.2.4
> apache 2.2.9
> php 5.2.6
> 
> when I try to install for the first time to configure it by web, it show the
> following:
> Internal Server Error
...
> 
> I hope you can help to resolve this problem
> 
Hi.
Probably not.
The main reason is that, for a very first attempt, you are trying too 
many things at once.
Maybe a better way would be to de-install all these packages, and 
re-install just Apache httpd.  Then, verify that it is working, by the 
very simple method of accessing the server with your browser, like this 
: http://the-name-of-your-server
You should then get a page saying : It works !
Do you ?
If you do, then add one more package, and test if it works according to 
its installation instructions.  And so on.
As soon as you encounter something that does not work as expected, then 
go to the user's list of *that* package, and enquire why, explaining 
what you have done so far.

---------------------------------------------------------------------
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