LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2006, 03:29 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
charset problem, how to change in cpanel? newlinuxnewbie Linux - General 1 02-13-2006 08:55 PM
ftp problem in cpanel / fedora core 2 chadi Linux - Software 1 10-01-2004 08:43 PM
url redirection/cookie problem tuxrules Linux - Newbie 3 07-13-2004 06:23 AM
Apache - Redirection problem... elitecodex Linux - Software 5 03-29-2004 10:12 PM
Minor output redirection problem.. Tyir Linux - General 0 01-27-2004 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration