www.clanthemes.com :: View topic - Varying problems new after installation of Raven in sub-dir
Welcome To Clan Themes
As the board grows please remember the Search Option
We also monitor Private Messages to stop members from abusing our sites system.
Note!! Anyone thinking of spamming or posting senseless threads to make up their post count will be permanently banned we have a zero tolerance spamming policy here, you've been warned.
I have decided to install the Raven verison alongside my main site.
The Raven site is in a Sub-directory called Raven and i think this is casuing problems with gettin Sentinal to work.
I complete all of the following points with success:
# Change your permissions on both .htaccess and .staccess to 777
# Place the paths to .htaccess and .staccess in the NukeSentinel™ Admin Control Panel
# Select CGI Auth Access from the drop down box
# From the NukeSentinel Admin Control Panel, select Scan For New Admins
# Now select Admin Auth List and make sure that all admins have been assigned passwords
Then i get to this bit - i think i am having issues because of the folder structure - it is not in root so can anyone help with the following?
# Now, you should see a link that says Build CGIAuth file: -- Click it. That will build your .staccess id:pass file.
# Now back in the main NS ACP, in the .staccess box, you will see a link that says CGI Auth Setup -- click it. It should produce a new window with the following information:
Save this in .htaccess :
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files>
deny from all
</Files>
<Files>
<Limit>
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
# -------------------------------------------
Also i wonder if the Sub-directory structure will cause complications with anything else before i try to install modules / blocks onto the new site?
I appreciate all help!
FEXT
Web Designer / 360 Gamer
robertyoungdesign.com [personal]
neophytez.com [clan]
topjob
Reputation: 522.4 votes: 2
Local time: 2:07 PM
Status: Offline
0.08 posts per day Medals: 0
Clan Themes Scripts/Coder Joined: Apr 05, 2007
Last Visit: 13 Mar 2010
Posts: 89 Points: 9264
Posted:
Sat May 26, 2007 9:19 pm
Being in a sub dir should have no effect. I have a test site running in a sub dir on a sub-domain.
Under the entry box for the .htaccess path, it should give an example that is normally dead on. Is this the case on your new site?
fext
Reputation: 463.4
Local time: 9:07 PM Location: The Unknown
Status: Offline
0.09 posts per day Medals: 0
Joined: Mar 26, 2007
Last Visit: 17 Sep 2007
Posts: 100 Points: 1494
Yup and it is in place - i follow the steps but i don't see the following:
# Now, you should see a link that says Build CGIAuth file: -- Click it. That will build your .staccess id:pass file.
# Now back in the main NS ACP, in the .staccess box, you will see a link that says CGI Auth Setup -- click it. It should produce a new window with the following information:
Save this in .htaccess :
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files>
deny from all
</Files>
<Files>
<Limit>
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
# -------------------------------------------
I don't see this bit at all:
Build CGIAuth file
I have made sure that both the .hta and .sta have the correct filepath but i have noticed this:
.HTA
Normally: /home/neophyte/public_html/raven/.htaccess
This function requires Apache to work.
STA
Normally: /home/neophyte/public_html/raven/.staccess
This function requires Apache to work.
Does that shine any light on things?
topjob
Reputation: 522.4 votes: 2
Local time: 2:07 PM
Status: Offline
0.08 posts per day Medals: 0
Clan Themes Scripts/Coder Joined: Apr 05, 2007
Last Visit: 13 Mar 2010
Posts: 89 Points: 9264
Posted:
Sat May 26, 2007 9:56 pm
For clarity, directly under the ? staccess Path: you don't see CGIAuth Setup, or it doesn't open a popup when you click it?
fext
Reputation: 463.4
Local time: 9:07 PM Location: The Unknown
Status: Offline
0.09 posts per day Medals: 0
Joined: Mar 26, 2007
Last Visit: 17 Sep 2007
Posts: 100 Points: 1494
Save this in .htaccess :
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files>
deny from all
</Files>
<Files>
<Limit>
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
# -------------------------------------------
But it is slightly different to the above.
Does everything sound right?
Just when i follow the steps as instructed in the 'HowToInstall' bit the above parts do not show - as listed in previous posts.
Any ideas?
topjob
Reputation: 522.4 votes: 2
Local time: 2:07 PM
Status: Offline
0.08 posts per day Medals: 0
Clan Themes Scripts/Coder Joined: Apr 05, 2007
Last Visit: 13 Mar 2010
Posts: 89 Points: 9264
Posted:
Sun May 27, 2007 3:03 pm
That sounds right. As long as the path in the popup is correct "AuthUserFile /home/USERNAME/public_html/.staccess ", that part should be good to go. Also look in your .staccess file to make sure there is an entry for your GOD account in it. If not, you will block yourself from your own site by putting the new text in your .htaccess file.
fext
Reputation: 463.4
Local time: 9:07 PM Location: The Unknown
Status: Offline
0.09 posts per day Medals: 0
Joined: Mar 26, 2007
Last Visit: 17 Sep 2007
Posts: 100 Points: 1494
Well when you say username do you mean username to the site?
It reads not my username to login as GOD but the username for the site (eg the FTP login) - is this right - have not changed anything other than instructed.
There is no content in the .staccess file.
Is this module ok to use?
topjob
Reputation: 522.4 votes: 2
Local time: 2:07 PM
Status: Offline
0.08 posts per day Medals: 0
Clan Themes Scripts/Coder Joined: Apr 05, 2007
Last Visit: 13 Mar 2010
Posts: 89 Points: 9264
Posted:
Sun May 27, 2007 10:54 pm
There is probably someone more knowledgeable than me on this, but, I do know until there is at least one user name and encrypted password in the .staccess file, if you implement the changes to .htaccess, you will lock yourself out. sentinel is supposed to write the information to .staccess when you click on "Scan for New Admins" in the Sentinel admin console. You must click this after you have the correct paths entered for .htaccess and .staccess. If, under these conditions, Sentinel still doesn't write the user name and password to .staccess double check the permissions on .staccess. It must be 666. .htaccess should also be .666.
fext
Reputation: 463.4
Local time: 9:07 PM Location: The Unknown
Status: Offline
0.09 posts per day Medals: 0
Joined: Mar 26, 2007
Last Visit: 17 Sep 2007
Posts: 100 Points: 1494
Joined: Feb 21, 2008
Last Visit: 05 Apr 2008
Posts: 10 Points: 348
Varying problems new after installation of Raven in sub-dirPosted:
Sun Feb 24, 2008 11:30 pm
ok... well I can't log into my admin section for this exact reason. My .staccess file is 0 bytes so it's not getting written to. I know my God admin login and password. So, my question is, where and how do I write this information into my .staccess file so I can actually log into the admin part to my site???
Joined: Feb 21, 2008
Last Visit: 05 Apr 2008
Posts: 10 Points: 348
Varying problems new after installation of Raven in sub-dirPosted:
Tue Feb 26, 2008 12:32 am
well, I just redid the MySQL database and made sure not to screw up again. all is well now
one point I'd like to make though.
for some reason it didn't like me putting the full location for the .htaccess and it didn't want me to insert the information from the .staccess into the .htaccess because each time I did that I got an internal error message anytime I tried to access the site. I was able to write the address for .staccess and update that so the login info was in it though and everything seemed to be ok with that. I'm not exactly sure why all that was but, that was my experience. If someone has some insight on that I'd appreciate it.
10 Replies / 1814 Views Page 1 of 1 All times are GMT
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 cannot attach files in this forum You can download files in this forum