Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-10-01 00:49 GMT
Find Nodes?
    Voting Booth?

    How do you remember the number of days in each month?

    Results (386 votes), past polls