[wp-hackers] Rewrite rules

Deirdre Saoirse Moen deirdre at deirdre.net
Mon Aug 9 05:40:01 UTC 2004


On Sun, 8 Aug 2004, Chuck Guenther wrote:

> Craig Hartel <milquetoast at telus.net> wrote:
>
> > I have a subdomain /public_html/subdomain/ which is a subdomain of
> > www.example.com.
> >
> > I have a new domain, created as an addon, which I want to point to the
> > aforementioned directory structure. The new domain is www.foo.com.
> >
> > So, how do I use the root .htaccess file to ensure that www.foo.com is
> > using the /public_html/subdomain/ directory of www.example.com?

Here's my httpd.conf for http://clarion.deirdre.org/, a subdomain of
deirdre.org. The Clarion site is a WP-only site.

<VirtualHost clarion.deirdre.org>
ServerAdmin deirdre at deirdre.net
DocumentRoot /www/htdocs/clarion
ServerName clarion.deirdre.org
ErrorLog /var/log/apache/clarion/error-log
TransferLog /var/log/apache/clarion/access-log
</VirtualHost>

-- 
_Deirdre  web: http://deirdre.net        blog: http://deirdre.org/blog/
yarn: http://fuzzyorange.com    cat's blog: http://fuzzyorange.com/vsd/
"Memes are a hoax! Pass it on!"




More information about the hackers mailing list