PDA

View Full Version : .httaccess



shred444
May 22nd, 2001, 14:39
Does anyone know of a free server that allows .httaccess files and cgi.

I am using this for a password protection program called lockedarea found at lockedarea.com

If you know of a good, reliable host, please let me know.

LeX
May 22nd, 2001, 14:53
http://www.f2s.com

Ryan_man
May 22nd, 2001, 15:18
isnt it .htaccess?

shred444
May 22nd, 2001, 16:53
yea thats what i meant, .htaccess

i signed up for f2s.com several times, but they have not responded.

zazoo
May 22nd, 2001, 18:58
what is .htaccess?

I know a bit of cgi but I dont know this

YUPAPA
May 22nd, 2001, 18:59
use for password protected directories
YUPAPA allows .htaccess, but I don't accept anymore members in this period

zazoo
May 22nd, 2001, 19:21
Thanks
;)

Canuckkev
May 22nd, 2001, 21:11
I use .htaccess for using SSI on .html files and not just .shtml, and for custom 404 page. Pretty kewl.

LeX
May 23rd, 2001, 07:59
You get a confirm email immediately after you fill out their form, then you have to activate. F2S don't actually "respond"...

LastActionHero
May 23rd, 2001, 09:19
Originally posted by Canuckkev
I use .htaccess for using SSI on .html files and not just .shtml, and for custom 404 page. Pretty kewl.

What is the code to do that?

lucifer
May 23rd, 2001, 09:30
Originally posted by Canuckkev
I use .htaccess for using SSI on .html files

doesn't that just slow down the server?

fatman
May 23rd, 2001, 09:52
Slowing server down *unnecessarily*: Yes and No.

Yes - it slows it down unnecessarily if you are forcing the server to parse all your .html files when only some of them have SSI directives. The server waste resources parsing all .html files for server side directives even though many of them do not have any such directives.

No - if all your .html files are actually .shtml files in disguise. Since all of them have to be server parsed anyway, there is no real wastage of server resources, since whether you name them .shtml or .html, they have to be server parsed.

meow
May 23rd, 2001, 09:57
If I remember right one can also specify singular files that should be parsed.
Not to mention all the sweat redirection stuff one can do. :)
BTW - Yupapa does not support .htaccess. I talked to him about this yesterday. He misunderstood the question and though you were referring to pw protected directories that can be set up in the CP.

Canuckkev
May 23rd, 2001, 18:26
Originally posted by lastactionhero


What is the code to do that?

For server parsed html:
AddType text/x-server-parsed-html .html

For custom 404, the file, 404.html, is in the root dir:
ErrorDocument 404 /404.html

And all my pages do have SSI on them. It does load a lot slower...but easier to use. I have a little poll thing on each page, and I have set up to alternate polls, so you never get the same poll twice. That would not be possible with pure HTML and CGI alone.

And I never had any problem signing up for F2S.