Linco12 was a spammer whose post was deleted. (The post included a quote from your post.)
Printable View
Linco12 was a spammer whose post was deleted. (The post included a quote from your post.)
okay, well, now that that's sorted out.
Nicholas: this is a decent htaccess article: http://www.javascriptkit.com/howto/htaccess3.shtml
What have you tried so far? Do you have any specific questions?
I'm not sure what to put on the first line in htaccess...
I don't know what to put after "AuthUserFile".
EDIT: And "AuthName".
the "AuthUserFile" is the path to the .htpasswd file, realtive to the server. For example, your website root (www.whatever.com) is somewhere on your server's HD, like "/home/users/yourname/whatever_com/public_html/". Aside from getting the path correct, this:
should work fine.Code:AuthUserFile /usr/local/you/safedir/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require valid-user
Your .htpasswd file should be a list of usernames/password hashes, separated by colons:
DD has a tool for creating the password hash, and there's more instructions there too.Code:{username}:{password hash}
{otheruser}:{differenthash}
WooHoo!
(A.K.A. it works)Quote:
403
Permission denied.
Thanks for the help everyone :)
...and I assume you can log in successfully as well? :)
Lol yeah.
Now I'm having MySQL troubles...
I'm setting up PHP Fusion on my site but it can't connect to both of my MySQL accounts.
Ex:
Database hostname: myhostname.sql**.freemysql.net
Username: nsstudios
Password: ******
Database Name: nsstudios (or) phpfusion
Table prefix: (left alone) fusion_
I click 'next' and it says it cannot connect to it. What do I do?
I'd have to see your code - one connection can't connect to both databases, but you can make two connections. Additionally, every mysql function will have to specify which connection it wants to use, or things will get mixed up.
Why don't you start a new thread in the mysql forum?
Nevermind got it working, had to use a MySQL database on my account. :)
progress: 81%
Link: http://kapleenmusic.webfreehosting.n...files/news.php
Trying to find out how to change the title.. :/ lol
Line 3, I think of your code, in the head of the document.
Code:<title>PHP-Fusion Powered Website - News</title>