You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by George Hester <he...@hotmail.com> on 2004/03/20 21:59:22 UTC

[users@httpd] Re: Re: Changing Port Apache listens on?

Did that:

#Listen 12.34.56.78:80 (looks like a comment)

#
Port 80

#
# 

Ah I found it.  The trouble is EVERYTHING looks like comments.
 I just noticed the above is NOT a comment only because I copy and pasted in here
 and the line breaks became evident when I did that.

Thanks I think I know what to do now to fix this issue.

George Hester
__________________________________
"Jonathan Mangin"  wrote in message news:004b01c40eb7$529420e0$0a01a8c0@harpo...
> You searched for Listen...no joy.
> Now search for 80 in httpd.conf
> 
> 
> ----- Original Message ----- 
> From: "George Hester" <he...@hotmail.com>
> To: <us...@httpd.apache.org>
> Sent: Saturday, March 20, 2004 2:41 PM
> Subject: [users@httpd] Re: Changing Port Apache listens on?
> 
> 
> oh well.  I was hoping to get an answer to this question.
> Maybe the first reply comes close.
>  Not sure though because I am not sure if I am just supposed
>  to just enter Listen MyPort somewhere in the httpd.conf file
>  and if so if the location where it is put matters.  thanks I spz.
> 
> -- 
> George Hester
> __________________________________
> "George Hester" <he...@hotmail.com> wrote in message
> news:c3hrck$b7q$1@sea.gmane.org...
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Re: Re: Re: Changing Port Apache listens on?

Posted by Jeff White <jl...@earthlink.net>.
From: "George Hester" 

> Nice thanks.  I did unix2dos on 
> httpd.conf and now the entire thing 
> is clear.  Thanks for pointing out those utilities.

Get the free ConTEXT editor
and the color file for Apache Conf  
(Apache color file needs Apache2
reworking - or copy and create an
Apache2 color file)

ConTEXT also changes Unix to Dos:

After you load in any file go to: 
Tools->Convert text to ->
DOS
Unicode
UNIX
Mac

ConTEXT
http://www.fixedsys.com/context/

Text Coloring for:
Apache Config
ASP
ASP-JS
CSharp
MS Interface Definition Language (IDL)
NT/2K Batch
PHP
VBScript
Visual Basic .NET
Windows Resource Scripts
And many more and easy to 
create/change the color files 

I use ConTEXT for Windows Scripting and
for those quick .NET Framework assemblies. 

There's a lot in those .NET Framework classes!
 
Jeff



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Re: Re: Re: Changing Port Apache listens on?

Posted by George Hester <he...@hotmail.com>.
Nice thanks.  I did unix2dos on httpd.conf and now the entire thing is clear.  Thanks for pointing out those utilities.


George Hester
__________________________________
"shane c branch" wrote in message news:405CDCF0.7050103@barton.edu...
> George Hester wrote:
> > I don't think you understand.  In httpd.conf EVERYTHING looks like comments.  EVERYTHING.  Not somethings but EVERYTHING.
> > This is an issue of linebreaks not appearing in Notepad which is what I am using to view the file.
> > When I tried posting in this post what it looked like to me the line breaks appeared correctly.
> > I have fixed the issue.  But only because when I tried to post the way the 
> > file looks to me the linebreaks became clear which they wer NOT viewing httpd.conf
> > in Notepad.
> > 
> Wow! you are using notepad? Get something that will support syntax 
> highlighting, such as jedit (www.jedit.org).
> 
> As regards the format, if that is the issue, then try downloading that 
> unix2dos.exe and/or dos2unix.exe utilities. They are command line 
> programs that convert the formats of text documents.
> 
> -- 
> regards,
> 
> shane
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Re: Re: Changing Port Apache listens on?

Posted by shane c branch <sc...@barton.edu>.
George Hester wrote:
> I don't think you understand.  In httpd.conf EVERYTHING looks like comments.  EVERYTHING.  Not somethings but EVERYTHING.
> This is an issue of linebreaks not appearing in Notepad which is what I am using to view the file.
> When I tried posting in this post what it looked like to me the line breaks appeared correctly.
> I have fixed the issue.  But only because when I tried to post the way the 
> file looks to me the linebreaks became clear which they wer NOT viewing httpd.conf
> in Notepad.
> 
Wow! you are using notepad? Get something that will support syntax 
highlighting, such as jedit (www.jedit.org).

