GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   .htaccess Limits - What's your largest? (https://gfy.com/showthread.php?t=59153)

Babaganoosh 05-03-2002 08:29 AM

.htaccess Limits - What's your largest?
 
I am putting the finishing touches on a new "join for free" type script. The first version of it will use .htaccess for password protection. How many users can .htaccess handle? After all, it is only a flat text file. I can cook up a mod_auth_mysql version easy enough so apache can authenticate users from a MySQL database, but for most people, that apache mod wouldn't be practical. Anyway, my largest .htpasswd file is about 6000 users long and it seems to work okay. Anyone have any experience with a larger password file?

AdultWire 05-03-2002 08:33 AM

I don't actually know the answer to this (which is why I never use htaccess authentication), *BUT*, the magic number for most old-school unix flat files is in and around 65535. Performance may degrade before that, however.

Babaganoosh 05-03-2002 08:34 AM

65535 lines?

chodadog 05-03-2002 08:59 AM

I think it's 65535 kilobytes.. or bytes.. one of the two.

JFPdude 05-03-2002 09:01 AM

65535 kb file size is the limit :thumbsup

NetRodent 05-03-2002 09:06 AM

Size isn't the only concern, you also need to consider how often that file will be accessed. If you're reading it 100 times / second, you're going to have trouble long before you would if you were only reading it 1 time / minute.


All times are GMT -7. The time now is 07:50 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123