Re: www and without www is not the same ?!

Atif Ghaffar <[email protected]> Fri, 25 Nov 2005 17:15:51 +0100
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
ispman.ldap2apache

if I remember correctly.




On 11/25/05, thomas-5VVOt45T8ASrG/[email protected] <thomas-5VVOt45T8ASrG/[email protected]> wrote:
>
> thanks, what command should I run so that my pervious created host will be
> effect in the same time for the change ? Thank you.
>
> > Find the file vhosts.conf.template
> >
> > Look for a line that says
> > $ServerAliases="ServerAlias   $ServerAliases ";
> >
> > Add after that line the following.
> > $ServerAliases.=$ispmanDomain if ($servername eq "www." .
> $ispmanDomain);
> >
> > PS: domain.tld is NOT the same as WWW.domain.tld <http://www.domain.tld>
> > and
> > that is why this is not done by default.
> >
> >
> >
> >
> >
> >
> > On 11/25/05, thomas-5VVOt45T8ASrG/[email protected] <thomas-5VVOt45T8ASrG/[email protected]> wrote:
> >>
> >> mind to guide me a bit because I know nothing on perl , Thanks.
> >> > Add some perl to the vhosts template to check if the domain is a root
> >> > domain, and append an alias if it is?
> >> >
> >> > thomas-5VVOt45T8ASrG/[email protected] wrote:
> >> >
> >> >>how could I make it default on ispman ?!
> >> >>
> >> >>
> >> >>>Hi Thomas,
> >> >>>
> >> >>>thomas-5VVOt45T8ASrG/[email protected] wrote:
> >> >>>
> >> >>>
> >> >>>>hi all, I am using ispman a long time ago, but I still don't
> >> understand
> >> >>>>why www and without www isn't direct into same place ?
> >> >>>>
> >> >>>>for example, you type www.domain.com on the browser, and domain.com
> >> >>>>only,
> >> >>>>both are running into different page, how could I resolve this ?
> >> Thanks
> >> >>>>
> >> >>>>
> >> >>>You need to:
> >> >>>
> >> >>>1) ensure that A records exist for both www and @
> >> >>>
> >> >>>2) update the vhost with a ServerAlias for domain.com, so that it
> >> will
> >> >>>work for both URLs
> >> >>>
> >> >>>By default, I don't think ISPMan does this.
> >> >>>
> >> >>>Wim
> >> >>>
> >> >>>
> >> >>>
> >> >>>-------------------------------------------------------
> >> >>>This SF.net email is sponsored by: Splunk Inc. Do you grep through
> >> log
> >> >>>files
> >> >>>for problems?  Stop!  Download the new AJAX search engine that makes
> >> >>>searching your log files as easy as surfing the  web.  DOWNLOAD
> >> SPLUNK!
> >> >>>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> >> >>>_______________________________________________
> >> >>>Ispman-users mailing list
> >> >>>[email protected]
> >> >>>https://lists.sourceforge.net/lists/listinfo/ispman-users
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>-------------------------------------------------------
> >> >>This SF.net email is sponsored by: Splunk Inc. Do you grep through
> log
> >> >> files
> >> >>for problems?  Stop!  Download the new AJAX search engine that makes
> >> >>searching your log files as easy as surfing the  web.  DOWNLOAD
> >> SPLUNK!
> >> >>http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
> >> >>_______________________________________________
> >> >>Ispman-users mailing list
> >> >>[email protected]
> >> >>https://lists.sourceforge.net/lists/listinfo/ispman-users
> >> >>
> >> >>
> >> >
> >> >
> >> > -------------------------------------------------------
> >> > This SF.net email is sponsored by: Splunk Inc. Do you grep through
> log
> >> > files
> >> > for problems?  Stop!  Download the new AJAX search engine that makes
> >> > searching your log files as easy as surfing the  web.  DOWNLOAD
> >> SPLUNK!
> >> > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> >> > _______________________________________________
> >> > Ispman-users mailing list
> >> > [email protected]
> >> > https://lists.sourceforge.net/lists/listinfo/ispman-users
> >> >
> >> >
> >>
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> >> files
> >> for problems?  Stop!  Download the new AJAX search engine that makes
> >> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> >> http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> >> _______________________________________________
> >> Ispman-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/ispman-users
> >>
> >
> >
> >
> > --
> > best regards
> > Atif Ghaffar
> >
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> _______________________________________________
> Ispman-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ispman-users
>



--
best regards
Atif Ghaffar