As regards the format, if that is the issue, then try downloading that 
unix2dos.exe and/or dos2unix.exe utilities. They are command line 
programs that convert the formats of text documents.

-- 
regards,

shane

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Re: Re: Changing Port Apache listens on?

Posted by Jonathan Mangin <jo...@comcast.net>.
See if Wordpad works better. Do NOT investigate the joys of vi yet.


----- Original Message ----- 
From: "George Hester" <he...@hotmail.com>
To: <us...@httpd.apache.org>
Sent: Saturday, March 20, 2004 4:21 PM
Subject: [users@httpd] Re: Re: Re: Changing Port Apache listens on?


I don't think you understand.  In httpd.conf EVERYTHING looks like comments.
EVERYTHING.  Not somethings but EVERYTHING.
This is an issue of linebreaks not appearing in Notepad which is what I am
using to view the file.
When I tried posting in this post what it looked like to me the line breaks
appeared correctly.
I have fixed the issue.  But only because when I tried to post the way the
file looks to me the linebreaks became clear which they wer NOT viewing
httpd.conf
in Notepad.

There was no installer in this installation.  The way it works is like this:

Cygwin | Setup | Apache | done.

That's it no more and no less.  That's all.  Once that was done I was at the
mercy of reading
locations on the web what to do to get it going and the fact that the
linebreaks
were not appearing in httpd.conf I was at a loss where to change the port.

George Hester
__________________________________
"Bill Tribley" <> wrote in message
news:001f01c40ebf$de5a0380$0601a8c0@tribley.org...
> You may be confused because of the use of defaults. It is standard
practice to include commented statements of all defaulted parameters. If you
don't like the default, you uncomment and change. Be grateful for the
comments. In the bad old days all you got was the code, and it wasn't very
readable.
>
> Apache is a complex system. The header clearly encourages the installer to
really read the thing and understand it before diving in. I think if you do
that you will get used to the flowing form.
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Re: Re: Re: Changing Port Apache listens on?

Posted by George Hester <he...@hotmail.com>.
I have done that.  The Cygwin version went belly up over the weekend.

George Hester
__________________________________
"Brian Dessent" <br...@dessent.net> wrote in message news:405EBAAD.22DB9C7F@dessent.net...
> George Hester wrote:
> > 
> > I don't think you understand.  In httpd.conf EVERYTHING looks like comments.  EVERYTHING.  Not somethings but EVERYTHING.
> > This is an issue of linebreaks not appearing in Notepad which is what I am using to view the file.
> > When I tried posting in this post what it looked like to me the line breaks appeared correctly.
> > I have fixed the issue.  But only because when I tried to post the way the
> > file looks to me the linebreaks became clear which they wer NOT viewing httpd.conf
> > in Notepad.
> 
> You're trying to use a windows program to view a file with Unix mode
> line endings.  Use an editor that supports unix mode.
> 
> And take the advice that has already been given here, don't use the
> Cygwin version unless you have some specific need.  Use the windows
> native 2.x version.
> 
> Brian
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Re: Re: Changing Port Apache listens on?

Posted by Brian Dessent <br...@dessent.net>.
George Hester wrote:
> 
> I don't think you understand.  In httpd.conf EVERYTHING looks like comments.  EVERYTHING.  Not somethings but EVERYTHING.
> This is an issue of linebreaks not appearing in Notepad which is what I am using to view the file.
> When I tried posting in this post what it looked like to me the line breaks appeared correctly.
> I have fixed the issue.  But only because when I tried to post the way the
> file looks to me the linebreaks became clear which they wer NOT viewing httpd.conf
> in Notepad.

You're trying to use a windows program to view a file with Unix mode
line endings.  Use an editor that supports unix mode.

And take the advice that has already been given here, don't use the
Cygwin version unless you have some specific need.  Use the windows
native 2.x version.

Brian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Re: Re: Changing Port Apache listens on?

Posted by George Hester <he...@hotmail.com>.
I don't think you understand.  In httpd.conf EVERYTHING looks like comments.  EVERYTHING.  Not somethings but EVERYTHING.
This is an issue of linebreaks not appearing in Notepad which is what I am using to view the file.
When I tried posting in this post what it looked like to me the line breaks appeared correctly.
I have fixed the issue.  But only because when I tried to post the way the 
file looks to me the linebreaks became clear which they wer NOT viewing httpd.conf
in Notepad.

