You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Steven Pierce <pa...@speakeasy.net> on 2004/03/09 04:43:01 UTC

[users@httpd] Re: web question

Good Evening,

OK.. Do you know what DNS is??   (Domain Name System)  DNS is what runs the
Internet.  It is what allows machines to be found at www.yahoo.com not try to remember
63.250.206.138.  If you do not have anything to point at, then there is nothing for the
server to know what to look for.   I am kind of new to Apache also, but I am learning.
I am in the process of setting up a DNS server, and a web server, with mail.  

The link that I sent, will help you see if you can see your server. If you can do a local 
host at http://localhost/ then it shows you the test page for Apache then you are OK.
If you file not found, then you either do not have Apache going, or your DNS is a issue.

What are you trying to do??  I am going to put this back on the list, so that others
can learn / teach what we have (are) doing.


If anyone in the group wants to input more or correct anything in my note by all
means do.

*********** REPLY SEPARATOR  ***********

On 3/8/2004 at 8:01 AM webwhiz@island.net wrote:

>Sorry for asking directly Stephen, but don't want to clutter up the 
>newsgroup.
>
>Can you expound a little about the DNS problem I have?  I am using 
>a simple server configuration, perhaps I should be in virtual host 
>mode?  
>
>I don't understand the following...
>
>If you want to test your domain before it's resolvable with the public
>DNS, then just add the hostnames to /etc/hosts for the 127.0.0.1 IP
>address, e.g.:
>
>127.0.0.1	localhost something.example.com 
>www.something.example.com
>
>But, then I am totally new to apache.  
>
>I think I have to get a good book on this subject, there appear to be 
>lots of them out there.




---------------------------------------------------------------------
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: a wicked web...

Posted by jtlapp <jt...@tlab.net>.
All apache needs is just the two lines:
port: 8080 and Listen 8080 

The stuff which starts with the # sign are comments. 
The port and listen are apache directives.

Check your running processes,  you may have apache running and not know of 
it's where abouts. Under Linux that's ps aux | grep httpd.  You'll find one 
httpd which you started under your userid or uid and on for each child that 
apache spawns from the startserver command.


On Tue March 9 2004 10:46 am, George Boston wrote:
> John:  The apacheproxied coding for httpd.conf is nowhere to be found in my
> file.  If I put it in, an error occurs because of its existence. I like
> your comments, very clear.
> I tried using port 8080 instead of 80, and TCPView verifies its use, but
> the browser/localhost entry cannot find the page, nor can
> http://127.0.0.1:8080  How can it be in use and not be found?  --G
>
> jtlapp <jt...@tlab.net> wrote:
> George,
>
> Check your httpd.conf file for the port it's listening on. Most are set to
> port 8080. Here's what that section of the httpd.conf looks like.
>
> ###
> ### IP Address/Port and Proxied configuration section
> ###
> # The APACHEPROXIED setting can be set in /etc/rc.d/init.d/httpd if you
> # are using a proxy or accelerator, like the Apache-SGI or khttpd, so that
> # the fast web server serves static content while Apache handles the
> # cgi or php files
>
> #BindAddress *
>
> Port 8080
> Listen 8080
>
> Change the port and listen directives to 80 and your apache install will be
> visable to ANYONE who can connect to your machine. If you don't want to go
> public yet you can leave the port/listen set to 8080 and just point your
> browser to http://127.0.0.1:8080 or http://localhost:8080.
>
> After you mod your httpd.conf run /bin/apachectl configtest to check your
> httpd.conf for errors. If configtest sez all is well then apachectl start
> to start apache.


---------------------------------------------------------------------
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: a wicked web...

Posted by George Boston <gb...@prodigy.net>.
John:  The apacheproxied coding for httpd.conf is nowhere to be found in my file.  If I put it in, an error occurs because of its existence.  
I like your comments, very clear.  
I tried using port 8080 instead of 80, and TCPView verifies its use, but the browser/localhost entry cannot find the page, nor can http://127.0.0.1:8080  How can it be in use and not be found?  --G

jtlapp <jt...@tlab.net> wrote:
George,

Check your httpd.conf file for the port it's listening on. Most are set to 
port 8080. Here's what that section of the httpd.conf looks like.

###
### IP Address/Port and Proxied configuration section
###
# The APACHEPROXIED setting can be set in /etc/rc.d/init.d/httpd if you
# are using a proxy or accelerator, like the Apache-SGI or khttpd, so that
# the fast web server serves static content while Apache handles the
# cgi or php files

