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™
Author Message
Ulong
New Member
New Member


Joined: Dec 28, 2004
Posts: 7

PostPosted: Wed Dec 29, 2004 5:55 am Reply with quote

i am new to PHP-Nuke.
I just installed Nukesentinel 2.1.13
and when i finished my Admin Auth via .staccess and .htaccess
Everything looks good... but
i must enter my site with Only registered users can see links on this board! Get registered or login! instead of Only registered users can see links on this board! Get registered or login!
(It shows this msg "Fedora Core Test Page
This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page, it means that the Apache HTTP server installed at this site is working properly.")

Here is my .htaccess config


Quote:
Options All -Indexes
DirectoryIndex index.php index.htm index.html
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files >
deny from all
</Files>

<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted Area For ADMIN ONLY !!"
AuthType Basic
AuthUserFile /home/virtual/site268/fst/var/www/html/.staccess
</Files>
# -------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
# -------------------------------------------


Help me please +_+
 
View user's profile Send private message
djdiz-e
Regular
Regular


Joined: Dec 19, 2004
Posts: 51
Location: Ontario, Canada

PostPosted: Wed Dec 29, 2004 6:23 am Reply with quote

if you have a index.html or index.htm file in your www folder delete it and you should be up and running

and the .htaccess should look like this Very Happy

Quote:
# -------------------------------------------
# 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 Area For ADMIN ONLY !!"
AuthType Basic
AuthUserFile /home/virtual/site268/fst/var/www/html/.staccess
</Files>
# -------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
 
View user's profile Send private message Send e-mail Visit poster's website
Ulong
PostPosted: Wed Dec 29, 2004 7:44 am Reply with quote

There is no "Index.html or .htm" in my Website 's root

any suggestion ?
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Wed Dec 29, 2004 7:59 am Reply with quote

Make sure in your conf/httpd.conf that you have added .php to your DirectoryIndex directive
Code:
<IfModule mod_dir.c>

    DirectoryIndex index.php index.php3 index.php4 index.phtml index.shtml index.html index.htm
</IfModule>
 
View user's profile Send private message
Ulong
PostPosted: Wed Dec 29, 2004 8:12 am Reply with quote

oh.. i cannot find "conf/httpd.conf" where is it located?
sorry this is my first website Sad
 
Raven
PostPosted: Wed Dec 29, 2004 8:20 am Reply with quote

I was assuming you had access to the Apache configuration file. Also, I didn't notice that you have basically the same thing in your .htaccess. That should be working.
 
Ulong
PostPosted: Wed Dec 29, 2004 8:21 am Reply with quote

finally found it but it is blank(The directory)
So i have to create "httpd.conf" myself ? Bang Head
 
Raven
PostPosted: Wed Dec 29, 2004 8:27 am Reply with quote

No. You should have a httpd.default.conf. Copy it to httpd.conf to create one, although I don't understand how you're running Apache w/o one Wink Are you sure you don't have another one?
 
Ulong
PostPosted: Wed Dec 29, 2004 8:40 am Reply with quote

Is this My web hosting problem ?

/etc/httpd <-- when i go to this directory there are 2 directories
1.conf
2.conf.d

Both are empty and i can't do anything to these directories...

or it is hidden ? Confused
 
Raven
PostPosted: Wed Dec 29, 2004 8:44 am Reply with quote

It's usually in usr/local/apache/conf. Instead of just apache, you will have apache.1.3.31 or whatever.
 
Ulong
PostPosted: Wed Dec 29, 2004 9:27 am Reply with quote

i still cannot find that. Sad
Is that because My web hosting using apache 2.0 ?

+_+
 
Raven
PostPosted: Wed Dec 29, 2004 10:19 am Reply with quote

No. But like I said, the .htaccess should be working. I'd check with your host.
 
Ulong
PostPosted: Thu Dec 30, 2004 9:23 am Reply with quote

My Host said that You cannot change httpd.conf because it's sharing server...
so there is no httpd.conf for specific domain. Sad

What can i do next... Crying or Very sad
 
Raven
PostPosted: Thu Dec 30, 2004 9:55 am Reply with quote

Then have your host do it. Also, if you have index.htm and/or index.html in the same folder as index.php, then remove the .htm and .html. That should allow index.php to be the default.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

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 ©