Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re: Re: Re: cgi and https (mildly off topic)

by IlyaM (Parson)
on Dec 12, 2001 at 03:50 UTC ( #131108=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: cgi and https (mildly off topic)
in thread cgi and https (mildly off topic)

To clarify any possible confusion:

.htaccess does affects perfomance since it is parsed on each request. This is correct. But actually it is not related directly to HTTP authorization. This perfomance hit occurs for any request for file in directory with .htaccess file whenever that directory is protected with HTTP authorization or not.

HTTP authorization commands can be put both into .htaccess and into main apache config file. In both cases authorization should be conducted on each request because of stateless nature of HTTP protocol.

I think in most cases having HTTP authorization commands in .htaccess or in main config doesn't affect perfomance so much as proper selection of auth module. Certantly plain text files is much more slower than indexed database for big number of users.

Ilya Martynov (

  • Comment on Re: Re: Re: Re: cgi and https (mildly off topic)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://131108]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2018-05-23 05:57 GMT
Find Nodes?
    Voting Booth?