Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
BriX
Hangin' Around



Joined: Dec 04, 2005
Posts: 31

PostPosted: Thu Feb 23, 2006 12:22 pm Reply with quote

Fresh install of phpnuke 7.6.3.1 on suse 10 server using ispconfig.

I'm getting internal server error. Error log says .htaccess options not allowed here. As far as I can tell this is to do with httpd.conf AllowOverride. I have changed AllowOverride to All and restarted apache2 but still get the same error. Any suggestions?

Thx
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Feb 24, 2006 1:11 am Reply with quote

There are usually at least 2 places that need to be changed to AllowOverride All. Make sure you have changed them all.
 
View user's profile Send private message
BriX







PostPosted: Sun Feb 26, 2006 11:04 pm Reply with quote

Yes that works. Started by changing all of them then just trial and errored them down to the one that did the trick. Thanks.
 
Raven







PostPosted: Sun Feb 26, 2006 11:20 pm Reply with quote

RavensScripts
 
BriX







PostPosted: Mon Feb 27, 2006 2:55 am Reply with quote

So apparently there is still a problem. None of the site pages are displayed (pages are blank). There are no error messages in the log and display errors are on but none show up. I can view analyzer.php and phpinfo.php everything looks fine. Confused
 
BriX







PostPosted: Fri Mar 03, 2006 8:52 pm Reply with quote

At the risk of appearing a bit foolish... I remembered my php include path had been modified and once I corrected that everything worked wonderful.
 
Raven







PostPosted: Fri Mar 03, 2006 9:47 pm Reply with quote

Smack :clap:
 
fade2gray
Regular
Regular



Joined: Mar 26, 2006
Posts: 87
Location: UK

PostPosted: Sun Mar 26, 2006 10:39 am Reply with quote

I have a similar problem... /home/fhlinux203/j/my_domain/user/htdocs/nuke/.htaccess: Options not allowed here.

Is this something I can ask my webhosting service to rectify, or do I have to resign myself to not being able to use RavenNuke76? Sad

Thanks for any advice.

P.S. According to phpinfo, Server API = Apache.
 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Sun Mar 26, 2006 11:15 am Reply with quote

I have said this many, many, many times. You do NOT need .htaccess to run RavenNuke76, any more than you need .htaccess to run phpnuke. However, your host is being pretty short sided by not allowing you to use .htaccess.
 
fade2gray







PostPosted: Sun Mar 26, 2006 12:51 pm Reply with quote

Ok, not being able to find a suitable solution by searching, I decide to try renaming .htacces... PRESTO!!!
 
gregexp
The Mouse Is Extension Of Arm



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

PostPosted: Sun Mar 26, 2006 1:42 pm Reply with quote

Quote:
Ok, not being able to find a suitable solution by searching, I decide to try renaming .htacces... PRESTO!!!

hmmm y not just delete it then..the .htaccess will serve no purpose then
sorry i wasnt clear ealier so i need to restate it..ravens right there is no need for either. renaming it makes it useless so y bother having it there.
but also id sudjest u go with a better host that is more capable or complete as raven would say it Laughing Laughing


Last edited by gregexp on Sun Mar 26, 2006 5:45 pm; edited 1 time in total 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Raven







PostPosted: Sun Mar 26, 2006 4:17 pm Reply with quote

As I said above, you don't need .htaccess nor .staccess if you can use Http Auth. You only have to have them for CGI Auth.
 
fade2gray







PostPosted: Sun Mar 26, 2006 6:49 pm Reply with quote

Thanks for you replies...

I am a total novice regarding Nuke and the like.

Knowing how experienced users frown upon those who run around squawking "IM A NOOB PLZ HELP", I first tried searching the forums for an answer. When I found another user with a similar problem, although I couldn't see the absolute solution, I thought it an appropriate place to ask for advice.

I have had a little experience producing a clumsy website using Frontpage, which I notice produces several .htaccess files without my webhost's server complaining about them.

So I didn't find this rant...

Raven wrote:
I have said this many, many, many times. You do NOT need .htaccess to run RavenNuke76, any more than you need .htaccess to run phpnuke. However, your host is being pretty short sided by not allowing you to use .htaccess.

... particularly helpful; as far as I knew one of Nuke's files might need changing to prevent it referencing .htaccess.

Thanks again.
 
Raven







PostPosted: Sun Mar 26, 2006 10:40 pm Reply with quote

Trust me, that is not even close to being a rant Wink. It was just a statement of fact.
 
fade2gray







PostPosted: Sun Mar 26, 2006 11:23 pm Reply with quote

Perhaps a coment in the page Install RavenNuke76(tm) Tables To The Database of the installation guide could be added...

Quote:
That IS what you should see at this point. If you do not, then something has gone wrong. Retrace your steps and try again until your receive that message.

Also check you server's error.log; if you see something like "your_domain/user/htdocs/nuke/.htaccess: Options not allowed here", try renaming/deleting .htaccess as this file is not essential to installation.
Smile

I can't find a FAQ or sticky regarding deleting .htaccess. Wink
 
Raven







PostPosted: Sun Mar 26, 2006 11:50 pm Reply with quote

You never mentioned that this was a RavenNuke76 install. Nor is it in the RavenNuke76 forums. It is in the RN76 documentation about when you need them and when you don't.
 
