httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis Watson" <li...@visionsix.com>
Subject Re: need a more general solution
Date Fri, 15 Mar 2002 22:38:24 GMT
You could just have their directories at the root level of the docs folder of http://my.domain.com/
then when you go to the url  http://my.domain.com/students  there the students folder would
be.

Lewis Watson

  ----- Original Message ----- 
  From: Casas, Claudia 
  To: users@httpd.apache.org 
  Sent: Friday, March 15, 2002 3:29 PM
  Subject: need a more general solution


  After looking around some configuration examples, I finally know of a solution on how to
get rid of the tilde in a web account that is not located in the apache root directory.

   

  I do the following:

   

  Alias /students  /home/students/www/

   

  <Directory /home/*/www/>

  Options None

  AllowOverride None

  Order allow,deny

  Allow from all

  </Directory>

   

  Now I can actually access the web accout as http://my.domain.com/students instead of http://my.domain.com/~students

   

   

  However, I realized that with this solution is not as general as I wish. I have more than
100 accounts, and I do not think it would be very efficient to write an alias for each individual
account. Is there a more general solution to this? 


Mime
View raw message