<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.astro.princeton.edu/index.php?action=history&amp;feed=atom&amp;title=Web_page</id>
	<title>Web page - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.astro.princeton.edu/index.php?action=history&amp;feed=atom&amp;title=Web_page"/>
	<link rel="alternate" type="text/html" href="https://docs.astro.princeton.edu/index.php?title=Web_page&amp;action=history"/>
	<updated>2026-11-13T02:10:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=830&amp;oldid=prev</id>
		<title>imported&gt;Huston: /* Password protection */ openssl is easier than htpasswd, and everything is SSL enabled now so no cleartext worries.</title>
		<link rel="alternate" type="text/html" href="https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=830&amp;oldid=prev"/>
		<updated>2024-01-08T18:01:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Password protection: &lt;/span&gt; openssl is easier than htpasswd, and everything is SSL enabled now so no cleartext worries.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:01, 8 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  require valid-user&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  require valid-user&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then your .htpasswd file.  From a Linux workstation, run &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&amp;lt;tt&amp;gt;/usr/peyton/bin/htpasswd&amp;lt;/tt&amp;gt;&#039; to create the file (it should be in your $PATH already). &lt;/del&gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&amp;lt;tt&amp;gt;htpasswd &lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;c .htpasswd myfiles&amp;lt;/tt&amp;gt;&#039; will create the .htpasswd file in the current directory, and add a user &#039;myfiles&#039;.  You will then be asked for the password just like &lt;/del&gt;passwd&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(1) does, and it will create the file.  Now when you mouse over to that page, you&#039;ll get the nice popup window that says &lt;/del&gt;&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Please enter username and password for &#039;Whatever You Want To Call It&#039;&lt;/del&gt;&quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(or whatever you typed in for &#039;AuthName&#039; in .htaccess).  Enter the username you gave on the command line for htpasswd, and then the password, and it should let you view whatever is in that directory.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then your .htpasswd file.  From a Linux workstation, run&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;read &lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;p &quot;Username: &quot; U ; P=`openssl &lt;/ins&gt;passwd &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-apr1` ; echo &lt;/ins&gt;&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;${U}:${P}&lt;/ins&gt;&quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;NOTE:&#039;&#039;&#039;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;will create the data that you should put in the .htpasswd file you specified in .htaccess.  You will be asked for the &lt;/ins&gt;user name &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and password.  Create the .htpasswd file with that data, or add it to the existing file if you&#039;re creating another user&lt;/ins&gt;/password combination&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.  Now when you mouse over to that page, you&#039;ll get the nice popup window that says &quot;Please enter username and password for &#039;Whatever You Want To Call It&#039;&quot; (or whatever you typed &lt;/ins&gt;in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for &#039;AuthName&#039; &lt;/ins&gt;in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.htaccess&lt;/ins&gt;).  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Enter the username you gave in &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;read/OpenSSL command above&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and then &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;password, and it should let you view whatever is in that directory&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &lt;/del&gt;This user name/password combination &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is transmitted &lt;/del&gt;in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;clear text (readable by anyone &lt;/del&gt;in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;between&lt;/del&gt;)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, and so is not at all secure&lt;/del&gt;.  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It will stop &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;casual browser from getting into your area&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;however will do nothing to &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;determined cracker&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key astro_docs:diff:1.41:old-829:rev-830:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Huston</name></author>
	</entry>
	<entry>
		<id>https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=829&amp;oldid=prev</id>
		<title>imported&gt;Huston at 15:25, 7 January 2022</title>
		<link rel="alternate" type="text/html" href="https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=829&amp;oldid=prev"/>
		<updated>2022-01-07T15:25:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:25, 7 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Every account in Peyton Hall can have its own &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;home page &lt;/del&gt;for others to see.  This article will teach you a little about how to set it up, and what kinds of things you can do.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Every account in Peyton Hall can have its own &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;web site &lt;/ins&gt;for others to see.  This article will teach you a little about how to set it up, and what kinds of things you can do.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Getting started ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Getting started ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To create your &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;home page&lt;/del&gt;, create the directory ~/WWW/public: &#039;&amp;lt;tt&amp;gt;mkdir -p ~/WWW/public&amp;lt;/tt&amp;gt;&#039; will do the trick.  Some places use the more standard ~/public_html, but since our web server was setup a long time ago to use this directory for pages, the tradition has carried over.  Any files you place in this directory will be viewable at &amp;lt;nowiki&amp;gt;http://www.astro.princeton.edu/~&amp;lt;your username&amp;gt;/&amp;lt;/nowiki&amp;gt;.  If you want a page to display by default when someone uses that URL, name that page &#039;&amp;lt;tt&amp;gt;index.html&amp;lt;/tt&amp;gt;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To create your &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;web site&lt;/ins&gt;, create the directory ~/WWW/public: &#039;&amp;lt;tt&amp;gt;mkdir -p ~/WWW/public&amp;lt;/tt&amp;gt;&#039; will do the trick.  Some places use the more standard ~/public_html, but since our web server was setup a long time ago to use this directory for pages, the tradition has carried over.  Any files you place in this directory will be viewable at &amp;lt;nowiki&amp;gt;http://www.astro.princeton.edu/~&amp;lt;your username&amp;gt;/&amp;lt;/nowiki&amp;gt;.  If you want a page to display by default when someone uses that URL, name that page &#039;&amp;lt;tt&amp;gt;index.html&amp;lt;/tt&amp;gt;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Huston</name></author>
	</entry>
	<entry>
		<id>https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=828&amp;oldid=prev</id>
		<title>imported&gt;Huston: Huston moved page Home page to Web page: Nobody calls them home pages anymore</title>
		<link rel="alternate" type="text/html" href="https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=828&amp;oldid=prev"/>
		<updated>2022-01-07T15:23:03Z</updated>

		<summary type="html">&lt;p&gt;Huston moved page &lt;a href=&quot;/wiki/Home_page&quot; class=&quot;mw-redirect&quot; title=&quot;Home page&quot;&gt;Home page&lt;/a&gt; to &lt;a href=&quot;/wiki/Web_page&quot; title=&quot;Web page&quot;&gt;Web page&lt;/a&gt;: Nobody calls them home pages anymore&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:23, 7 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Huston</name></author>
	</entry>
	<entry>
		<id>https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=827&amp;oldid=prev</id>
		<title>imported&gt;Huston at 20:30, 21 May 2007</title>
		<link rel="alternate" type="text/html" href="https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=827&amp;oldid=prev"/>
		<updated>2007-05-21T20:30:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:30, 21 May 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If your page is not displaying, there&amp;#039;s a few things to consider.  Apache needs to be able to read the file itself, as it does not run as you but with its own user ID.  This means that anyone needs to be able to access the directory and read the file, so having permissions set to lock out your home directory will also lock out Apache.  Make sure that your home directory permissions are 755 (drwxr-xr-x) as are the subdirectories in question (~/WWW and ~/WWW/public).  &amp;#039;&amp;lt;tt&amp;gt;chmod 755 ~ ~/WWW ~/WWW/public&amp;lt;/tt&amp;gt;&amp;#039; will do that for you.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If your page is not displaying, there&amp;#039;s a few things to consider.  Apache needs to be able to read the file itself, as it does not run as you but with its own user ID.  This means that anyone needs to be able to access the directory and read the file, so having permissions set to lock out your home directory will also lock out Apache.  Make sure that your home directory permissions are 755 (drwxr-xr-x) as are the subdirectories in question (~/WWW and ~/WWW/public).  &amp;#039;&amp;lt;tt&amp;gt;chmod 755 ~ ~/WWW ~/WWW/public&amp;lt;/tt&amp;gt;&amp;#039; will do that for you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Also, the files themselves have to be readable by all, so make sure their mode is 644 (-rw-r--r--).  Again, &#039;&amp;lt;tt&amp;gt;chmod 644 index.html&amp;lt;/tt&amp;gt;&#039; is an example of how to do that.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Also, the files themselves have to be readable by all, so make sure their mode is 644 (-rw-r--r--).  Again, &#039;&amp;lt;tt&amp;gt;chmod 644 index.html&amp;lt;/tt&amp;gt;&#039; is an example of how to do that&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.  See [[chmod]] for more information on file and directory modes&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Huston</name></author>
	</entry>
	<entry>
		<id>https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=826&amp;oldid=prev</id>
		<title>imported&gt;Huston: New page: Every account in Peyton Hall can have its own home page for others to see.  This article will teach you a little about how to set it up, and what kinds of things you can do.   == Getting s...</title>
		<link rel="alternate" type="text/html" href="https://docs.astro.princeton.edu/index.php?title=Web_page&amp;diff=826&amp;oldid=prev"/>
		<updated>2007-05-21T16:27:40Z</updated>

		<summary type="html">&lt;p&gt;New page: Every account in Peyton Hall can have its own home page for others to see.  This article will teach you a little about how to set it up, and what kinds of things you can do.   == Getting s...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Every account in Peyton Hall can have its own home page for others to see.  This article will teach you a little about how to set it up, and what kinds of things you can do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
