httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zia Syed <zia.cha...@gmail.com>
Subject Re: [users@httpd] Newbie Need Help
Date Wed, 05 Jan 2005 23:36:00 GMT
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 <sean@usaherbals.com> 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 <sean@usaherbals.com>
> 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
> <sean@usaherbals.com> 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
> <sean@usaherbals.com> 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 <sean@usaherbals.com> 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 <VirtualHost>. 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---------- <VirtualHost *> ServerSignature email
> DirectoryIndex index.php index.html index.htm index.shtml LogLevel warn
> HostNameLookups off </VirtualHost> <VirtualHost 192.168.0.2> ServerName
> melville.homeip.net ServerAlias *.mail ServerAdmin
> postmaster@melville.homeip.net DocumentRoot /var/www/webmail </VirtualHost>
> --------------------------------------------------------------------- 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


Mime
View raw message