[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] How to add an extra line added to all new <VirtualHost> blocks in the httpd.conf?
- Subject: Re: [cobalt-users] How to add an extra line added to all new <VirtualHost> blocks in the httpd.conf?
- From: "Michael Fritsch" <fritschnet@xxxxxxxxxxxxx>
- Date: Mon Mar 18 11:09:01 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> ServerName server.domain.com
> ServerAdmin admin
> DocumentRoot /home/sites/home/web
> RewriteEngine on
> RewriteCond %{HTTP_HOST} !^128.0.0.1(:80)?$
> RewriteCond %{HTTP_HOST} !^server.domain.com(:80)?$
> RewriteRule ^/(.*) http://server.domain.com/$1 [L,R]
> RewriteOptions inherit
> AliasMatch ^/~([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
>
> MyCustomLine etc...
>
> </VirtualHost>
Jason
Check out /usr/lib/perl5/site_perl/5.005/Cobalt/Vsite.pm
Mike