LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cpanel redirection and permission problem (https://www.linuxquestions.org/questions/linux-software-2/cpanel-redirection-and-permission-problem-426846/)

ddaas 03-21-2006 03:29 AM

cpanel redirection and permission problem
 
Hi,
Yesterday I tried to harden my server (FC4 with cpanel 10.8).
I modified something under /usr/local/apache (permissions, users etc) and /usr/local/cpanel (as I remember only logs ownership).
The procedure was very clear, everything worked and works well.
The problem is that now, when someone wants to access www.name.com/whm or www.name.com/cpanel a 500 Internel Server Error is returned.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

From apache error_log:
Quote:


[Tue Mar 21 11:28:52 2006] [error] (22)Invalid argument: setrlimit(RLIMIT_AS): failed to set memory usage limit
[Tue Mar 21 11:28:52 2006] [error] (13)Permission denied: exec of /usr/local/cpanel/cgi-sys/redirect.cgi failed
[Tue Mar 21 11:28:52 2006] [error] [client x.x.71.214] Premature end of script headers: /usr/local/cpanel/cgi-sys/redirect.cgi
[Tue Mar 21 11:28:52 2006] [error] [client x.x.71.214] File does not exist: /home/hxxtm/public_html/500.shtml


It works well when I access it as : www.name.com:2086 or www.name.com:2087


Any idea? What have I done wrong?

Thanks


All times are GMT -5. The time now is 08:27 AM.