#BindAddress *

Port 8080 
Listen 8080

Change the port and listen directives to 80 and your apache install will be 
visable to ANYONE who can connect to your machine. If you don't want to go 
public yet you can leave the port/listen set to 8080 and just point your 
browser to http://127.0.0.1:8080 or http://localhost:8080. 

After you mod your httpd.conf run /bin/apachectl configtest to check your 
httpd.conf for errors. If configtest sez all is well then apachectl start to 
start apache.

John


On Mon March 8 2004 10:30 pm, George Boston wrote:
> Steven: Thank you for your interest! I'm trying to set up a website with
> questionairres accumulated in a database and made available for viewing. 
> I'm using MySQL, php and Apache. After downloading and installing Apache
> binary it seems to start, and then stop (with Ctrl/C) and do nothing else. 
> Perhaps I don't know how to run it. TCPView gives a map of port usage,
> showing port 80 in use. Is it in use by Apache or something else? There
> is lots of documentation, but not seemingly sufficient! Most mysterious in
> getting started is the use of apachectl, a script. So, the use of
> http://localhost/ and http://127.0.0.1/ after starting Apache indicates it
> is not started, even though Ctrl/C stops it..?? What a wicked web we
> weave... --George
>
>
> Steven Pierce 
wrote:
>
> Good Evening,
>
> OK.. Do you know what DNS is?? (Domain Name System) DNS is what runs the
> Internet. It is what allows machines to be found at www.yahoo.com not try
> to remember 63.250.206.138. If you do not have anything to point at, then
> there is nothing for the server to know what to look for. I am kind of new
> to Apache also, but I am learning. I am in the process of setting up a DNS
> server, and a web server, with mail.
>
> The link that I sent, will help you see if you can see your server. If you
> can do a local host at http://localhost/ then it shows you the test page
> for Apache then you are OK. If you file not found, then you either do not
> have Apache going, or your DNS is a issue.
>
> What are you trying to do?? I am going to put this back on the list, so
> that others can learn / teach what we have (are) doing.
>
>
> If anyone in the group wants to input more or correct anything in my note
> by all means do.
>
> *********** REPLY SEPARATOR ***********
>
> On 3/8/2004 at 8:01 AM webwhiz@island.net wrote:
> >Sorry for asking directly Stephen, but don't want to clutter up the
> >newsgroup.
> >
> >Can you expound a little about the DNS problem I have? I am using
> >a simple server configuration, perhaps I should be in virtual host
> >mode?
> >
> >I don't understand the following...
> >
> >If you want to test your domain before it's resolvable with the public
> >DNS, then just add the hostnames to /etc/hosts for the 127.0.0.1 IP
> >address, e.g.:
> >
> >127.0.0.1 localhost something.example.com
> >www.something.example.com
> >
> >But, then I am totally new to apache.
> >
> >I think I have to get a good book on this subject, there appear to be
> >lots of them out there.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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 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: a wicked web...

Posted by jtlapp <jt...@tlab.net>.
George,

Check your httpd.conf file for the port it's listening on.  Most are set to 
port 8080. Here's what that section of the httpd.conf looks like.

###
### IP Address/Port and Proxied configuration section
###
# The APACHEPROXIED setting can be set in /etc/rc.d/init.d/httpd if you
# are using a proxy or accelerator, like the Apache-SGI or khttpd, so that
# the fast web server serves static content while Apache handles the
# cgi or php files

#BindAddress *
<IfDefine APACHEPROXIED>
    Port 8080  
    Listen 8080

Change the port and listen directives to 80 and your apache install will be 
visable to ANYONE who can connect to your machine. If  you don't want to go 
public yet you can leave the port/listen set to 8080 and just point your 
browser to http://127.0.0.1:8080  or http://localhost:8080. 

After you mod your httpd.conf run /bin/apachectl configtest to check your 
httpd.conf for errors. If configtest sez all is well then apachectl start to 
start apache.

John


