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
Donovan
Client


Joined: Oct 07, 2003
Posts: 735
Location: Ohio

PostPosted: Sun Apr 06, 2008 2:32 pm Reply with quote

I've installed this package maybe 20 times and can't figure this latest one out. My latest install is on a subdomain where I want to do development work. I can't access the admin.php page. I get stuck at the auth popup box asking for my login. It won't accept what I put in at the...

"Main Site Configuration Settings" step

I haven't even gotten past stetup to enable anything.

If I keep trying I'll get banned on Ravens server...again!
 
View user's profile Send private message Visit poster's website ICQ Number
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Sun Apr 06, 2008 9:38 pm Reply with quote

Check the path to the authentication file in htaccess?

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Donovan
PostPosted: Mon Apr 07, 2008 5:18 am Reply with quote

kguske wrote:
Check the path to the authentication file in htaccess?


Where exactly can I check the path? If you mean in NukeSentinal then I can't reach the ACP so how can I check it.
 
Donovan
PostPosted: Mon Apr 07, 2008 5:31 am Reply with quote

This is the .htacces file there now.


Code:
Options All -Indexes

DirectoryIndex index.php index.htm index.html
FileETag none

# -------------------------------------------
# For faster load times.
# -------------------------------------------
<IfModule mod_expires.c>
   ExpiresActive On
   # ExpiresDefault A86400
   ExpiresByType image/x-icon "access plus 1 month"
   ExpiresByType application/x-javascript "access plus 5 minutes"
   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 .ftaccess>
  deny from all
</Files>

<Files .staccess>
  deny from all
</Files>

# -----------------------------------------------------------------------------------------------------
# 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 and most servers do not require it.
# -----------------------------------------------------------------------------------------------------
# <Files admin.php>
#    <Limit GET POST PUT>
#       require valid-user
#    </Limit>
#    AuthName "Restricted"
#    AuthType Basic
#   AuthUserFile /path/to/your/.staccess
# </Files>
# -----------------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------------

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
 
montego
Site Admin


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

PostPosted: Mon Apr 07, 2008 6:57 am Reply with quote

I have run into this before and unfortunately, it is inheriting your .htaccess control upon the admin.php from your root domain. I wish Apache wouldn't do this, but I had this problem to long back and decided to never use a subdomain for nuke under another nuke subdomain.

What you could try is uncomment the admin auth lines and change the path to .staccess to what you have in the root domain, but with the subdomain directory tacked on. See if that works. Assuming that you want admin auth on the sub-domain.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Wed Apr 09, 2008 5:16 am Reply with quote

This is completely untested, but I've been reading up on it, Try this, if it doesnt work, just comment out the lines.

In your public_html/.htaccess file, find the lines that are <Files admin.php>

Should be similar to this:

<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted"
AuthType Basic
AuthUserFile /path/to/your/.staccess
</Files>

Wrap them in :
<Directory /path/to/your/public_html/>

</Directory>

So it should look like:

<Directory /path/to/your/public_html/>
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted"
AuthType Basic
AuthUserFile /path/to/your/.staccess
</Files>
</Directory>

Ussually, and I mean ussually, it is /home/cpanel-username/public_html

Dont show us the path, as you can see it would contain your cpanel username.

And if this works, Please let us know, would be a good thing to add to RN, so we can avoid this subdomain issue all together.

If not, comment out the <Directory /path/to/your/public_html> and the </Directory>

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Donovan
PostPosted: Wed Apr 09, 2008 7:31 pm Reply with quote

montego wrote:
I have run into this before and unfortunately, it is inheriting your .htaccess control upon the admin.php from your root domain. I wish Apache wouldn't do this, but I had this problem to long back and decided to never use a subdomain for nuke under another nuke subdomain.

What you could try is uncomment the admin auth lines and change the path to .staccess to what you have in the root domain, but with the subdomain directory tacked on. See if that works. Assuming that you want admin auth on the sub-domain.


Doesn't work. Will not accept my user or pass.

How can I turn off all the .htaccess and just use a directory password from cpanel.
 
Donovan
PostPosted: Wed Apr 09, 2008 8:17 pm Reply with quote

I also went back to version RavenNuke_v2.10.00 to see if it was any different.

Still the same problem.

I have done this before but now it won't work.
 
montego
PostPosted: Thu Apr 10, 2008 5:35 am Reply with quote

Donovan, unfortunately I am not an .htaccess guru. I was thinking that you may be able to put in another directive regarding <Files admin.php> and somehow tell it to allow or not require user. But, I don't know how to do it and do not have the time to research it.

Like I said up above, I never got it working (but this was three years back) and since then, I've just stayed away from running two nukes in this configuration.

Can you protect just a single file via cpanel? I've only done directories. But, that doesn't mean you cannot. If you can by file, then comment out the NS directives for admin.php in your root domain, put HTTPAuth on it from cPanel in the root as well as in your sub-domain admin.php and see if it works.
 
vaudevillian
Worker
Worker


Joined: Jan 18, 2008
Posts: 143

PostPosted: Wed Apr 16, 2008 6:39 am Reply with quote

Did you make a new database? I just ran a quick test everything installed smoothly. Except the fact that, I had to use the nuke setup page for god admin. For some reason the setup file did not process properly. Then you have to configure preferences to make sure your url for the mailer for your user registration is set.
 
View user's profile Send private message Send e-mail
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 ©