PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Fri Mar 27, 2009 1:44 am Reply with quote Back to top

Hello ravenscript staff,

I'm going to setup the nuke sentinel. I click to the "CGIAuth Setup" then the code below ask me to paste in .htaccess file. When I try to access to administration I can't, but it say:
"Internal Server Error
Hint: Check the .htaccess file for syntax/configuration errors"

This code I paste in .htaccess file:
#-------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
#-------------------------------------------
<Files
Only registered users can see links on this board!
Get registered or login to the forums!

deny from all
</Files>

<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted by NukeSentinel(tm)"
AuthType Basic
AuthUserFile
Only registered users can see links on this board!
Get registered or login to the forums!

</Files>
#-------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
#-----------------------------------

what wrong?

TQ
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Fri Mar 27, 2009 12:45 pm Reply with quote Back to top

Do you have your user/pass included in the .staccess file?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Mar 28, 2009 12:50 am Reply with quote Back to top

You are not following the instructions in the HowToInstall manual. That's why you are getting the errors. Review the setup instructions but first restore your original .htaccess file that cane with the distro.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Sat Mar 28, 2009 10:50 am Reply with quote Back to top

dad7732 wrote:
Do you have your user/pass included in the .staccess file?

Yes I have user/pass but I dont know how to put in .staccess . Also I lose here;
"Normally: /home/****/public_html/.htaccess"

What exactly: /home/****/public_html/.htaccess or add "http://www" like,
Only registered users can see links on this board!
Get registered or login to the forums!


Yes Raven I folow the instruction, but maybe have a mistake.

By now I leave the staccess Path and ftaccess Path blank. htaccess Path:I fill ".htaccess" can I leave the two path blank?



TQ Question
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sat Mar 28, 2009 6:56 pm Reply with quote Back to top

You cannot use the URL. You will need to ask your host what the home path is for your site.

Again, it's probably something in the form
/home/****/public_html/.htaccess
but you will have to ask your host.
View user's profile Send private message Visit poster's website
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Sun Mar 29, 2009 3:58 am Reply with quote Back to top

Sentinel setting look like all OK for me now.
But I'am confuse are the HTTPAuth similar to CGIAuth... I want to protect my forum from hack, where can I begin..

TQ Embarassed
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Sun Mar 29, 2009 6:09 am Reply with quote Back to top

If you have the httpAuth setting use that and you won't have to do the CGIAuth settings.
View user's profile Send private message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Sun Mar 29, 2009 8:25 am Reply with quote Back to top

Yes I use httpAuth setting. So, how can I setting the Sentinel to protect my Forum.

TQ Wink
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Sun Mar 29, 2009 8:39 am Reply with quote Back to top

You mean forum admin?

My host uses cPanel so if I have any other directories I want to protect then I do it through cPanel, which is much easier and quicker.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Sun Mar 29, 2009 9:01 am Reply with quote Back to top

erick08, just so you know, there haven't been any known exploits of the forum admin in a very long time. RN 2.3.x is fully patched.

Also, what you have been talking about is "admin" protection. But, do you really mean regular forum protection? The same blockers are used throughout RN, so there isn't anything "extra" that is specific to the forums.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Mar 29, 2009 3:04 pm Reply with quote Back to top

To protect your forum admin, please refer to the RavenNuke(tm) How To Install manual. See
Only registered users can see links on this board!
Get registered or login to the forums!
. Then select NukeSentinel(tm) from the menu to the left. Read through the setup instructions and about 40 lines or so down the page you will see this line of text:

Once the above is working for you, be sure to read the section on Protecting Your Forums Admin Folder at the bottom of this page.. Click the link and it will take you down to the section Protecting Your Forums Admin Folder.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Mon Mar 30, 2009 5:02 am Reply with quote Back to top

Raven wrote:
To protect your forum admin, please refer to the RavenNuke(tm) How To Install manual. See
Only registered users can see links on this board!
Get registered or login to the forums!
. Then select NukeSentinel(tm) from the menu to the left. Read through the setup instructions and about 40 lines or so down the page you will see this line of text:

Once the above is working for you, be sure to read the section on Protecting Your Forums Admin Folder at the bottom of this page.. Click the link and it will take you down to the section Protecting Your Forums Admin Folder.


Hi Raven,
Yes I do. At the botom I found of NukeSentinel(tm) config:
If you using "HTTPAuth", see the
Only registered users can see links on this board!
Get registered or login to the forums!
thread in the RavenPHPScripts support forums.
Are this link setup the HTTPAuth? Embarassed

TQ
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Mar 30, 2009 5:38 am Reply with quote Back to top

That link should detail how to set it up Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Mon Mar 30, 2009 6:33 am Reply with quote Back to top

Ok Raven I already set it up. Now how I know it work?

TQ Laughing
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Mar 30, 2009 8:47 am Reply with quote Back to top

Log out as admin and then try to log in again as admin. It should prompt you.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Tue Mar 31, 2009 1:36 am Reply with quote Back to top

I mean in forum admin..... but wait. How do I put the code "username:password" in .staccess in Forum admin?

Like this...
<Files .staccess>
username:password
</Files>

or something.....

Bcause when I click the icon of the forum in Control Panel dministrator I recieve this:

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request."


TQ Confused
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Mar 31, 2009 6:38 am Reply with quote Back to top

That is not the way .staccess works. Depending on the OS that your server runs on, ie., FreeBSD, Linux, IIS, etc. you have to generate a username:password using the server control syntax, etc. Your ISP will help you with this function.

After that is accomplished, you then copy the information generated to your .staccess file, for example:

Quote:
Username:$ape1$ffjQf/..$eFRhzMqftcZULhj8B7k5m.


That is ALL that is included in the .staccess file, one line only. The username is plain english or whatever your language is and the password is encrypted. There is no .staccess specific to just the forum that I am aware of.

Cheers
View user's profile Send private message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Tue Mar 31, 2009 6:51 am Reply with quote Back to top

Cheers........ that is.....tq. Now how do I test? Can I test it? Just want to know......

TQ dad7732.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Mar 31, 2009 7:00 am Reply with quote Back to top

First of all, in your Sentinel administration, Admin Auth has to be OFF. The path to the .staccess file must be correct. Also, the .staccess file permission must be set to 666.

With all that done, access your site's administrator acccount, eg.,:
Only registered users can see links on this board!
Get registered or login to the forums!


If set correctly you will be presented with a login box, "Authentication Required". Enter the username and password that is included in your .staccess file and if correct you will then be presented with another login box where you enter your admin username and password that you entered when you initially set up RN.

Note:

In your .htaccess file, you must uncomment the following lines and include the path to the .staccess file, such as:

Quote:
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted"
AuthType Basic
AuthUserFile /home/directory/directory/.staccess
</Files>


Note the last line, that should be the path to the .staccess file starting from /root/ on your server and NOT a URL.
View user's profile Send private message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Tue Mar 31, 2009 8:25 am Reply with quote Back to top

Hello dad7732,

First at all TQ,
Are the Admin HTTPAuth never turn it back?
What I mean to test is, test the protection admin in the forum? If I'm the hacker, how can I do this?

What u mean "entered when you initially set up RN" and how to setup?

TQ Embarassed
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Mar 31, 2009 8:46 am Reply with quote Back to top

If your site is protected as mentioned, then the ENTIRE site, including the forum is under the same protection. The protection is site-wide, not just a specific module, etc. You can't get into the forum administration unless you're logged in as "Admin" from the beginning using the suggested method.
View user's profile Send private message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Wed Apr 01, 2009 1:38 am Reply with quote Back to top

OK dad7732 the best...... Tq

But one more. I want to change my security cod to 8 digit. By now its 6 digit. How can I do it? Crying or Very sad

TQ
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Wed Apr 01, 2009 10:11 am Reply with quote Back to top

Please start a new topic for that.
View user's profile Send private message Send e-mail Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Apr 01, 2009 10:16 am Reply with quote Back to top

erick08,

Actually if you search the forums we have already answered that Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

PostPosted: Thu Apr 02, 2009 2:36 am Reply with quote Back to top

A... au... Yop Bos... Embarassed
TQ
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum