Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.6.x
Author Message
taliesen
New Member
New Member


Joined: Feb 11, 2009
Posts: 23

PostPosted: Wed Feb 11, 2009 2:14 pm Reply with quote

Greetings everyone. I have been browsing the forums in an effort to see if I could find a fix for this, and thus far I haven't seen any.

I was referred here by the admin at Only registered users can see links on this board! Get registered or login! for my site.

Thus far I have RavenNuke installed and I already love it.

I have installed RavenNuke in a subdirectory of my current site:
Only registered users can see links on this board! Get registered or login!

I have been following the instructions for the CGIAuth Setup. Unfortunately when I scan for Admins, and then proceed to the Admin_Auth List, there is no "Build CGIAuth file" option above my Admin name & PW.

Obviously I think the issue is with the way I am pointing RavenNuke to my atacces, staccess, and ftaccess files.

The recommended location for each is the following:

/home/content/t/a/l/taliesen/html/ravennuke/html/.htaccess
/home/content/t/a/l/taliesen/html/ravennuke/html/.staccess
/home/content/t/a/l/taliesen/html/ravennuke/html/.ftaccess

I tried what was recommended and it did not work. Then I typed in the following:

/RavenNuke/html/.htacces
/RavenNuke/html/.staccess
/RavenNuke/html/.ftaccess

This didn't work either. I am at a loss and am unsure as to what to do or how to proceed from here. I have tried to help myself by browsing these forums, however I think this might be a unique case since I installed it in a subdirectory so I can test out the site before going live.

I appreciate any help in advance.

Sincerely,


Taliesen
 
View user's profile Send private message
doucheface1
New Member
New Member


Joined: Feb 10, 2009
Posts: 19

PostPosted: Wed Feb 11, 2009 4:11 pm Reply with quote

Have you set passwords for the admins in the auth list?? dont think the link shows untill you do this.
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Wed Feb 11, 2009 4:26 pm Reply with quote

Welcome taliesen! In your NukeSentinel(tm) Admin screen do you have Admin Auth set to Admin CGIAuth ?
 
View user's profile Send private message
taliesen
PostPosted: Wed Feb 11, 2009 4:43 pm Reply with quote

Thanks Raven! It's good to be here. Smile And thanks for the quick replies!!

Doucheface1 - I have set the password for myself during the initial setup of the website and confirmed that it was protected. Smile Thank you though!

I have followed the NukeSentinel Instructions to a "T." I do have Admin Auth set to Admin CGIAuth. Very Happy

HttpAuth Menu - Scan for New Admins - Admin Auth List

Unfortunately the "Build CGI File:staccess never shows up anywhere on my screen as displayed in the HOWTOINSTALL tutorial.

I really believe something is incorrect with the way I am directing the paths for .ataccess, .staccess, .ftaccess. Do you all have any suggestions? Smile
 
doucheface1
PostPosted: Wed Feb 11, 2009 5:00 pm Reply with quote

have you checked the chmod to make sure they are 777 then once the file is modified set the permission back to 666
 
doucheface1
PostPosted: Wed Feb 11, 2009 5:02 pm Reply with quote

so create an .staccess file and place it somewhere in your site ( i prefer not to put mine in the root)

CHMOD it to 777 the go back to admin screen and see if the link is there

also check the path to the .STACCESS file in general sentinel admin screen
 
taliesen
PostPosted: Wed Feb 11, 2009 5:07 pm Reply with quote

Doucheface1,

My .staccess file is located in Only registered users can see links on this board! Get registered or login!

I have done everything in my power to redirect the site to that location and it is not working. I have put in the recommended direction as well as what I posted above and still no dice.

I have also followed all the directions in the HOWTOINSTALL manual and have already CHMOD'ed it to 777.

Here are my settings:

Image

Here is my directory for the files as listed from CUTEFTP:

Image


Last edited by taliesen on Wed Feb 11, 2009 5:15 pm; edited 1 time in total 
doucheface1
PostPosted: Wed Feb 11, 2009 5:14 pm Reply with quote

In the file location screen are you using something like

/home/DIR NAME/public_html/forbidden-lore.com/ravennuke/html/.staccess

DIR NAME being what ever yous is

I could take a look for you if you need it let me know
 
taliesen
PostPosted: Wed Feb 11, 2009 5:16 pm Reply with quote

Posted pictures above to help describe what I'm talking about. I apologize for being so ignorant on all this. I hope that the pictures help. Smile
 
doucheface1
PostPosted: Wed Feb 11, 2009 5:19 pm Reply with quote

also when you created the .staccess file what did you use and how did you upload it....
 
taliesen
PostPosted: Wed Feb 11, 2009 5:22 pm Reply with quote

Doucheface1,

I did not create the file manually - it never said in the directions to do that. It was already there from the initial installation. I though that the file was created/put there from the original installation.
 
doucheface1
PostPosted: Wed Feb 11, 2009 5:25 pm Reply with quote

oh yeh your using raven nuke, sorry i use PHPNUKE so i had to create mine.

without being in your admin panel its baffeling me???

if the path is def right and you have CHMOD to 777 then the link should show in HTTPauth menu
ill keep thinking
 
taliesen
PostPosted: Wed Feb 11, 2009 5:29 pm Reply with quote

See - I don't think the path is correct. As you can see from the picture that I posted above from my FTP application it is located in the following DIR:

/RavenNuke/html/.staccess

So I have tried to put in what is recommended, and then I put in the above - still no dice. So i'm not sure what to do exactly?

All 3 files have been CHMOD'ed to 777.

I think that perhaps I'm just doing incorrect in the path. It is saying that "The file is not present or is not CHMODED correctly." It has to be the path. Sad
 
doucheface1
PostPosted: Wed Feb 11, 2009 5:33 pm Reply with quote

it will be the path
/RavenNuke/html/.staccess
is just relative to where you are and not the full path to your webserver

the path you have entered looks right

if you navigate to the file in CUTEFTP or cpanel whats the path in there
 
taliesen
PostPosted: Wed Feb 11, 2009 5:35 pm Reply with quote

I posted a pic of cuteftp up at the top.

It is showing that the path is /RavenNuke/html/.staccess

Yet it is still not recognizing the file. I also just confirmed that all files are CHMOD'ed to 777. This is strange.
 
doucheface1
PostPosted: Wed Feb 11, 2009 5:36 pm Reply with quote

you need to change your settings in cute ftp so it doesnt default to the html DIR so you can see the full path
 
doucheface1
PostPosted: Wed Feb 11, 2009 5:39 pm Reply with quote

in site manager

go to properties of your site

go to actions tab

and clear out the area that says
when client connects switch to this remote folder.....

then disconnect and reconnect and then navigate to .staccess
 
taliesen
PostPosted: Wed Feb 11, 2009 5:40 pm Reply with quote

Ugh, I just got it to work. I knew it had to be something simple. I used what was recommended:

/home/content/t/a/l/taliesen/html/ravennuke/html/.htaccess
/home/content/t/a/l/taliesen/html/ravennuke/html/.staccess
/home/content/t/a/l/taliesen/html/ravennuke/html/.ftaccess

However the "R" and the "N" needed to be capitalized in ravennuke. That fixed it..

Why in the heck is this so long when the files are only in /RavenNuke/html Directory?
 
doucheface1
PostPosted: Wed Feb 11, 2009 5:42 pm Reply with quote

Good spot

at least its working

have fun
 
taliesen
PostPosted: Wed Feb 11, 2009 5:54 pm Reply with quote

Ugh. I guess I shouldn't have spoken too soon. Now I have another issue.

I copy and pasted what was in the pop up window into the .htaccess file. Then I turned around and CHMOD'ed them back to 666. Then I couldn't access the admin panel. It says in the instructions that if this happens then I've copied it over incorrectly or I filed to put in some information. here is the code:

Code:
#####################################################

#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#  THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations.  They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file.  If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected.  If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################

# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
Options +Includes

# -------------------------------------------
# Set search order for index files
# -------------------------------------------
DirectoryIndex index.php index.htm index.html

# -------------------------------------------
# For better performance set FileETag to NONE base on recommendations from
# http://developer.yahoo.net/blog/archives/2007/07/high_performanc_11.html
# -------------------------------------------
FileETag none