There was no installer in this installation.  The way it works is like this:

Cygwin | Setup | Apache | done.

That's it no more and no less.  That's all.  Once that was done I was at the mercy of reading
locations on the web what to do to get it going and the fact that the linebreaks
were not appearing in httpd.conf I was at a loss where to change the port.

George Hester
__________________________________
"Bill Tribley" <> wrote in message news:001f01c40ebf$de5a0380$0601a8c0@tribley.org...
> You may be confused because of the use of defaults. It is standard practice to include commented statements of all defaulted parameters. If you don't like the default, you uncomment and change. Be grateful for the comments. In the bad old days all you got was the code, and it wasn't very readable.
> 
> Apache is a complex system. The header clearly encourages the installer to really read the thing and understand it before diving in. I think if you do that you will get used to the flowing form. 
> 
> 
> 
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org]On Behalf Of George Hester
> Sent: Saturday, March 20, 2004 2:59 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Re: Re: Changing Port Apache listens on?
> 
> 
> Did that:
> 
> #Listen 12.34.56.78:80 (looks like a comment)
> 
> #
> Port 80
> 
> #
> # 
> 
> Ah I found it.  The trouble is EVERYTHING looks like comments.
>  I just noticed the above is NOT a comment only because I copy and pasted in here
>  and the line breaks became evident when I did that.
> 
> Thanks I think I know what to do now to fix this issue.
> 
> George Hester
> __________________________________
> "Jonathan Mangin"  wrote in message news:004b01c40eb7$529420e0$0a01a8c0@harpo...
> > You searched for Listen...no joy.
> > Now search for 80 in httpd.conf
> > 
> > 
> > ----- Original Message ----- 
> > From: "George Hester" <he...@hotmail.com>
> > To: <us...@httpd.apache.org>
> > Sent: Saturday, March 20, 2004 2:41 PM
> > Subject: [users@httpd] Re: Changing Port Apache listens on?
> > 
> > 
> > oh well.  I was hoping to get an answer to this question.
> > Maybe the first reply comes close.
> >  Not sure though because I am not sure if I am just supposed
> >  to just enter Listen MyPort somewhere in the httpd.conf file
> >  and if so if the location where it is put matters.  thanks I spz.
> > 
> > -- 
> > George Hester
> > __________________________________
> > "George Hester" <he...@hotmail.com> wrote in message
> > news:c3hrck$b7q$1@sea.gmane.org...
> > 
> > 
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> > 
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Re: Re: Changing Port Apache listens on?

Posted by Bill Tribley <bi...@tribley.org>.
You may be confused because of the use of defaults. It is standard practice to include commented statements of all defaulted parameters. If you don't like the default, you uncomment and change. Be grateful for the comments. In the bad old days all you got was the code, and it wasn't very readable.

Apache is a complex system. The header clearly encourages the installer to really read the thing and understand it before diving in. I think if you do that you will get used to the flowing form. 



-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of George Hester
Sent: Saturday, March 20, 2004 2:59 PM
To: users@httpd.apache.org
Subject: [users@httpd] Re: Re: Changing Port Apache listens on?


Did that:

#Listen 12.34.56.78:80 (looks like a comment)

#
Port 80

#
# 

Ah I found it.  The trouble is EVERYTHING looks like comments.
 I just noticed the above is NOT a comment only because I copy and pasted in here
 and the line breaks became evident when I did that.

Thanks I think I know what to do now to fix this issue.

George Hester
__________________________________
"Jonathan Mangin"  wrote in message news:004b01c40eb7$529420e0$0a01a8c0@harpo...
> You searched for Listen...no joy.
> Now search for 80 in httpd.conf
> 
> 
> ----- Original Message ----- 
> From: "George Hester" <he...@hotmail.com>
> To: <us...@httpd.apache.org>
> Sent: Saturday, March 20, 2004 2:41 PM
> Subject: [users@httpd] Re: Changing Port Apache listens on?
> 
> 
> oh well.  I was hoping to get an answer to this question.
> Maybe the first reply comes close.
>  Not sure though because I am not sure if I am just supposed
>  to just enter Listen MyPort somewhere in the httpd.conf file
>  and if so if the location where it is put matters.  thanks I spz.
> 
> -- 
> George Hester
> __________________________________
> "George Hester" <he...@hotmail.com> wrote in message
> news:c3hrck$b7q$1@sea.gmane.org...
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org