You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by lukki <lu...@wn.com.au> on 2005/02/23 14:24:31 UTC

[users@httpd] Configuring

I have read the FAQ's, searched and read other questions that have been asked but the more I read, the more confused and frustrated I become.  I am not what one would call computer/server literate.

I have installed Apache HTTP Server but still cant work out how to configure it for my website that I want to host on my own server.  The closest I have come is being able to see all files and logs for my web pages when I bring up my web address.

Can Apache be configured to show a website like any other on the net?  and if so, how?

I appreciate any forth coming help/advice.

Thanks.

Phil

Re: [users@httpd] Configuring

Posted by Tony Karakashian <tk...@gmail.com>.
> Thanks Tony,

You're more than welcome.

> I can now see my webpages.  Originally I was typing in the url as
> http://mywebpages.no-ip.com and could only see ALL the web files and
> folders.  By using the url http://mywebpages.no-ip.com/index.html  I got
> direct access to my webpage (just like any other website on the net).

If you add that DirectoryIndex line to your conf, you won't need to
include index.html on the end, it'll be assumed by the server.

> Your reply was to the point,concise and spot on! Thank you so much.

Those are the ones that work best. ;-)

> Now all I have to do is work out how to get Apache running on my Server and
> have it accessable from the net.  The server runs on a home network with
> internet access thru my main computer but something (either Win Firewall or
> ZoneAlarm Pro is blocking access from the net)

Are you running Windows XP?  It could be the internal firewall that
was added in SP2.  You can enable access to your Apache server by
right-clicking "My Network Places" on your desktop and choosing
Properties. Then right-click the network adapter that's connected to
the Internet and choose Properties again.  Click the Advanced tab and
click the Settings button.  Is the firewall On?  Good, leave it like
that. :)  Click the Exceptions tab, then click the Add Port button. 
In the Name box, type Apache, in the port box, type 80 and make sure
to choose TCP.  You should be able to access it now.

-T

---------------------------------------------------------------------
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] Configuring

Posted by lukki <lu...@wn.com.au>.
Thanks Tony,

I can now see my webpages.  Originally I was typing in the url as 
http://mywebpages.no-ip.com and could only see ALL the web files and 
folders.  By using the url http://mywebpages.no-ip.com/index.html  I got 
direct access to my webpage (just like any other website on the net).

Your reply was to the point,concise and spot on! Thank you so much.

Now all I have to do is work out how to get Apache running on my Server and 
have it accessable from the net.  The server runs on a home network with 
internet access thru my main computer but something (either Win Firewall or 
ZoneAlarm Pro is blocking access from the net)

At least now I can, for the time being, run my website from my main computer 
until I can get the other issues sorted out.

Again, thankyou so much for your help.

Kind regards,

Phil
----- Original Message ----- 
From: "Tony Karakashian" <tk...@gmail.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, February 23, 2005 10:36 PM
Subject: Re: [users@httpd] Configuring


>> > I have read the FAQ's, searched and read other questions that have
>> > been asked but the more I read, the more confused and frustrated I
>> > become.  I am not what one would call computer/server literate.
>
> That's okay, we've all been there.  It's a serious struggle to get
> Apache setup the first time...and the second time...and sometimes the
> third... :)  Unfortunately, there's no quickstart guide to let you
> know what's important and what's not for at least the basics.  With
> this latest install I've done, I've started writing just such a guide
> because it shouldn't be necessary to memorize a book in order to start
> using a piece of software.
>
>> > I have installed Apache HTTP Server but still cant work out how to
>> > configure it for my website that I want to host on my own server.
>> > The closest I have come is being able to see all files and logs for
>> > my web pages when I bring up my web address.
>
> Sounds like you're 90% there, and you're just missing a DirectoryIndex
> line.  This is the directive that tells the server "if the client
> didn't specify a particular file to list, assume they want this one
> and display it".  I'm assuming you're typing the URL in your browser
> as:
>
> http://yourhost.com/
>
> And, then you're getting the directory list, right?  Is there an
> index.html file in there?  If it's the default install, there's a lot
> of them in there for multiple languages. Apache will pick the right
> one when it's requested.  If so, try this URL:
>
> http://yourhost.com/index.html
>
> Did you get a page?  If so, then you need the following line in your
> httpd.conf file:
>
> DirectoryIndex index.html
>
> If there's no index.html file in the directory, create a file in your
> favorite text editor and just put some text in there.  Don't worry
> about using HTML for now, the page will display enough to let you know
> everything's working ok.
>
> HTH,
> -T
>
> ---------------------------------------------------------------------
> 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] Configuring

Posted by Tony Karakashian <tk...@gmail.com>.
> > I have read the FAQ's, searched and read other questions that have
> > been asked but the more I read, the more confused and frustrated I
> > become.  I am not what one would call computer/server literate.

That's okay, we've all been there.  It's a serious struggle to get
Apache setup the first time...and the second time...and sometimes the
third... :)  Unfortunately, there's no quickstart guide to let you
know what's important and what's not for at least the basics.  With
this latest install I've done, I've started writing just such a guide
because it shouldn't be necessary to memorize a book in order to start
using a piece of software.

> > I have installed Apache HTTP Server but still cant work out how to
> > configure it for my website that I want to host on my own server.
> > The closest I have come is being able to see all files and logs for
> > my web pages when I bring up my web address.

Sounds like you're 90% there, and you're just missing a DirectoryIndex
line.  This is the directive that tells the server "if the client
didn't specify a particular file to list, assume they want this one
and display it".  I'm assuming you're typing the URL in your browser
as:

http://yourhost.com/

And, then you're getting the directory list, right?  Is there an
index.html file in there?  If it's the default install, there's a lot
of them in there for multiple languages. Apache will pick the right
one when it's requested.  If so, try this URL:

http://yourhost.com/index.html

Did you get a page?  If so, then you need the following line in your
httpd.conf file:

DirectoryIndex index.html 

If there's no index.html file in the directory, create a file in your
favorite text editor and just put some text in there.  Don't worry
about using HTML for now, the page will display enough to let you know
everything's working ok.

HTH,
-T

---------------------------------------------------------------------
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] Configuring

Posted by g....@itcilo.org.
On which platform are you working: Windows, Linux, BSD?
For each operating system, there are packages of apache easy to install, 
you should start with one of them
"lukki" <lu...@wn.com.au> wrote on 23/02/2005 14.24.31:

> I have read the FAQ's, searched and read other questions that have 
> been asked but the more I read, the more confused and frustrated I 
> become.  I am not what one would call computer/server literate.
> 
> I have installed Apache HTTP Server but still cant work out how to 
> configure it for my website that I want to host on my own server. 
> The closest I have come is being able to see all files and logs for 
> my web pages when I bring up my web address.
> 
> Can Apache be configured to show a website like any other on the 
> net?  and if so, how?
> 
> I appreciate any forth coming help/advice.
> 
> Thanks.
> 
> Phil
> [image removed] 

---------------------------------------------------------------------
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