Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues
Author Message
kynlore
New Member
New Member


Joined: Aug 04, 2007
Posts: 13

PostPosted: Wed Nov 05, 2008 10:09 am Reply with quote

This just popped up today.

I logged onto my site and noticed 20 visitors all using the same IP address. I checked the IP, and decided to block it. I logged into my Sentinal module to add the IP to the ban list. When I clicked to complete the entry I got:

Code:
The server encountered an internal error or misconfiguration and was unable to complete your request.


Please contact the server administrator, Only registered users can see links on this board! Get registered or login! 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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


I get that with every page of my site I tried to access.

I logged into phpmyadmin and it seems most of my tables look like they are ok, and have the same entries. I hadn't backed up my databases yet because the site was still fairly new. It's not the end of the world, but does anyone have any insight on this?
 
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Nov 05, 2008 11:48 am Reply with quote

Sounds like an .htaccess problem. Sentinel probably added the ban to an .htaccess file and the server isn't liking it. Try removing the .htaccess file.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
kynlore
PostPosted: Wed Nov 05, 2008 12:22 pm Reply with quote

Ok, I removed the .htaccess file and once again have access to the site. I then rebuilt the .htaccess file by copying and pasting:
Code:


# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .staccess>
    deny from all
</Files>

<Files admin.php>

    <Limit GET POST PUT>
        require valid-user
    </Limit>
    AuthName "Restricted by NukeSentinel(tm)"
    AuthType Basic
    AuthUserFile /home/USERNAME/public_html/.staccess
</Files>
# -------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
       


When I try to log back into Sentinel I'm asked for my credentials, but it doesn't accept them.

I tried to rebuild the .staccess file from Sentinel but that doesn't seem to give me access either. I'm sure I'm missing something minor, but can't put my finger on what it is.
 
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Nov 05, 2008 2:19 pm Reply with quote

This path needs to be correct
/home/USERNAME/public_html/.staccess

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
kynlore
PostPosted: Wed Nov 05, 2008 2:43 pm Reply with quote

Thanks! I knew it had to be something small I was missing. Bang Head
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©