Web Hosting Talk







View Full Version : Password protecting webalizer and mod throttle directories.


seattlite
09-04-2001, 04:57 AM
Hello,

How do you password protect these virtual directories? I have done this..

Taken from an earlier thread.
*********
I got it working, it turns out Webalizer 2.0 created the proper .htaccess files but .htaccess was disabled on my server. It appears the Raq4i's have disabled the use of the .htaccess files by default so I had to go in and edit the /etc/httpd/conf/access.conf file. I had to change the line that had "AllowOverride None" to "AllowOverride All" and it all is working fine now.
*********

And its still not working. How would I achieve this for both the ~stats and throttle-me(mod throttle) directories.

NightHawk
09-04-2001, 10:47 AM
I am not sure what problem you are having with webalizer....but for mod_throttle you have to put everything that would normaly go in your .htaccess in httpd.conf between the <virtualhost> tags for each site

seattlite
09-08-2001, 05:01 AM
Do you have to do this for each /throttle-me directory?

Also, does anyone have the answer for the webalizer directory? I cant get any password protection going.

NightHawk
09-08-2001, 10:58 AM
Originally posted by seattlite
Do you have to do this for each /throttle-me directory?


yes, if you want ever /thorttle-me covered (dont' forget to do the same for /throttle-status