FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

htaccess

 


da'nortporn
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 :)
rohan2kool
Firstly, this was a long post and most of it didn't mean much to me.

Secondly, this was posted in a wrong section.

Thirdly, yes frihost allows php processing (that's why people come and post in forums rather than using no-forum-posting-required geocities)

Fourthly, yes, it allows. cpanel even allows easy management of password protected directories.

Fifth, yes it uses.

Sixth, if u can't don't. You aren't doing us a favour by using frihost.

And yep, i didn't read shit that long. just read ur questions, sorry if i missed something Very Happy
da'nortporn
- thanks for the information

- i might use it anyway (about 15 hosts ive used didn't use htaccess and was'nt awaiting this one to use but it does :O )

- what do you use to upload? the previous ones couldnt upload anything but jpg images and webpages using browser

- i forgot one question , whats the max file size you can upload...


You should call this thing nobody


nobody is perfect
rohan2kool
u r welcome.. but shall be most welcome if u post it in the right section hence.

i use my browser to upload it sometimes, but mostly i do it throught ftp using filezilla. you can upload all types of content here.

There is no filesize limit, but your account has 250mb. you can put 1 250mb file in it or 250 1 mb files or 1000 0.25 mb files, it's upto you.

Quote:

You should call this thing nobody


nobody is perfect


u think that was funny??
hdfailure
Shocked
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.