Re: httpd help??


Subject: Re: httpd help??
From: Sean O. Denney (sdenney@cise.ufl.edu)
Date: Mon May 28 2001 - 06:47:56 MDT


That worked. I put

ServerName devil

and now I can http://192.168.1.101 or http://66.20.xxx.xxx and the
Apache test page comes up. However, when I do
http://192.168.1.101/~sdenney or http://66.20.xxx.xxx/~sdenney it says

FORBIDDEN: access denied.

Any thoughts on this?

--- Sean

On Sun, 27 May 2001, Chris Ruprecht wrote:

> >I would like to set this up for private testing. I do web design,
> >and this would help tremendously. As opposed to paying for an account
> >with an ISP, dealing with moron tech support people, and then testing
> >a site out.
>
> Sean,
>
> usually, you would assign a name to your machine using some DNS
> services, but, if you're like me, on a cable modem or a DSL, then you
> probably have some crazy name and a different IP address, every time
> you boot.
>
> Therefore, to get apache running, have a look into httpd.conf which
> would be in /etc/httpd/conf.
>
> Find the place where it says "ServerName" and uncomment it and call
> your machine www (for example). Here is the section from my box
> (which is named after the island my wife is from):
> --- begin ---
> #
> # ServerName: allows you to set a host name which is sent back to clients for
> # your server if it's different than the one the program would get (i.e., use
> # "www" instead of the host's real name).
> #
> # Note: You cannot just invent host names and hope they work. The name you
> # define here must be a valid DNS name for your host. If you don't understand
> # this, ask your network administrator.
> # If your host doesn't have a registered DNS name, enter its IP address here.
> # You will have to access it by its address (e.g., http://123.45.67.89/)
> # anyway, and this will make redirections work in a sensible way.
> #
> ServerName bohol
> --- end ---
>
> Best regards,
> Chris
>
> --
> --
> Chris Ruprecht
> Network grunt and bit pusher extraordinaíre
>
>



This archive was generated by hypermail 2a24 : Mon May 28 2001 - 05:54:00 MDT