Re: [users@httpd] Unable to connect to Apache test website on LocalHost
Yea I know that, I was just curious about: > > Current Host file is : > > > > # localhost name resolution is handled within DNS itself. > > #127.0.0.1 localhost > > # ::1 localhost > > 127.0.0.1 Milts1.com > I'm still curious. On 4/13/22 20:55, Frank Gingras wrote: A ping will not help with a 403 error. The error log needs to be reviewed, as it will expose the source of the 403 error. On Wed, 13 Apr 2022 at 18:18, Knute Johnson wrote: What do you get when you ping localhost? knute... On 4/13/2022 3:25 PM, DiversityLink/Milt Spain wrote: > Thanks for all the suggestions. Tried them all with no resolution of the > problem. Reloaded Apache 2.4 and it seemed to be working well but all of > sudden I can’t access LocalHost. Get this message. > > > Forbidden > > You don't have permission to access this resource. > > Get the “Cannot Find The Site” message when trying to find the website > with any browser. > > Current Host file is : > > # localhost name resolution is handled within DNS itself. > # 127.0.0.1 localhost > # ::1 localhost > 127.0.0.1 Milts1.com > Current Virtual Host is: > > ServerAdmin mil...@example.com <mailto:mil...@example.com> > DocumentRoot c:/Apache24/htdocs/Milts1.com/ > ServerName Milts1.com > ErrorLog logs/Milts1.com > ServerAlias www.Milts1.com <http://www.Milts1.com> > CustomLog logs/Milts1.com common > > Path to the website is: > C:/Apache24/htdocs/Milts1.com > Any suggestions that will help resolve my problem will be appreciated. > Milt Spain > *From:* Yehuda Katz <mailto:yeh...@ymkatz.net <mailto:yeh...@ymkatz.net>> > *Sent:* Tuesday, April 12, 2022 5:54 PM > *To:* users@httpd.apache.org <mailto:users@httpd.apache.org> <mailto:users@httpd.apache.org <mailto:users@httpd.apache.org>> > *Subject:* Re: [users@httpd] Unable to connect to Apache test website on > LocalHost > Besides the ServerAlias, You probably also need to add > DirectoryIndex index.html > and also change your document root to the actual root directory where > your website is located. > - Y > > Sent from a device with a very small keyboard and hyperactive autocorrect. > On Tue, Apr 12, 2022, 5:21 PM Eric Covener mailto:cove...@gmail.com> > <mailto:cove...@gmail.com <mailto:cove...@gmail.com>>> wrote: > > On Tue, Apr 12, 2022 at 5:12 PM DiversityLink/Milt Spain > mailto:pbservi...@earthlink.net> <mailto:pbservi...@earthlink.net <mailto:pbservi...@earthlink.net>>> wrote: > > > > Apache2.4 installed and operating on Widows 7. Test site is > loaded at C:\Apache24\htdocs\testsite.com <http://testsite.com> <http://testsite.com <http://testsite.com>>. > Site index is loaded in the testsite.com <http://testsite.com> <http://testsite.com <http://testsite.com>> > folder as index (an htm file). Virtual Hosts is set up as: > > > > > > > > ServerAdmin a...@example.com <mailto:a...@example.com> <mailto:a...@example.com <mailto:a...@example.com>> > > DocumentRoot"C:Apache24/htdocs/" > > ServerName testsite.com <http://testsite.com> <http://testsite.com <http://testsite.com>> > > How about appending: > ServerAlias localhost > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org <mailto:users-unsubscr...@httpd.apache.org> > <mailto:users-unsubscr...@httpd.apache.org <mailto:users-unsubscr...@httpd.apache.org>> > For additional commands, e-mail: users-h...@httpd.apache.org <mailto:users-h...@httpd.apache.org> > <mailto:users-h...@httpd.apache.org <mailto:users-h...@httpd.apache.org>> > -- Knute Johnson - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org <mailto:users-unsubscr...@httpd.apache.org> For additional commands, e-mail: users-h...@httpd.apache.org <mailto:users-h...@httpd.apache.org> -- Knute Johnson - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Unable to connect to Apache test website on LocalHost
Let's just get the actual error log entry first. On Wed, 13 Apr 2022 at 23:06, Ruben Safir wrote: > On 4/13/22 18:18, Knute Johnson wrote: > > What do you get when you ping localhost? > > > > knute... > > > it is responding with a 403 which means there is nothing to ping about > > 403 Forbidden > The HTTP 403 Forbidden response status code indicates that the server > understands the request but refuses to authorize it. > > Something is wrong in the authorization part of the response cycle. > > https://httpd.apache.org/docs/2.4/howto/auth.html > > > > -- > So many immigrant groups have swept through our town > that Brooklyn, like Atlantis, reaches mythological > proportions in the mind of the world - RI Safir 1998 > http://www.mrbrklyn.com > > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 > http://www.nylxs.com - Leadership Development in Free Software > http://www2.mrbrklyn.com/resources - Unpublished Archive > http://www.coinhangout.com - coins! > http://www.brooklyn-living.com > > Being so tracked is for FARM ANIMALS and extermination camps, > but incompatible with living as a free human being. -RI Safir 2013 > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >
Re: [users@httpd] Unable to connect to Apache test website on LocalHost
On 4/13/22 18:18, Knute Johnson wrote: > What do you get when you ping localhost? > > knute... it is responding with a 403 which means there is nothing to ping about 403 Forbidden The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it. Something is wrong in the authorization part of the response cycle. https://httpd.apache.org/docs/2.4/howto/auth.html -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Unable to connect to Apache test website on LocalHost
A ping will not help with a 403 error. The error log needs to be reviewed, as it will expose the source of the 403 error. On Wed, 13 Apr 2022 at 18:18, Knute Johnson wrote: > What do you get when you ping localhost? > > knute... > > On 4/13/2022 3:25 PM, DiversityLink/Milt Spain wrote: > > Thanks for all the suggestions. Tried them all with no resolution of the > > problem. Reloaded Apache 2.4 and it seemed to be working well but all of > > sudden I can’t access LocalHost. Get this message. > > > > > > Forbidden > > > > You don't have permission to access this resource. > > > > Get the “Cannot Find The Site” message when trying to find the website > > with any browser. > > > > Current Host file is : > > > > # localhost name resolution is handled within DNS itself. > > #127.0.0.1 localhost > > # ::1 localhost > > 127.0.0.1 Milts1.com > > Current Virtual Host is: > > > > ServerAdmin mil...@example.com > > DocumentRoot c:/Apache24/htdocs/Milts1.com/ > > ServerName Milts1.com > > ErrorLog logs/Milts1.com > > ServerAlias www.Milts1.com > > CustomLog logs/Milts1.com common > > > > Path to the website is: > > C:/Apache24/htdocs/Milts1.com > > Any suggestions that will help resolve my problem will be appreciated. > > Milt Spain > > *From:* Yehuda Katz <mailto:yeh...@ymkatz.net> > > *Sent:* Tuesday, April 12, 2022 5:54 PM > > *To:* users@httpd.apache.org <mailto:users@httpd.apache.org> > > *Subject:* Re: [users@httpd] Unable to connect to Apache test website > on > > LocalHost > > Besides the ServerAlias, You probably also need to add > > DirectoryIndex index.html > > and also change your document root to the actual root directory where > > your website is located. > > - Y > > > > Sent from a device with a very small keyboard and hyperactive > autocorrect. > > On Tue, Apr 12, 2022, 5:21 PM Eric Covener > <mailto:cove...@gmail.com>> wrote: > > > > On Tue, Apr 12, 2022 at 5:12 PM DiversityLink/Milt Spain > > mailto:pbservi...@earthlink.net>> wrote: > > > > > > Apache2.4 installed and operating on Widows 7. Test site is > > loaded at C:\Apache24\htdocs\testsite.com <http://testsite.com>. > > Site index is loaded in the testsite.com <http://testsite.com> > > folder as index (an htm file). Virtual Hosts is set up as: > > > > > > > > > > > > ServerAdmin a...@example.com <mailto:a...@example.com> > > > DocumentRoot"C:Apache24/htdocs/" > > > ServerName testsite.com <http://testsite.com> > > > > How about appending: > > ServerAlias localhost > > > > - > > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > > <mailto:users-unsubscr...@httpd.apache.org> > > For additional commands, e-mail: users-h...@httpd.apache.org > > <mailto:users-h...@httpd.apache.org> > > > > > -- > > Knute Johnson > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >
Re: [users@httpd] Unable to connect to Apache test website on LocalHost
What do you get when you ping localhost? knute... On 4/13/2022 3:25 PM, DiversityLink/Milt Spain wrote: Thanks for all the suggestions. Tried them all with no resolution of the problem. Reloaded Apache 2.4 and it seemed to be working well but all of sudden I can’t access LocalHost. Get this message. Forbidden You don't have permission to access this resource. Get the “Cannot Find The Site” message when trying to find the website with any browser. Current Host file is : # localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost 127.0.0.1 Milts1.com Current Virtual Host is: ServerAdmin mil...@example.com DocumentRoot c:/Apache24/htdocs/Milts1.com/ ServerName Milts1.com ErrorLog logs/Milts1.com ServerAlias www.Milts1.com CustomLog logs/Milts1.com common Path to the website is: C:/Apache24/htdocs/Milts1.com Any suggestions that will help resolve my problem will be appreciated. Milt Spain *From:* Yehuda Katz <mailto:yeh...@ymkatz.net> *Sent:* Tuesday, April 12, 2022 5:54 PM *To:* users@httpd.apache.org <mailto:users@httpd.apache.org> *Subject:* Re: [users@httpd] Unable to connect to Apache test website on LocalHost Besides the ServerAlias, You probably also need to add DirectoryIndex index.html and also change your document root to the actual root directory where your website is located. - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Tue, Apr 12, 2022, 5:21 PM Eric Covener <mailto:cove...@gmail.com>> wrote: On Tue, Apr 12, 2022 at 5:12 PM DiversityLink/Milt Spain mailto:pbservi...@earthlink.net>> wrote: > > Apache2.4 installed and operating on Widows 7. Test site is loaded at C:\Apache24\htdocs\testsite.com <http://testsite.com>. Site index is loaded in the testsite.com <http://testsite.com> folder as index (an htm file). Virtual Hosts is set up as: > > > > ServerAdmin a...@example.com <mailto:a...@example.com> > DocumentRoot"C:Apache24/htdocs/" > ServerName testsite.com <http://testsite.com> How about appending: ServerAlias localhost - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org <mailto:users-unsubscr...@httpd.apache.org> For additional commands, e-mail: users-h...@httpd.apache.org <mailto:users-h...@httpd.apache.org> -- Knute Johnson - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Unable to connect to Apache test website on LocalHost
Thanks for all the suggestions. Tried them all with no resolution of the problem. Reloaded Apache 2.4 and it seemed to be working well but all of sudden I can’t access LocalHost. Get this message. Forbidden You don't have permission to access this resource. Get the “Cannot Find The Site” message when trying to find the website with any browser. Current Host file is : # localhost name resolution is handled within DNS itself. #127.0.0.1 localhost #::1 localhost 127.0.0.1 Milts1.com Current Virtual Host is: ServerAdmin mil...@example.com DocumentRoot c:/Apache24/htdocs/Milts1.com/ ServerName Milts1.com ErrorLog logs/Milts1.com ServerAlias www.Milts1.com CustomLog logs/Milts1.com common Path to the website is: C:/Apache24/htdocs/Milts1.com Any suggestions that will help resolve my problem will be appreciated. Milt Spain From: Yehuda Katz Sent: Tuesday, April 12, 2022 5:54 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Unable to connect to Apache test website on LocalHost Besides the ServerAlias, You probably also need to add DirectoryIndex index.html and also change your document root to the actual root directory where your website is located. - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Tue, Apr 12, 2022, 5:21 PM Eric Covener wrote: On Tue, Apr 12, 2022 at 5:12 PM DiversityLink/Milt Spain wrote: > > Apache2.4 installed and operating on Widows 7. Test site is loaded at C:\Apache24\htdocs\testsite.com. Site index is loaded in the testsite.com folder as index (an htm file). Virtual Hosts is set up as: > > > > ServerAdmin a...@example.com > DocumentRoot"C:Apache24/htdocs/" > ServerName testsite.com How about appending: ServerAlias localhost - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Unable to connect to Apache test website on LocalHost
Besides the ServerAlias, You probably also need to add DirectoryIndex index.html and also change your document root to the actual root directory where your website is located. - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Tue, Apr 12, 2022, 5:21 PM Eric Covener wrote: > On Tue, Apr 12, 2022 at 5:12 PM DiversityLink/Milt Spain > wrote: > > > > Apache2.4 installed and operating on Widows 7. Test site is loaded at > C:\Apache24\htdocs\testsite.com. Site index is loaded in the testsite.com > folder as index (an htm file). Virtual Hosts is set up as: > > > > > > > > ServerAdmin a...@example.com > > DocumentRoot"C:Apache24/htdocs/" > > ServerName testsite.com > > How about appending: > ServerAlias localhost > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >
Re: [users@httpd] Unable to connect to Apache test website on LocalHost
On Tue, Apr 12, 2022 at 5:12 PM DiversityLink/Milt Spain wrote: > > Apache2.4 installed and operating on Widows 7. Test site is loaded at > C:\Apache24\htdocs\testsite.com. Site index is loaded in the testsite.com > folder as index (an htm file). Virtual Hosts is set up as: > > > > ServerAdmin a...@example.com > DocumentRoot"C:Apache24/htdocs/" > ServerName testsite.com How about appending: ServerAlias localhost - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Unable to connect to Apache test website on LocalHost
Apache2.4 installed and operating on Widows 7. Test site is loaded at C:\Apache24\htdocs\testsite.com. Site index is loaded in the testsite.com folder as index (an htm file). Virtual Hosts is set up as: ServerAdmin a...@example.com DocumentRoot"C:Apache24/htdocs/" ServerName testsite.com ErrorLog "logs/testsite.log" ServerAlias www.testsite.com Custom Log "Logs/testsite.logs" common Using FireFox browser calling testsite.com goes to a live site on the internet. Calling local host brings up this: Index of / a.. testsite.com/ which in turn shows this: Index of /testsite.com a.. Parent Directory b.. index.htm I’ve researched everything I can think of on Google and haven’t been able to connect to the site index. Obviously I have an error somewhere. All assistance will be sincerely appreciated. Milt Spain