fade2gray







PostPosted: Mon Mar 27, 2006 12:22 am Reply with quote

Raven wrote:
You never mentioned that this was a RavenNuke76 install.

Scroll up.

fade2gray wrote:
Is this something I can ask my webhosting service to rectify, or do I have to resign myself to not being able to use RavenNuke76?
 
Raven







PostPosted: Mon Mar 27, 2006 1:11 am Reply with quote

You are correct. When I saw the forum it was in, I raced ahead. In any event, In the documentation for RN76, it does state when you need it and when you don't.
 
fade2gray







PostPosted: Mon Mar 27, 2006 1:40 am Reply with quote

Raven wrote:
You are correct. When I saw the forum it was in, I raced ahead. In any event, In the documentation for RN76, it does state when you need it and when you don't.


Raven, at my level of experience, the references made to .htaccess in the documentation found in /rwsRavenNuke76_v2.02.00_FULL/ is way over my head; hence the need for me to have asked for advice in the first place.

A simple comment as outlined above would help elimate the need for you to bang-your-head over it, using the likes of me as the wall. Wink

Thanks.
 
BriX







PostPosted: Tue Apr 11, 2006 1:06 pm Reply with quote

fade2gray did you have AllowOverride Indexes AuthConfig Limit FileInfo as well as AllowOverride All? If you did try removing or commenting out AllowOverride Indexes AuthConfig Limit FileInfo.
 
fade2gray







PostPosted: Fri Apr 21, 2006 9:04 pm Reply with quote

Hi BriX, sorry for the delayed response - for some reason I didn't receive an e-mail notification for your reply.

BriX wrote:
fade2gray did you have AllowOverride Indexes AuthConfig Limit FileInfo as well as AllowOverride All? If you did try removing or commenting out AllowOverride Indexes AuthConfig Limit FileInfo.

Sorry to sound dense, but is that something I should be able to configure myself? I use a web hosting service and haven't noticed anything in the control panel that might facilitate this. Confused
 
BriX







PostPosted: Tue May 30, 2006 9:34 am Reply with quote

Its unlikely that you will find a way to change this via the control panel of your web hosting service. In order to make the changes I suggested, you would need access to the web server configuration files. The web host would likely never allow this. Wink
 
fade2gray







PostPosted: Thu Jun 14, 2007 7:12 pm Reply with quote

Just thought I'd bring this old cherry back to the surface now that I've progressed to delving around inside the NukeSentinel settings.

The only way I could initially get RN to work was to delete all .htaccess files from my installation (to prevent a server error) and just ignore the "File does not exist or is not correctly CHMODed." warning in the NukeSentinel settings.

But I have since discovered that I can password protect individual folders from within my web host's control panel. Applying this to a root nuke installation folder produces a .htaccess file and another file containing the encrypted password/s. All I had to do was modify the .htaccess file to meet NS's requirements and rename the password file to .staccess, then after setting NS to "Admin CGIAuth" I can protect any file in my Nuke installation by copying the .htaccess into it and making a few tweaks to the contents.

May have been a bit slow getting there, but progress or what? Dance-Y
 
gregexp







PostPosted: Thu Jun 14, 2007 8:01 pm Reply with quote

Yes. Nicely done, but the real question is, Can NukeSentinel write to the .htaccess, and the only thing that I personally can think of that would allow this, would be that the group name had to be different. When you create a file, via ftp client, it creates that file with the owner and group both assigned to the user, unless somehow .htaccess is being created as nobody, which is not allowed by apache, then I could understand this delima, but if it is being created by an ftp interface, it should have never been named nobody. So once again, something in the root configuration of the server is a little off, IMO. So I would still sudjest you find a more complete Host. I'm sorry to say this, but in my experience, problems that arrise like this, only make me question the host, because if it is being an issue of how you created it, then it simply should not be allowed to be created like that.

Somethings only lead to further problems down the road, and if this is an issue of creation as I suspect, Then all other scripts are working without something being right in ownership. If this is as I suspect, you could be in Hackers dream world. I truly hope that I am wrong and this is an issue that I have no thought of yet, but please be carefull.
 
fade2gray







PostPosted: Thu Jun 14, 2007 8:47 pm Reply with quote

Thanks for your reply gregexp - maybe I didn't explain myself too well.

From my web based control panel I select a folder to password protect, giving any username and password (I could add numerous usernames/passwords but that would be pointless as the encrypted passwords would be different to those generated by "Build CGIAuth file: .staccess"). This generates a .htaccess file with the contents...

AuthUserFile /path_to/.username_password_file
AuthName "protected access"
AuthType Basic
require valid-user

I change that to....

# -------------------------------------------
# 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 by NukeSentinel(tm)"
AuthType Basic
AuthUserFile /path_to/.staccess
</Files>
# -------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
# -------------------------------------------

Then rename .username_password_file to .staccess deleting the contents, and when I apply "Build CGIAuth file: .staccess" the content gets re-populated with the correct sentineladmin names and encrypted p/words.

Also, blocked ip's are being written to .htaccess.

Does that make more sense, and do you still consider it a risk? (I operate on a really tight budget, and my host is one of the cheapest I can find in the UK for the package it offers).
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

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 ©