To create your home page, create the directory ~/WWW/public: &amp;#039;&amp;lt;tt&amp;gt;mkdir -p ~/WWW/public&amp;lt;/tt&amp;gt;&amp;#039; will do the trick.  Some places use the more standard ~/public_html, but since our web server was setup a long time ago to use this directory for pages, the tradition has carried over.  Any files you place in this directory will be viewable at &amp;lt;nowiki&amp;gt;http://www.astro.princeton.edu/~&amp;lt;your username&amp;gt;/&amp;lt;/nowiki&amp;gt;.  If you want a page to display by default when someone uses that URL, name that page &amp;#039;&amp;lt;tt&amp;gt;index.html&amp;lt;/tt&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Access problems ==&lt;br /&gt;
If your page is not displaying, there&amp;#039;s a few things to consider.  Apache needs to be able to read the file itself, as it does not run as you but with its own user ID.  This means that anyone needs to be able to access the directory and read the file, so having permissions set to lock out your home directory will also lock out Apache.  Make sure that your home directory permissions are 755 (drwxr-xr-x) as are the subdirectories in question (~/WWW and ~/WWW/public).  &amp;#039;&amp;lt;tt&amp;gt;chmod 755 ~ ~/WWW ~/WWW/public&amp;lt;/tt&amp;gt;&amp;#039; will do that for you.&lt;br /&gt;
&lt;br /&gt;
Also, the files themselves have to be readable by all, so make sure their mode is 644 (-rw-r--r--).  Again, &amp;#039;&amp;lt;tt&amp;gt;chmod 644 index.html&amp;lt;/tt&amp;gt;&amp;#039; is an example of how to do that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Password protection ==&lt;br /&gt;
You can have your page, or parts of it, password protected so that someone needs to type a password to see it.  This might be useful if you have some collaborators you wish to give access to some data, but not have it show up in search engines or viewable by the general public.  Start by creating a directory, with normal permissions.  Inside that directory, you&amp;#039;ll want to create two files, .htaccess and .htpasswd.  .htaccess should look something like this:&lt;br /&gt;
&lt;br /&gt;
 AuthUserFile /u/user/WWW/public/your/directory/.htpasswd&lt;br /&gt;
 AuthName &amp;quot;Whatever You Want To Call It&amp;quot;&lt;br /&gt;
 AuthType Basic&lt;br /&gt;
 require valid-user&lt;br /&gt;
&lt;br /&gt;
Then your .htpasswd file.  From a Linux workstation, run &amp;#039;&amp;lt;tt&amp;gt;/usr/peyton/bin/htpasswd&amp;lt;/tt&amp;gt;&amp;#039; to create the file (it should be in your $PATH already).  &amp;#039;&amp;lt;tt&amp;gt;htpasswd -c .htpasswd myfiles&amp;lt;/tt&amp;gt;&amp;#039; will create the .htpasswd file in the current directory, and add a user &amp;#039;myfiles&amp;#039;.  You will then be asked for the password just like passwd(1) does, and it will create the file.  Now when you mouse over to that page, you&amp;#039;ll get the nice popup window that says &amp;quot;Please enter username and password for &amp;#039;Whatever You Want To Call It&amp;#039;&amp;quot; (or whatever you typed in for &amp;#039;AuthName&amp;#039; in .htaccess).  Enter the username you gave on the command line for htpasswd, and then the password, and it should let you view whatever is in that directory.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: This user name/password combination is transmitted in clear text (readable by anyone in between), and so is not at all secure.  It will stop the casual browser from getting into your area, however will do nothing to the determined cracker.&lt;/div&gt;</summary>
		<author><name>imported&gt;Huston</name></author>
	</entry>
</feed>