[Fwd: Re: Apache question]

From: Shortpier <shortpier@shortpier.is-a-geek.com>
Date: Sat Jul 24 2004 - 11:57:26 AKDT

OOPS did not sent to list (my bad)
-------- Original Message --------
Message-ID: <4102B9E8.7080206@shortpier.is-a-geek.com>
Disposition-Notification-To: Shortpier <shortpier@shortpier.is-a-geek.com>
Date: Sat, 24 Jul 2004 11:35:04 -0800
From: Shortpier <shortpier@shortpier.is-a-geek.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6)
Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Barsalou <barjunk@attglobal.net>
Subject: Re: Apache question
References: <1090697688.4759.6.camel@localhost>
In-Reply-To: <1090697688.4759.6.camel@localhost>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Barsalou wrote:

>I have a site called www.example.com that I want to setup. Part of this
>setup is that there is some stuff stored at
>/var/www/html/webstuff/mike/site1 and stuff setup at
>/var/www/html/webstuff/mike/site2.
>
>To get to these sites now I have to type:
>http://www.example.com/webstuff/mike/site1, etc.
>
>I would like to only have to type:
>http://www.example.com/site1.
>
>How do I do that?
>
>I tried using rewrite, but couldn't get it to work properly.
>
>Suggestions please?
>
>
>
>
mod_alias should do the trick
line looks like this in httpd.conf or commonhttpd.conf depends on
apache version etc
Alias /site1/ /var/www/html/webstuff/mike/site1/

Shortpier

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sat Jul 24 11:56:00 2004

This archive was generated by hypermail 2.1.8 : Sat Jul 24 2004 - 11:56:01 AKDT