Htaccess is this really nice thingie thats really hard to make work.
this is how it looks:
You need to know your full server path to the htaccess file, and somehowe get the htaccess file uploaded...God i hope htaccess works with frihost
An htaccess file is a simple ASCII file, such as you would create through a text editor like NotePad or SimpleText. Many people seem to have some confusion over the naming convention for the file...
.htaccess is the file extension.
It is not file.htaccess
or somepage.htaccess,
it is simply named
.htaccess
okay, so i know how to name the file
I add this text to the htaccess file (i want to password protect my webpage)
AuthUserFile FULL SERVER ADDRESS to HTPASSWD
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require user wsabstract
Okay so here comes up my first problem. None of my hosts have allowed php . You see, to know your full server path to htpasswd file you need to
make a file like this
<?php
phpinfo();
?>
uploading it, then going to that site for example "mypath.php"
then you should see tons of information of your server including the full server path.
ive mentioned htpasswd a few times earlier. Its the same thing but its called htpasswd and theres text that looks like this:
someone:anyone
(username:password)
So, here comes my questions.
Can you do this php file with frihost?
Does frihost allow htaccess (most free webspaces doesnt)
Does it use ftp? If not i can't use frihost (i have files that can't be uploaded with email or browser.
Phew, this taked a while... i quess nobody reads sh*t thats this long :)
this is how it looks:
You need to know your full server path to the htaccess file, and somehowe get the htaccess file uploaded...God i hope htaccess works with frihost
An htaccess file is a simple ASCII file, such as you would create through a text editor like NotePad or SimpleText. Many people seem to have some confusion over the naming convention for the file...
.htaccess is the file extension.
It is not file.htaccess
or somepage.htaccess,
it is simply named
.htaccess
okay, so i know how to name the file
I add this text to the htaccess file (i want to password protect my webpage)
AuthUserFile FULL SERVER ADDRESS to HTPASSWD
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require user wsabstract
Okay so here comes up my first problem. None of my hosts have allowed php . You see, to know your full server path to htpasswd file you need to
make a file like this
<?php
phpinfo();
?>
uploading it, then going to that site for example "mypath.php"
then you should see tons of information of your server including the full server path.
ive mentioned htpasswd a few times earlier. Its the same thing but its called htpasswd and theres text that looks like this:
someone:anyone
(username:password)
So, here comes my questions.
Can you do this php file with frihost?
Does frihost allow htaccess (most free webspaces doesnt)
Does it use ftp? If not i can't use frihost (i have files that can't be uploaded with email or browser.
Phew, this taked a while... i quess nobody reads sh*t thats this long :)