On Mon March 8 2004 10:30 pm, George Boston wrote:
> Steven:  Thank you for your interest!  I'm trying to set up a website with
> questionairres accumulated in a database and made available for viewing. 
> I'm using MySQL, php and Apache.  After downloading and installing Apache
> binary it seems to start, and then stop (with Ctrl/C) and do nothing else. 
> Perhaps I don't know how to run it.  TCPView gives a map of port usage,
> showing port 80 in use.  Is it in use by Apache or something else?  There
> is lots of documentation, but not seemingly sufficient!  Most mysterious in
> getting started is the use of apachectl, a script.  So, the use of
> http://localhost/ and http://127.0.0.1/ after starting Apache indicates it
> is not started, even though Ctrl/C stops it..??  What a wicked web we
> weave...  --George
>
>
> Steven Pierce <pa...@speakeasy.net> wrote:
>
> Good Evening,
>
> OK.. Do you know what DNS is?? (Domain Name System) DNS is what runs the
> Internet. It is what allows machines to be found at www.yahoo.com not try
> to remember 63.250.206.138. If you do not have anything to point at, then
> there is nothing for the server to know what to look for. I am kind of new
> to Apache also, but I am learning. I am in the process of setting up a DNS
> server, and a web server, with mail.
>
> The link that I sent, will help you see if you can see your server. If you
> can do a local host at http://localhost/ then it shows you the test page
> for Apache then you are OK. If you file not found, then you either do not
> have Apache going, or your DNS is a issue.
>
> What are you trying to do?? I am going to put this back on the list, so
> that others can learn / teach what we have (are) doing.
>
>
> If anyone in the group wants to input more or correct anything in my note
> by all means do.
>
> *********** REPLY SEPARATOR ***********
>
> On 3/8/2004 at 8:01 AM webwhiz@island.net wrote:
> >Sorry for asking directly Stephen, but don't want to clutter up the
> >newsgroup.
> >
> >Can you expound a little about the DNS problem I have? I am using
> >a simple server configuration, perhaps I should be in virtual host
> >mode?
> >
> >I don't understand the following...
> >
> >If you want to test your domain before it's resolvable with the public
> >DNS, then just add the hostnames to /etc/hosts for the 127.0.0.1 IP
> >address, e.g.:
> >
> >127.0.0.1 localhost something.example.com
> >www.something.example.com
> >
> >But, then I am totally new to apache.
> >
> >I think I have to get a good book on this subject, there appear to be
> >lots of them out there.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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: a wicked web...

Posted by George Boston <gb...@prodigy.net>.
Steven:  Thank you for your interest!  I'm trying to set up a website with questionairres accumulated in a database and made available for viewing.  I'm using MySQL, php and Apache.  After downloading and installing Apache binary it seems to start, and then stop (with Ctrl/C) and do nothing else.  Perhaps I don't know how to run it.  TCPView gives a map of port usage, showing port 80 in use.  Is it in use by Apache or something else?  There is lots of documentation, but not seemingly sufficient!  Most mysterious in getting started is the use of apachectl, a script.  So, the use of http://localhost/ and http://127.0.0.1/ after starting Apache indicates it is not started, even though Ctrl/C stops it..??  What a wicked web we weave...  --George


Steven Pierce <pa...@speakeasy.net> wrote:

Good Evening,

OK.. Do you know what DNS is?? (Domain Name System) DNS is what runs the
Internet. It is what allows machines to be found at www.yahoo.com not try to remember
63.250.206.138. If you do not have anything to point at, then there is nothing for the
server to know what to look for. I am kind of new to Apache also, but I am learning.
I am in the process of setting up a DNS server, and a web server, with mail.

The link that I sent, will help you see if you can see your server. If you can do a local
host at http://localhost/ then it shows you the test page for Apache then you are OK.
If you file not found, then you either do not have Apache going, or your DNS is a issue.

What are you trying to do?? I am going to put this back on the list, so that others
can learn / teach what we have (are) doing.


If anyone in the group wants to input more or correct anything in my note by all
means do.

*********** REPLY SEPARATOR ***********

On 3/8/2004 at 8:01 AM webwhiz@island.net wrote:

>Sorry for asking directly Stephen, but don't want to clutter up the
>newsgroup.
>
>Can you expound a little about the DNS problem I have? I am using
>a simple server configuration, perhaps I should be in virtual host
>mode?
>
>I don't understand the following...
>
>If you want to test your domain before it's resolvable with the public
>DNS, then just add the hostnames to /etc/hosts for the 127.0.0.1 IP
>address, e.g.:
>
>127.0.0.1 localhost something.example.com
>www.something.example.com
>
>But, then I am totally new to apache.
>
>I think I have to get a good book on this subject, there appear to be
>lots of them out there.




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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