Mailing List Archive

Linking website pages with Apache on LocalHost
I have gotten Apache2.4 installed and running on my local computer. It’s on the C drive and the website is at C:/Apache24/htdocs/Milt.com.

The Milt.com folder contains Index (htm file) and Page1 (html file).

127.0.0.1/Milt.com displays the Index.

Now I want a hyperlink on the Index page that will bring up Page1. I have been unable to make anything work. Is Page1 in the wrong place or could I be using the wrong path in the hyperlink (I’ve tried several without success)?

All assistance will be appreciated.

Milt Spain
Re: Linking website pages with Apache on LocalHost [ In reply to ]
On 2022-04-27 12:25 p.m., DiversityLink/Milt Spain wrote:
> I have gotten Apache2.4 installed and running on my local computer. It’s on the C drive and the website is at C:/Apache24/htdocs/Milt.com.
>
> The Milt.com folder contains Index (htm file) and Page1 (html file).
>
> 127.0.0.1/Milt.com displays the Index.
>
> Now I want a hyperlink on the Index page that will bring up Page1.

Probably not ana Apache problem; have you tried:
<a href="page1.html>page 1</a> (make sure you use upper/lower case to
match -- most people, outside Windows, use all lower case and no
spaces.) Make sure that ownership of the file is good (normally
www-data, Windows might vary) and permissions are 664 (rw-,rw-,r--)

If that fails look in your logs and send the relevant lines to this list.

Good luck -- Paul


> I have been unable to make anything work. Is Page1 in the wrong place or could I be using the wrong path in the hyperlink (I’ve tried several without success)?
> All assistance will be appreciated.
>
> Milt Spain
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Linking website pages with Apache on LocalHost [ In reply to ]
Thank you Paul. I had forgotten to add ".html" to Page1. Sometimes you can't
see the trees for the forest or is it the other way around?

-----Original Message-----
From: Paul A
Sent: Wednesday, April 27, 2022 3:10 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Linking website pages with Apache on LocalHost

On 2022-04-27 12:25 p.m., DiversityLink/Milt Spain wrote:
> I have gotten Apache2.4 installed and running on my local computer. It’s
> on the C drive and the website is at C:/Apache24/htdocs/Milt.com.
>
> The Milt.com folder contains Index (htm file) and Page1 (html file).
>
> 127.0.0.1/Milt.com displays the Index.
>
> Now I want a hyperlink on the Index page that will bring up Page1.

Probably not ana Apache problem; have you tried:
<a href="page1.html>page 1</a> (make sure you use upper/lower case to
match -- most people, outside Windows, use all lower case and no
spaces.) Make sure that ownership of the file is good (normally
www-data, Windows might vary) and permissions are 664 (rw-,rw-,r--)

If that fails look in your logs and send the relevant lines to this list.

Good luck -- Paul


> I have been unable to make anything work. Is Page1 in the wrong place or
> could I be using the wrong path in the hyperlink (I’ve tried several
> without success)? All assistance will be appreciated.
>
> Milt Spain
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Linking website pages with Apache on LocalHost [ In reply to ]
On 4/27/22 12:25, DiversityLink/Milt Spain wrote:
> I have gotten Apache2.4 installed and running on my local computer. It’s
> on the C drive and the website is at C:/Apache24/htdocs/Milt.com.
>  
> The Milt.com folder contains Index (htm file) and Page1 (html file).
>  
> 127.0.0.1/Milt.com displays the Index.
>  
> Now I want a hyperlink on the Index page that will bring up Page1. I
> have been unable to make anything work. Is Page1 in the wrong place or
> could I be using the wrong path in the hyperlink (I’ve tried several
> without success)?
>  
> All assistance will be appreciated.
>  
> Milt Spain


I can't make heads or tails as to what your requestion?

Did you ty to make an index.html file with 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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org