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


Joined: Apr 10, 2004
Posts: 649
Location: UK

PostPosted: Fri Dec 03, 2004 7:03 pm Reply with quote

Since updating Sentinel when I go to Sentinel Config panel where the path to htaccess is entered ie; .htaccess

directly under that is printed this error message:

Normally: /home/minicity/public_html/nuke/html/.htaccess
File does not exist or is not correctly CHMODed.

When I go to my file manager in the site's cpanel and look in the html folder there is no .htaccess file. There never has been one in there, I don think, only in the abuse folder, and that's chmoded 666.

Should there be an htaccess file in the html folder and if so why isnt it in the nuke or sentinel folder to upload? Is this new to the latest sentinel version?

This has puzzled me today. Is the htaccess file in the sentinel download folder just for cgi or can we use that one in the html folder on apache servers?

_________________
Classic Mini rules the bends & bends the rules!
[img] 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Fri Dec 03, 2004 8:28 pm Reply with quote

Depending on which ftp client you use, they hid all files that begin with . There will be a place where you can enter what's called a File Mask and you need to enter '-la' (w/o the quotes). Now that resolves the hidden .htaccess. Try chmodding it to 777. Then again, maybe your host does not allow you to have an .htaccess file.
 
View user's profile Send private message
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Fri Dec 03, 2004 9:13 pm Reply with quote

>When I go to my file manager in the site's cpanel and look in the html folder there is no .htaccess file.

If you are using CPanel's File Manager to view files in the www root, and you don't see the .htaccess, then it's definitely not there. CPanel's File Manager, by default, shows hidden files. If you're using an FTP client, then like Gaylen said, you need to use a filter command (I just use -a) to show ALL (including hidden/system) files.

That out of the way... by default, there typically isn't an .htaccess placed in your root. It would only be there if the host had enabled Frontpage Extensions on your domain. If you have one in your abuse folder, then chances are we aren't going to have an issue with your host not allowing them. Anyways, you can use the CPanel File Manager to create a new text file in the www folder. Name it .htaccess Wink Open it and make sure there are 2 lines in it (both blank). So if you open it and your cursor is on Line 1 with no where else to go, hit ENTER once, then save it. You should be good to go...

PHrEEk
 
View user's profile Send private message
Muffin
PostPosted: Sat Dec 04, 2004 6:58 am Reply with quote

Thanks guys.

I dont have front page extensions enabled, its just a plain Apache Linux hosting. I am allowed .htaccess, cos I have a few in different folders on there for different applications. I use WS_ftp as my ftp program by the way

Right so I'll make up the new text file as you (PHrEEk) suggest and see if that cracks it.

Thanks again, much appreciated.

Raven thanks for the tip about putting the '-la' I'll make a note of that in my little red book lol
 
Muffin
PostPosted: Sat Dec 04, 2004 7:19 am Reply with quote

Worked perfectly thank you both again!
 
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 ©