Results 1 to 4 of 4
  1. #1

    Help: htaccess performance problems?

    Hi all,

    Is this possible?

    I want all my hosting customers to have a directory (let call it 'padlock') under the public_html directory, that only allows access from a list of domains/ipaddresses.

    Rather than having customers setup .htaccess files in their individual 'padlock' directories, is it possible to setup the webserver to automatically setup 'hostwide' access blocking 'padlock' directories on all accounts without using .htaccess.
    Thereby eliminating the performance slowdown associated with individual .htaccess files.

  2. #2
    Help anyone?

  3. #3
    Join Date
    Apr 2001
    Montana USA
    You might look at the Location or Files or FilesMatch directives in the Apache documentation. Maybe ScriptAlias too, depending on what you're trying to do.
    John Masterson
    Former Hosting Company Owner

  4. #4
    Join Date
    May 2002
    You will find that customer us .htaccess files for more then just password protection..

    Therefore disabling it all together will be sure to get you some complaints.
    Personnal Blog
    PHPJack Inc. Technology Consulting Services
    I can help you with your technology needs from beginning to end.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts