<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://pcug.org.au/info/index.php?action=history&amp;feed=atom&amp;title=Web_hosting_in_action</id>
	<title>Web hosting in action - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://pcug.org.au/info/index.php?action=history&amp;feed=atom&amp;title=Web_hosting_in_action"/>
	<link rel="alternate" type="text/html" href="http://pcug.org.au/info/index.php?title=Web_hosting_in_action&amp;action=history"/>
	<updated>2026-04-21T15:02:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>http://pcug.org.au/info/index.php?title=Web_hosting_in_action&amp;diff=1166&amp;oldid=prev</id>
		<title>Pblair: /* Action at last! */</title>
		<link rel="alternate" type="text/html" href="http://pcug.org.au/info/index.php?title=Web_hosting_in_action&amp;diff=1166&amp;oldid=prev"/>
		<updated>2014-02-17T08:44:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Action at last!&lt;/span&gt;&lt;/span&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 08:44, 17 February 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&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;I&#039;m sure you can see the difference caused  by the name change. The real point, though, is to suggest to you to be very wary of the word &#039;index&#039; in file names!&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;I&#039;m sure you can see the difference caused  by the name change. The real point, though, is to suggest to you to be very wary of the word &#039;index&#039; in file names!&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;&#039;&#039;&#039;On to Part 3...&#039;&#039;&#039;[http://www.pcug.org.au/info/index.php/A_real_project]&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;div&gt;[[Category:Technical Info]]&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;[[Category:Technical Info]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pblair</name></author>
	</entry>
	<entry>
		<id>http://pcug.org.au/info/index.php?title=Web_hosting_in_action&amp;diff=390&amp;oldid=prev</id>
		<title>Pblair: /* Action at last! */</title>
		<link rel="alternate" type="text/html" href="http://pcug.org.au/info/index.php?title=Web_hosting_in_action&amp;diff=390&amp;oldid=prev"/>
		<updated>2012-08-12T06:24:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Action at last!&lt;/span&gt;&lt;/span&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 06:24, 12 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&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;I&#039;m sure you can see the difference caused  by the name change. The real point, though, is to suggest to you to be very wary of the word &#039;index&#039; in file names!&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;I&#039;m sure you can see the difference caused  by the name change. The real point, though, is to suggest to you to be very wary of the word &#039;index&#039; in file names!&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;[[Category:Technical Info]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pblair</name></author>
	</entry>
	<entry>
		<id>http://pcug.org.au/info/index.php?title=Web_hosting_in_action&amp;diff=386&amp;oldid=prev</id>
		<title>Pblair: Created page with &quot;60pxWhen you installed XAMPP it started automatically. But you have reset your computer, and now need to restart XAMPP.   You will have a desktop ico…&quot;</title>
		<link rel="alternate" type="text/html" href="http://pcug.org.au/info/index.php?title=Web_hosting_in_action&amp;diff=386&amp;oldid=prev"/>
		<updated>2012-08-12T06:22:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/info/index.php/File:Xampp_icon.jpg&quot; title=&quot;File:Xampp icon.jpg&quot;&gt;left|60px&lt;/a&gt;When you installed XAMPP it started automatically. But you have reset your computer, and now need to restart XAMPP.   You will have a desktop ico…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Xampp_icon.jpg|left|60px]]When you installed XAMPP it started automatically. But you have reset your computer, and now need to restart XAMPP. &lt;br /&gt;
&lt;br /&gt;
You will have a desktop icon, something like this. Click on it to open the Control Panel.[[File:xampp_start.jpg|right|300px]]&lt;br /&gt;
&lt;br /&gt;
This is a small part of the Control Panel, the bit that matters. The buttons under &amp;#039;Actions&amp;#039; will be set at &amp;quot;Start&amp;quot;, so click the first 2 (the ones opposite Apache and MySQL) and watch them become active. There will be port numbers displayed, and a green blush on the module names will indicate that everything is working. To check, open a browser and type &amp;#039;&amp;#039;&amp;#039;localhost&amp;#039;&amp;#039;&amp;#039; in the URL box. You should see the XAMPP welcome screen.&lt;br /&gt;
&lt;br /&gt;
However, there is a gotcha here. If you have Skype running, Apache may not activate. This is because they both like to use port 80, and won&amp;#039;t play nicely together. The solution is to exit from Skype while you are using XAMPP.&lt;br /&gt;
&lt;br /&gt;
==== Action at last! ====&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s try some practical things - but first, a few things you need to know.&lt;br /&gt;
&lt;br /&gt;
[[File:htdocs.jpg|right||140px]]&lt;br /&gt;
* The URL of the server is &amp;#039;&amp;#039;&amp;#039;localhost&amp;#039;&amp;#039;&amp;#039; (or 127.0.0.1)&lt;br /&gt;
* Your directory tree will have a folder named &amp;#039;&amp;#039;&amp;#039;xampp&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* In that folder will be a sub-folder named &amp;#039;&amp;#039;&amp;#039;htdocs&amp;#039;&amp;#039;&amp;#039;. All files, scripts and so on that you want to reach by way of a browser are stored in the &amp;#039;&amp;#039;&amp;#039;htdocs&amp;#039;&amp;#039;&amp;#039; folder&lt;br /&gt;
* The system will always look for and action any file named &amp;#039;index&amp;#039; - eg, index.html or index.php, before it does anything else.&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s make the traditional HTML file...open a text editor and type:&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
   &amp;lt;head&amp;gt; &lt;br /&gt;
     &amp;lt;title&amp;gt;My first page&amp;lt;/title&amp;gt;&lt;br /&gt;
   &amp;lt;/head&amp;gt;&lt;br /&gt;
   &amp;lt;body&amp;gt;&lt;br /&gt;
    Hello World!&lt;br /&gt;
   &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now to save your file in the &amp;#039;&amp;#039;&amp;#039;htdocs&amp;#039;&amp;#039;&amp;#039; subfolder.&lt;br /&gt;
&lt;br /&gt;
Save it first as &amp;#039;&amp;#039;index.html&amp;#039;&amp;#039; - and to see your work, open your bowser and type &amp;#039;&amp;#039;&amp;#039;localhost&amp;#039;&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
Now delete index.html, and save the file in htdocs as &amp;#039;&amp;#039;test.html&amp;#039;&amp;#039;. To see it now, you point your browser to &amp;#039;&amp;#039;&amp;#039;localhost/test.html&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s try a PHP script. It doesn&amp;#039;t matter that you don&amp;#039;t know PHP, I&amp;#039;ll provide one. Go back to your text editor and type into a new file:&lt;br /&gt;
 &amp;lt;?php&lt;br /&gt;
 phpinfo();&lt;br /&gt;
 ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save that in &amp;#039;&amp;#039;&amp;#039;htdocs&amp;#039;&amp;#039;&amp;#039; as &amp;#039;&amp;#039;index.php&amp;#039;&amp;#039; - and then open your browser and type &amp;#039;&amp;#039;&amp;#039;localhost&amp;#039;&amp;#039;&amp;#039;. This will show you a page (or 6) of the setup information of PHP within XAMPP (or LAMPP).&lt;br /&gt;
&lt;br /&gt;
Now delete index.php and resave the file as &amp;#039;&amp;#039;info.php&amp;#039;&amp;#039;. Back to your browser, and type &amp;#039;&amp;#039;&amp;#039;localhost/info.php&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m sure you can see the difference caused  by the name change. The real point, though, is to suggest to you to be very wary of the word &amp;#039;index&amp;#039; in file names!&lt;/div&gt;</summary>
		<author><name>Pblair</name></author>
	</entry>
</feed>