# -------------------------------------------
# Only process if mod_expires is installed
# For faster load times cache certain types of files for specific amount of time
# You should adjust these settings based upon your caching requirements
# -------------------------------------------
<IfModule mod_expires.c>
   ExpiresActive On
   # ExpiresDefault A86400
   ExpiresByType image/x-icon "access plus 1 month"
   ExpiresByType text/css "access plus 5 minutes"
   ExpiresByType image/gif "access plus 1 month"
   ExpiresByType image/png "access plus 1 month"
   ExpiresByType image/jpeg "access plus 1 month"
   ExpiresByType text/plain "access plus 15 minutes"
   ExpiresByType application/x-shockwave-flash "access plus 1 month"
   ExpiresByType video/x-flv "access plus 1 month"
   ExpiresByType application/pdf "access plus 1 month"
   ExpiresByType text/html "access plus 5 minutes"
   ExpiresByType text/javascript "access plus 5 minutes"
   ExpiresByType application/x-javascript "access plus 5 minutes"
</IfModule>

#-------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
#-------------------------------------------
#<Files /home/content/t/a/l/taliesen/html/RavenNuke/html/.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/content/t/a/l/taliesen/html/RavenNuke/html/.staccess
</Files>
#-------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
#-------------------------------------------

# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication when PHP is compiled as CGI and NOT an Apache module.
# -----------------------------------------------------------------------------------------------------
#<Files admin.php>
#    <Limit GET POST PUT>
#       require valid-user
#    </Limit>
#    AuthName "Restricted"
#    AuthType Basic
#   AuthUserFile /path/to/your/.staccess
# </Files>
# -----------------------------------------------------------------------------------------------------

# -------------------------------------------
# If you use TegoNuke(tm) ShortLinks with RavenNuke(tm) then copy your ShortLinks.htaccess file/rules below inbetween
# the <IfModule> and </IfModule> tags.
# Only process if mod_rewrite is installed
# -------------------------------------------
<IfModule mod_rewrite.c>
   # TegoNuke(tm) ShortLinks - ShortLinks.htaccess file/rules should go after this line
</IfModule>

# -------------------------------------------
# Error Document Redirects
# TegoNuke(tm) ShortLinks - ShortLinks.htaccess file MUST be before these directives (See above).
# If you add a new error redirect then you need to add the corresponding xxx.php file to modules/ErrorDocuments/
# Format:
#   ErrorDocument xxx /PATH_TO_ERROR_DOCUMENT_RELATIVE_TO_WEB_SERVER_DOCUMENT_ROOT
# -------------------------------------------
ErrorDocument 400 /modules.php?name=ErrorDocuments
ErrorDocument 401 /modules.php?name=ErrorDocuments
ErrorDocument 403 /modules.php?name=ErrorDocuments
ErrorDocument 404 /modules.php?name=ErrorDocuments
ErrorDocument 406 /modules.php?name=ErrorDocuments
ErrorDocument 500 /modules.php?name=ErrorDocuments

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------


I hate to ask this...but what am I missing?


Last edited by taliesen on Wed Feb 11, 2009 5:55 pm; edited 1 time in total 
taliesen
PostPosted: Wed Feb 11, 2009 5:54 pm Reply with quote

PS. For the record I had to put the # in front of the code I copied and pasted to get access back to admin.

Now I'm getting 500 internal server error. ><
 
Raven
PostPosted: Wed Feb 11, 2009 6:00 pm Reply with quote

Yes, on *nix it is case sensitive. Sorry for the mental agony! When I first replied you had not mentioned that you were also receiving the File does not exist or is not correctly CHMODed. That is almost always a text case issue if you are sure that the files have the correct permissions.

NukeSentinel(tm), on the other hand, should have stated the suggested location in a case sensitive manner and not shifted everything to lower case. We will verify that there is a bug and correct it if needed.
 
Raven
PostPosted: Wed Feb 11, 2009 6:01 pm Reply with quote

A 500 server error is 99.9% the result of a syntax error in your .htaccess file
 
Raven
PostPosted: Wed Feb 11, 2009 6:04 pm Reply with quote

Just temporarily rename your .htaccess file to anything, like .htaccessx. That will allow you back into your admin panel.
 
taliesen
PostPosted: Wed Feb 11, 2009 6:11 pm Reply with quote

Raven,

I had to reload my backup .htaccess file to get my site to work again.

I believe I am not understanding where in the code that is generated when you click on "CGIAUTH Setup".

There was similar code in the existing .htaccess file and I just copied over that. Am I missing something? Here is the code that is generated:

Code:
#-------------------------------------------

# Start of NukeSentinel(tm) admin.php Auth
#-------------------------------------------
<Files /home/content/t/a/l/taliesen/html/RavenNuke/html/.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/content/t/a/l/taliesen/html/RavenNuke/html/.staccess
</Files>
#-------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
#-------------------------------------------
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.6.x

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 ©