icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » All Things Techy » Site Maintenance » A very weird PROBLEM... can you solve it?

Site Maintenance Program updates, securing your website, creating backups.

Reply
 
LinkBack Thread Tools Search this Thread
Old February 8th, 2006, 6:28 AM   #1 (permalink)
Registered User
Comfy Contributor
 
Joined in Jun 2005
Lives in Singapore
Hosted on Pass15
120 posts
Gave thanks: 2
Thanked 0 times
A very weird PROBLEM... can you solve it?

i set up an admin area at domain.com/admin with password protection in the .htaccess declaration. there i have a file named kb.php which i use to edit my knowledgebases.

it has been working fine until... one day i tried to update one of the KB.

Forbidden

You don't have permission to access /admin/kb.php on this server.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.34 Server at www.vuox.com Port 80 I got this error. at first i thought may have something to do with the new phpexec implementation. but i realize i can update/add/edit all KB except that particular one.

eventually, i found out that i can only edit my entry by removing this line:
PERL 5.8.4<br>

the HTML for kb.php is here:
Code:
 
<form method="post" action="">
  title <input name="title" type="text" size="40" value="Software versions"><br>
  cid <input name="cid" type="text" value="5"><br>
  text<br>
  <textarea name="article" cols="60" rows="50">
   <table width="100%" cellpadding="2" cellspacing="0" border="0">
   <tr>
   <td class="dotted_bottom_black">
   <font face="verdana" class="v11" color="#000000"><b>Updated Software versions</b></font>
   </td>
   </tr>
   
   <tr>
   <td>
   <font face="verdana" class="v11" color="#000000">
   Please note that this list of software versions only reflect the last updated status.<br>
   <br>
   CPanel Build 10.8.0-RELEASE 14<br>
   
   PHP 4.4.1<br>
   MySQL 4.0.25-standard<br>
   <br>
   
   phpMyAdmin 2.6.4-pl2<br>
   phpBB2 2.0.16<br>
   wordpress 1.5.1.3<br>
   </font>
   </td>
   </tr>
   </table>
  </textarea><br>
  <br>
  <input name="kid" type="hidden" value="21">
  <input name="updatearticle" type="submit" value="update"><br>
  <br>
  </form>
anyone knows what's wrong?
__________________
Regards,
Jake See
Pass15:
http://www.vuox.com
JakeSee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 8th, 2006, 8:46 AM   #2 (permalink)
I admire kayla
On a golden path...
 
Joined in Aug 2003
Lives in Saint Petersburg, Florida
Hosted on VPS5
478 posts
Gave thanks: 1
Thanked 1 Time in 1 Post
Contact support, that error has to do with mod security. One of the rules in mod security is conflicting with your script(s)
__________________
“The object of war is not to die for your country, but to make some other bastard die for his.” -George Patton
VPS5
Unleashed2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On