Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 96206 invoked from network); 5 Jan 2005 23:36:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Jan 2005 23:36:19 -0000 Received: (qmail 84609 invoked by uid 500); 5 Jan 2005 23:36:08 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 84049 invoked by uid 500); 5 Jan 2005 23:36:06 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 84034 invoked by uid 99); 5 Jan 2005 23:36:06 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,URIBL_WS_SURBL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of zia.chacho@gmail.com designates 64.233.184.194 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.194) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 05 Jan 2005 15:36:03 -0800 Received: by wproxy.gmail.com with SMTP id 49so713469wri for ; Wed, 05 Jan 2005 15:36:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=K6dT3GGvdxpc3nKtJSeyxaZrrasv+Ho0idCQM6u6ZHo1NdH/bEBZ22VkS+3ya0UfN6YWq0SRAw/SfcBaJcM6f/6jSXZyDnXnrKSrGboYNeDrkeZtJsbKvhhO7v4SXTObBS36wRIEd8igS88THefUon+yumeXSpt3zZ6AtIIuQ+A= Received: by 10.54.19.64 with SMTP id 64mr819540wrs; Wed, 05 Jan 2005 15:36:00 -0800 (PST) Received: by 10.54.19.33 with HTTP; Wed, 5 Jan 2005 15:36:00 -0800 (PST) Message-ID: Date: Wed, 5 Jan 2005 23:36:00 +0000 From: Zia Syed Reply-To: Zia Syed To: users@httpd.apache.org In-Reply-To: <41DC70E7.4080206@usaherbals.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41DC5D62.8010809@usaherbals.com> <41DC613A.3070402@usaherbals.com> <41DC64B1.2060100@usaherbals.com> <41DC6B1A.8070409@usaherbals.com> <41DC70E7.4080206@usaherbals.com> X-Virus-Checked: Checked Subject: Re: [users@httpd] Newbie Need Help X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ScriptAlias didn't work either, giving me permission error. However, I moved the webmail folder to /var/www/html (which is DocumentRoot) and now with /webmail/ I can access the squirrel login page. This is almost what I wanted. :) Thanks for your helps. cheers, On Wed, 05 Jan 2005 17:57:43 -0500, Sean T Allen wrote: > ScriptAlias /mail whatver in the filesystem > > Zia Syed wrote: > It doesn't work :( As I said, the index.php is in /var/www/webmail forlder, > which redirects to src/login.php, i tried putting both in the Redirect field > but no use. Also there is a problem that since i'm behind firewall, I can't > access melville.homeip.net as homeip.net is from dynamicdns.org. So I want > sumthing that I can simply redirect to index.php relative to my filesystem, > rather than http:// . Do u get what I mean? Thanks for ur time and help :) > Z. On Wed, 05 Jan 2005 17:32:58 -0500, Sean T Allen > wrote: > Redirect /mail http://melville.homeip.net/src/login.php will do that Zia > Syed wrote: not necessarily. I will be ok with the src/login.php as long as > it gets there from /mail. On Wed, 05 Jan 2005 17:05:37 -0500, Sean T Allen > wrote: do you want the url to stay /mail in the > browser? Zia Syed wrote: check this out http://melville.homeip.net I want > the login page to be mapped to http://melville.homeip.net/mail and display > the main page at http://melville.homeip.net instead. How can i do that? > Thanks, Z. On Wed, 05 Jan 2005 16:50:50 -0500, Sean T Allen > wrote: but what is the url that you would currently > access it at or have you not setup a url yet? if dont have a url yet then > you are talking about aliasing as in /var/www/webmail/src isnt in your root > but you want something like ScriptAlias /mail /var/www/webmail/src Zia Syed > wrote: The login.php file is stored at /var/www/webmail/src/ Z. On Wed, 05 > Jan 2005 16:34:26 -0500, Sean T Allen wrote: And what > is the url for the squirrel mail login? Zia Syed wrote: Hi, I'm new to > Apache HTTP. I would like to host squirrelmail webclient on my apache server > with /mail directive e.g http://my.server.com/mail . So far looking into > documentation I found about . I want to use port 80 for both my > normal website as well as for webmail. According to documentation, with > VirtualHost, i can use different ports, however, this is not want i want to > achieve. I want to have normal website at http://my.server.com and webmail > at http://my.server.com/mail which redirects users to squirrelmail login. > I've pasted the snippet from my httpd.conf file. I know it should be simple > enough to do, but can't find any documentation about it, or perhaps I'm > searching with wrong query term on google. Please advise. Thanks, Zia > ------httpd.conf---------- ServerSignature email > DirectoryIndex index.php index.html index.htm index.shtml LogLevel warn > HostNameLookups off ServerName > melville.homeip.net ServerAlias *.mail ServerAdmin > postmaster@melville.homeip.net DocumentRoot /var/www/webmail > --------------------------------------------------------------------- To > unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional > commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To > unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional > commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To > unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional > commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To > unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional > commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To > unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional > commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To > unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional > commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To > unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional > commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To > unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional > commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To > unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional > commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org