![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Well I've spent over 3-4 hours yesterday trying to get this to work, but with no luck.
Whenever I try to access the page I get the following errors in my logs. Code:
[Thu Jul 19 08:35:48 2007] [error] (13)Permission denied: exec of /usr/local/apache/htdocs/roundcube/index.php failed [Thu Jul 19 08:35:48 2007] [error] [client xx.xx.xx.xx] Premature end of script headers: /usr/local/apache/htdocs/roundcube/index.php My httpd.conf looks like this (among other things) Code:
<Directory "/usr/local/apache/htdocs/roundcube"> Options +ExecCGI AddHandler cgi-script .cgi </Directory> Alias /roundcube /usr/local/apache/htdocs/roundcube I have the default .htaccess, possibly this is causing the issue? Code:
# AddDefaultCharset UTF-8 php_flag display_errors Off php_flag log_errors On php_value error_log logs/errors php_value upload_max_filesize 2M <FilesMatch "(\.inc|\~)$|^_"> Order allow,deny Deny from all </FilesMatch> Order deny,allow Allow from all Thanks for the help Mark |
|
#2
|
|||
|
|||
|
Try deleting the htaccess, It can solve problems. I will see if I can fine out more about this problem, as I know I have head something like it before.
|
|
#3
|
|||
|
|||
|
Wow thanks for the quick response.
I've deleted the .htaccess from that dir (renamed it htaccess.old) but I still get the same error. Still an Internal Server Error with the same errors in the error log (premature end of script headers and (13)Permission denied) Thanks.. |
|
#4
|
|||
|
|||
|
hmm I think you may be have this problem: http://roundcubeforum.net/forum/index.php?topic=1726.0
|
|
#5
|
|||
|
|||
|
I'll take a look at that, though that appears to be for people who have Windows (I have linux)
I'll play with it though.. but I don't see the link between my issue and that one (but what do I know) ![]() |
|
#6
|
|||
|
|||
|
I'm almost 99% sure that it is an issue with my httpd.conf -- whenever I look up premature errors in general, people are giving tips on the httpd.conf setup.
Anyone able to paste how their httpd.conf is setup on the roundcube directory? Maybe simply mimicking that will fix the issue. |
|
#7
|
|||
|
|||
|
ahh ok I have only seen this error before with windows severs so I assumed that was what you had, sorry! Do you have access the the apache log files?
|
|
#8
|
|||
|
|||
|
Yes..
[Thu Jul 19 08:35:48 2007] [error] (13)Permission denied: exec of /usr/local/apache/htdocs/roundcube/index.php failed [Thu Jul 19 08:35:48 2007] [error] [client xx.xx.xx.xx] Premature end of script headers: /usr/local/apache/htdocs/roundcube/index.php is what shows up in the error logs. I also setup a test.cgi script just to see if it was roundcube or something else.. it appears to be something else because I get the same errors on index.php that I got on test.cgi So, I *know* it has to do with someone in my httpd.conf. |
|
#9
|
|||
|
|||
|
I've made "progress"
Now I'm getting.. Code:
[Thu Jul 19 11:42:00 2007] [error] [client xx.xx.xx.xx] malformed header from script. Bad header=<head>: /usr/local/apache/htdocs/roundcube/index.php ![]() |
|
#10
|
|||
|
|||
|
Are there errors in roundcube error log?
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |