You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nishit Trivedi <ni...@planet.net> on 2000/05/01 15:26:41 UTC

Re: alias problem in configuration

hi,

i tried to have quotes around the local path...no luck....
and my tomcat installation is fine...i mean, when i include tomcat.conf in
httpd.conf, it's fine...but when i tried to include tomcat-apache.conf in
httpd.conf,
i am getting error...

Nishit
Internet Programmer
Planet Access Networks
973-691-4704 Ext:157
----- Original Message -----
From: "Adam Le" <ad...@echobuzz.com>
To: <to...@jakarta.apache.org>
Sent: Friday, April 28, 2000 7:21 PM
Subject: RE: alias problem in configuration


> You may want to try this:
>
> Alias /examples "C:\My Downloaded
> files\Apache-xml\jakarta-tomcat\jakarta-tomcat\webapps\examples"
>
> Emphasis on the quotes being around the local path only.
>
> Are you running Tomcat? If you are, all you need to do is to include the
> tomcat.conf file to your httpd.conf file. Startup Apache, startup up
Tomcat
> and you will be able to access the Tomcat examples through apache (ie:
> http://localhost/examples/index.html)
>
> Good Luck.
>
> Adam
> -----Original Message-----
> From: Rishi N [mailto:reache@hotmail.com]
> Sent: Friday, April 28, 2000 4:09 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: alias problem in configuration
>
>
> hi nishit,
> i believe the second parameter needs to be in double quotes.
>
> rishi
>
>
>
> >From: "Nishit Trivedi" <ni...@planet.net>
> >Reply-To: tomcat-user@jakarta.apache.org
> >To: <to...@jakarta.apache.org>
> >Subject: alias problem in configuration
> >Date: Fri, 28 Apr 2000 17:25:55 -0400
> >MIME-Version: 1.0
> >Received: from [63.211.145.10] by hotmail.com (3.2) with ESMTP id
> >MHotMailBAD34CFD000DD820F3CF3FD3910A05A90; Fri Apr 28 14:26:21 2000
> >Received: (qmail 58122 invoked by uid 500); 28 Apr 2000 21:26:05 -0000
> >Received: (qmail 58110 invoked from network); 28 Apr 2000 21:26:04 -0000
> >Received: from saturn.planet.net (198.69.0.108)  by locus.apache.org with
> >SMTP; 28 Apr 2000 21:26:04 -0000
> >Received: from prog48 (prog48.planet.net [208.163.30.48]) by
> >saturn.planet.net (8.9.3/8.6.9) with SMTP id RAA08042 for
> ><to...@jakarta.apache.org>; Fri, 28 Apr 2000 17:26:08 -0400 (EDT)
> >From tomcat-user-return-1990-reache Fri Apr 28 14:29:46 2000
> >Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm
> >Precedence: bulk
> >X-No-Archive: yes
> >list-help: <ma...@jakarta.apache.org>
> >list-unsubscribe: <ma...@jakarta.apache.org>
> >list-post: <ma...@jakarta.apache.org>
> >Delivered-To: mailing list tomcat-user@jakarta.apache.org
> >Message-ID: <00...@planet.net>
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Mailer: Microsoft Outlook Express 5.00.2919.6600
> >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
> >X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> >
> >hi folks..
> >
> >I installed apache web server 1.3.12...
> >When I am including alias as follows:
> >
> >"Alias /examples C:\My Downloaded
> >files\Apache-xml\jakarta-tomcat\jakarta-tomcat\webapps\examples"
> >
> >I used to get error as following:
> >
> >"Syntax error on line 12 of C:\My Downloaded
> >files\Apache-xml\jakarta-tomcat\jaka
> >rta-tomcat\conf\tomcat-apache.conf:
> >Alias takes two arguments, a fakename and a realname"
> >
> >Can any body help me out???
> >
> >thanx in advance...
> >
> >Nishit
> >
> >Internet Programmer
> >Planet Access Networks
> >973-691-4704 Ext:157
> >
> >
>
>--------------------------------------------------------------------------
> >To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>


Re: alias problem in configuration

Posted by Nishit Trivedi <ni...@planet.net>.
thanx cameron...it worked...

Nishit
Internet Programmer
Planet Access Networks
973-691-4704 Ext:157
----- Original Message -----
From: "D. Cameron DeHeer" <dc...@worldnet.att.net>
To: <to...@jakarta.apache.org>
Sent: Monday, May 01, 2000 9:45 AM
Subject: Re: alias problem in configuration


> hi nishit,
> just a thought, but i would try getting rid of the spaces in your path
name by
> either moving the files to a directory without embedded spaces in the path
or by
> using the ms-dos name of the directory (which you can get from the
properties of
> the 'c:\my downloaded files' directory).  since windows likes to put
things in
> the 'c:\program files' directory, i have had all kinds of problems with
java and
> other tools not being able to find things or just generally being confused
by
> the embedded spaces.  worth a try...
> bye,
> cameron
>
> Nishit Trivedi wrote:
>
> > hi,
> >
> > i tried to have quotes around the local path...no luck....
> > and my tomcat installation is fine...i mean, when i include tomcat.conf
in
> > httpd.conf, it's fine...but when i tried to include tomcat-apache.conf
in
> > httpd.conf,
> > i am getting error...
> >
> > Nishit
> > Internet Programmer
> > Planet Access Networks
> > 973-691-4704 Ext:157
> > ----- Original Message -----
> > From: "Adam Le" <ad...@echobuzz.com>
> > To: <to...@jakarta.apache.org>
> > Sent: Friday, April 28, 2000 7:21 PM
> > Subject: RE: alias problem in configuration
> >
> > > You may want to try this:
> > >
> > > Alias /examples "C:\My Downloaded
> > > files\Apache-xml\jakarta-tomcat\jakarta-tomcat\webapps\examples"
> > >
> > > Emphasis on the quotes being around the local path only.
> > >
> > > Are you running Tomcat? If you are, all you need to do is to include
the
> > > tomcat.conf file to your httpd.conf file. Startup Apache, startup up
> > Tomcat
> > > and you will be able to access the Tomcat examples through apache (ie:
> > > http://localhost/examples/index.html)
> > >
> > > Good Luck.
> > >
> > > Adam
> > > -----Original Message-----
> > > From: Rishi N [mailto:reache@hotmail.com]
> > > Sent: Friday, April 28, 2000 4:09 PM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: Re: alias problem in configuration
> > >
> > >
> > > hi nishit,
> > > i believe the second parameter needs to be in double quotes.
> > >
> > > rishi
> > >
> > >
> > >
> > > >From: "Nishit Trivedi" <ni...@planet.net>
> > > >Reply-To: tomcat-user@jakarta.apache.org
> > > >To: <to...@jakarta.apache.org>
> > > >Subject: alias problem in configuration
> > > >Date: Fri, 28 Apr 2000 17:25:55 -0400
> > > >MIME-Version: 1.0
> > > >Received: from [63.211.145.10] by hotmail.com (3.2) with ESMTP id
> > > >MHotMailBAD34CFD000DD820F3CF3FD3910A05A90; Fri Apr 28 14:26:21 2000
> > > >Received: (qmail 58122 invoked by uid 500); 28 Apr 2000
21:26:05 -0000
> > > >Received: (qmail 58110 invoked from network); 28 Apr 2000
21:26:04 -0000
> > > >Received: from saturn.planet.net (198.69.0.108)  by locus.apache.org
with
> > > >SMTP; 28 Apr 2000 21:26:04 -0000
> > > >Received: from prog48 (prog48.planet.net [208.163.30.48]) by
> > > >saturn.planet.net (8.9.3/8.6.9) with SMTP id RAA08042 for
> > > ><to...@jakarta.apache.org>; Fri, 28 Apr 2000 17:26:08 -0400
(EDT)
> > > >From tomcat-user-return-1990-reache Fri Apr 28 14:29:46 2000
> > > >Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by
ezmlm
> > > >Precedence: bulk
> > > >X-No-Archive: yes
> > > >list-help: <ma...@jakarta.apache.org>
> > > >list-unsubscribe: <ma...@jakarta.apache.org>
> > > >list-post: <ma...@jakarta.apache.org>
> > > >Delivered-To: mailing list tomcat-user@jakarta.apache.org
> > > >Message-ID: <00...@planet.net>
> > > >X-Priority: 3
> > > >X-MSMail-Priority: Normal
> > > >X-Mailer: Microsoft Outlook Express 5.00.2919.6600
> > > >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
> > > >X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> > > >
> > > >hi folks..
> > > >
> > > >I installed apache web server 1.3.12...
> > > >When I am including alias as follows:
> > > >
> > > >"Alias /examples C:\My Downloaded
> > > >files\Apache-xml\jakarta-tomcat\jakarta-tomcat\webapps\examples"
> > > >
> > > >I used to get error as following:
> > > >
> > > >"Syntax error on line 12 of C:\My Downloaded
> > > >files\Apache-xml\jakarta-tomcat\jaka
> > > >rta-tomcat\conf\tomcat-apache.conf:
> > > >Alias takes two arguments, a fakename and a realname"
> > > >
> > > >Can any body help me out???
> > > >
> > > >thanx in advance...
> > > >
> > > >Nishit
> > > >
> > > >Internet Programmer
> > > >Planet Access Networks
> > > >973-691-4704 Ext:157
> > > >
> > > >
> > >
> >
>--------------------------------------------------------------------------
> > > >To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > > >For additional commmands, email: tomcat-user-help@jakarta.apache.org
> > > >
> > >
> > >
________________________________________________________________________
> > > Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com
> > >
> > >
> >
> --------------------------------------------------------------------------
> > > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> --------------------------------------------------------------------------
> > > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>


Re: alias problem in configuration

Posted by "D. Cameron DeHeer" <dc...@worldnet.att.net>.
hi nishit,
just a thought, but i would try getting rid of the spaces in your path name by
either moving the files to a directory without embedded spaces in the path or by
using the ms-dos name of the directory (which you can get from the properties of
the 'c:\my downloaded files' directory).  since windows likes to put things in
the 'c:\program files' directory, i have had all kinds of problems with java and
other tools not being able to find things or just generally being confused by
the embedded spaces.  worth a try...
bye,
cameron

Nishit Trivedi wrote:

> hi,
>
> i tried to have quotes around the local path...no luck....
> and my tomcat installation is fine...i mean, when i include tomcat.conf in
> httpd.conf, it's fine...but when i tried to include tomcat-apache.conf in
> httpd.conf,
> i am getting error...
>
> Nishit
> Internet Programmer
> Planet Access Networks
> 973-691-4704 Ext:157
> ----- Original Message -----
> From: "Adam Le" <ad...@echobuzz.com>
> To: <to...@jakarta.apache.org>
> Sent: Friday, April 28, 2000 7:21 PM
> Subject: RE: alias problem in configuration
>
> > You may want to try this:
> >
> > Alias /examples "C:\My Downloaded
> > files\Apache-xml\jakarta-tomcat\jakarta-tomcat\webapps\examples"
> >
> > Emphasis on the quotes being around the local path only.
> >
> > Are you running Tomcat? If you are, all you need to do is to include the
> > tomcat.conf file to your httpd.conf file. Startup Apache, startup up
> Tomcat
> > and you will be able to access the Tomcat examples through apache (ie:
> > http://localhost/examples/index.html)
> >
> > Good Luck.
> >
> > Adam
> > -----Original Message-----
> > From: Rishi N [mailto:reache@hotmail.com]
> > Sent: Friday, April 28, 2000 4:09 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Re: alias problem in configuration
> >
> >
> > hi nishit,
> > i believe the second parameter needs to be in double quotes.
> >
> > rishi
> >
> >
> >
> > >From: "Nishit Trivedi" <ni...@planet.net>
> > >Reply-To: tomcat-user@jakarta.apache.org
> > >To: <to...@jakarta.apache.org>
> > >Subject: alias problem in configuration
> > >Date: Fri, 28 Apr 2000 17:25:55 -0400
> > >MIME-Version: 1.0
> > >Received: from [63.211.145.10] by hotmail.com (3.2) with ESMTP id
> > >MHotMailBAD34CFD000DD820F3CF3FD3910A05A90; Fri Apr 28 14:26:21 2000
> > >Received: (qmail 58122 invoked by uid 500); 28 Apr 2000 21:26:05 -0000
> > >Received: (qmail 58110 invoked from network); 28 Apr 2000 21:26:04 -0000
> > >Received: from saturn.planet.net (198.69.0.108)  by locus.apache.org with
> > >SMTP; 28 Apr 2000 21:26:04 -0000
> > >Received: from prog48 (prog48.planet.net [208.163.30.48]) by
> > >saturn.planet.net (8.9.3/8.6.9) with SMTP id RAA08042 for
> > ><to...@jakarta.apache.org>; Fri, 28 Apr 2000 17:26:08 -0400 (EDT)
> > >From tomcat-user-return-1990-reache Fri Apr 28 14:29:46 2000
> > >Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm
> > >Precedence: bulk
> > >X-No-Archive: yes
> > >list-help: <ma...@jakarta.apache.org>
> > >list-unsubscribe: <ma...@jakarta.apache.org>
> > >list-post: <ma...@jakarta.apache.org>
> > >Delivered-To: mailing list tomcat-user@jakarta.apache.org
> > >Message-ID: <00...@planet.net>
> > >X-Priority: 3
> > >X-MSMail-Priority: Normal
> > >X-Mailer: Microsoft Outlook Express 5.00.2919.6600
> > >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
> > >X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> > >
> > >hi folks..
> > >
> > >I installed apache web server 1.3.12...
> > >When I am including alias as follows:
> > >
> > >"Alias /examples C:\My Downloaded
> > >files\Apache-xml\jakarta-tomcat\jakarta-tomcat\webapps\examples"
> > >
> > >I used to get error as following:
> > >
> > >"Syntax error on line 12 of C:\My Downloaded
> > >files\Apache-xml\jakarta-tomcat\jaka
> > >rta-tomcat\conf\tomcat-apache.conf:
> > >Alias takes two arguments, a fakename and a realname"
> > >
> > >Can any body help me out???
> > >
> > >thanx in advance...
> > >
> > >Nishit
> > >
> > >Internet Programmer
> > >Planet Access Networks
> > >973-691-4704 Ext:157
> > >
> > >
> >
> >--------------------------------------------------------------------------
> > >To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > >For additional commmands, email: tomcat-user-help@jakarta.apache.org
> > >
> >
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
> >
> > --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> > --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
> >
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org