I've been attempting to set up a server for hosting personal web sites for our clients. We have several domain names that we use and don't want accounts to overlap between virtual hosts should we add commercial sites to this server. The only thing that doesn't work is automatically adding a trailing slash at the end of directory URL's. My original configuration for the virtual hosts is shown below:
<VirtualHost members.domain.com> ServerName members.domain.com ServerAdmin [EMAIL PROTECTED] CustomLog /home/main/apache_logs/access.log combined ErrorLog /home/main/apache_logs/error.log DocumentRoot /home/main/public_html ScriptAlias /cgi-bin/ /home/main/apache_cgi-bin/ AliasMatch /~(.*)/(.*) /home/domain/zt$1/public_html/$2 <IfModule mod_throttle.c> ThrottlePolicy none <Location /throttle-me> SetHandler throttle-me </Location> <Location /~*/throttle-me> SetHandler throttle-me </Location> </IfModule> </VirtualHost> I read the documents online for mod_rewrite and set up these directives in the virtual host: RewriteEngine on RewriteRule ^(.+[^/])$ $1/ Unfortunately, I just got these errors showing it wasn't working as expected. [Tue Jan 14 11:49:34 2003] [error] [client 192.168.2.9] File does not exist: /home/main/public_html/~bubba/ [Tue Jan 14 11:50:15 2003] [error] [client 192.168.2.9] Directory index forbidden by rule: /home/domain/ztbubba/public_html/ [Tue Jan 14 11:51:18 2003] [error] [client 192.168.2.9] File does not exist: /home/main/public_html/~bubba/index.html/ Are there any easy to understand HOWTO's for adding this feature? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]