<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Webologist &#187; apache</title> <atom:link href="http://www.webologist.co.uk/tag/apache/feed" rel="self" type="application/rss+xml" /><link>http://www.webologist.co.uk</link> <description>Internet News Blog With A Little Search Optimisation</description> <lastBuildDate>Thu, 09 Feb 2012 11:01:16 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Good Tuition Makes Fast Progress with Linux</title><link>http://www.webologist.co.uk/blog/good-tuition-makes-fast-progress-with</link> <comments>http://www.webologist.co.uk/blog/good-tuition-makes-fast-progress-with#comments</comments> <pubDate>Wed, 26 Sep 2007 19:48:00 +0000</pubDate> <dc:creator>Webologist</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[linux ubuntu]]></category> <guid
isPermaLink="false">http://webologist.co.uk/?p=48</guid> <description><![CDATA[<p>This article was researched and written by <a
href="http://www.webologist.co.uk">Webologist - Internet News and SEO</a> where it was first published. This is a partial copy of the original article: <a
href="http://www.webologist.co.uk/blog/good-tuition-makes-fast-progress-with">Good Tuition Makes Fast Progress with Linux</a> All the latest <a
href="http://shareholdersportal.co.uk/ftse-share-index">dividend and stock news</a> for UK investors.</p><p>Got lots of help and advice this evening from my mate who is a bit of a wizard with computers. This evening I learnt these handy commands: (find . -type f -name &#8216;*.htm*&#8217;); do (to find all files within a directory that end in .htm or .hmtl or .htmanything) tar cvzf ~/mybackup.tar . (to back up the current directory to the home directory. cvzf stands for c: create archive, v: verbose, z: use compression, f: use the following filename) ls ~/mybackup.tar (to list the contents of the backup) mv ~/mybackup.tar ~/websites.20070926.tgz (to move the backup into a directory dated today) mkdir ~/websitebackups (to make a new directory in the home directory) mv ~/*tgz ~/*backups (to move all directories ending in tgz to the directory ending in backups &#8211; in this case, moving the one file we created earlier) The purpose of all this was to prepare to change the URLs inside all of my web files from absolute to relative. Still not done that part yet. Oh, I have got as far as changing the permissions across all directories in /var/www/ also, which was simply done by sudo chmod 755 -R * Piece of cake. One last thing was the [...]</p>]]></description> <wfw:commentRss>http://www.webologist.co.uk/blog/good-tuition-makes-fast-progress-with/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Rock and Roll! .htaccess is running</title><link>http://www.webologist.co.uk/blog/rock-and-roll</link> <comments>http://www.webologist.co.uk/blog/rock-and-roll#comments</comments> <pubDate>Tue, 25 Sep 2007 23:11:00 +0000</pubDate> <dc:creator>Webologist</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[apache installation]]></category> <category><![CDATA[LAMP]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://webologist.co.uk/?p=47</guid> <description><![CDATA[<p>This article was researched and written by <a
href="http://www.webologist.co.uk">Webologist - Internet News and SEO</a> where it was first published. This is a partial copy of the original article: <a
href="http://www.webologist.co.uk/blog/rock-and-roll">Rock and Roll! .htaccess is running</a> All the latest <a
href="http://shareholdersportal.co.uk/ftse-share-index">dividend and stock news</a> for UK investors.</p><p>OK, just found out where I am going wrong. And I am going wrong in more ways than one. Firstly, I need to modify the /etc/apache2/sites-available/default to allow .htaccess rules to override the httpd.conf. Really I should not use .htaccess, but as I am using my Linux as a test environment for my Tranquillizer website, which does use .htaccess, I will stick with it for now. So this is what I am about to do: In /etc/apache2/sites-available/default: Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # Uncomment this directive is you want to see apache2&#8242;s # default start page (in /apache2-default) when you go to / #RedirectMatch ^/$ /apache2-default/ I shall change &#8220;AllowOverride None&#8221; to &#8220;AllowOverride All&#8221; This tells Apache that it&#8217;s okay to allow .htaccess files to over-ride previous directives. This means that I can get php code parsed inside html files, which is essential for my template system. I place this code into my .htaccess: RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html Then I need to restart Apache so that the changes take effect. I&#8217;ll report back in a moment. Update: Success!!! I did not need to restart Apache, the instruction was: sudo /etc/init.d/apache2 [...]</p>]]></description> <wfw:commentRss>http://www.webologist.co.uk/blog/rock-and-roll/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Linux Apache MySQL PHP Server aka LAMP</title><link>http://www.webologist.co.uk/blog/apachemysqlphp</link> <comments>http://www.webologist.co.uk/blog/apachemysqlphp#comments</comments> <pubDate>Tue, 25 Sep 2007 23:04:00 +0000</pubDate> <dc:creator>Webologist</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[apache installation]]></category> <category><![CDATA[LAMP]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://webologist.co.uk/?p=46</guid> <description><![CDATA[<p>This article was researched and written by <a
href="http://www.webologist.co.uk">Webologist - Internet News and SEO</a> where it was first published. This is a partial copy of the original article: <a
href="http://www.webologist.co.uk/blog/apachemysqlphp">Linux Apache MySQL PHP Server aka LAMP</a> All the latest <a
href="http://shareholdersportal.co.uk/ftse-share-index">dividend and stock news</a> for UK investors.</p><p>Just found this page on the Ubuntu website, bookmarking it here. Looks like need to make some changes to get the .htaccess working. Also seems that I could have installed LAMP automatically with this command: To install the default LAMP stack in Ubuntu 7.04 (Feisty Fawn) In Feisty, the Ubuntu base system includes Tasksel. You can either install LAMP using tasksel or install the LAMP packages as detailed above. sudo tasksel install lamp-server The site also explains how to uninstall if everything goes pearshaped. Hopefully it will not come to that! Suggested Reading:Linux Ubuntu &#8211; a Whole New WorldInstallation of Domain Name Service (DNS) &#8211; BindBluefish &#8211; Linux just gets better.Mod rewrite / clean urls for Drupal on Ubuntu Apache ServerLinux, Apache, PHP Success. Next MySQL&#8230;</p>]]></description> <wfw:commentRss>http://www.webologist.co.uk/blog/apachemysqlphp/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>sudo chmod -R 755 ./directory</title><link>http://www.webologist.co.uk/blog/sudo-chmod-r-755-articles</link> <comments>http://www.webologist.co.uk/blog/sudo-chmod-r-755-articles#comments</comments> <pubDate>Tue, 25 Sep 2007 22:53:00 +0000</pubDate> <dc:creator>Webologist</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://webologist.co.uk/?p=45</guid> <description><![CDATA[<p>This article was researched and written by <a
href="http://www.webologist.co.uk">Webologist - Internet News and SEO</a> where it was first published. This is a partial copy of the original article: <a
href="http://www.webologist.co.uk/blog/sudo-chmod-r-755-articles">sudo chmod -R 755 ./directory</a> All the latest <a
href="http://shareholdersportal.co.uk/ftse-share-index">dividend and stock news</a> for UK investors.</p><p>I think that I found the solution, or at least a solution (it does not seem ideal). I typed this: sudo chmod -R 755 ./directory and it works. But, this leads to questions: 1. There must be one command to change permissions for all subdirectories? 2. why ./articles and not just articles? When using chmod on my webhost server, I never typed ./ to change permissions for a directory (I use Jumpline.com if that helps at all). 3. Most important question &#8211; is this the correct thing to do, or are there security risks once I go online with my website? Security is something that I know nothing about (yes, even less than I know about Linux in general!) and I keep seeing threads about it, which worries me. Suggested Reading:Problem with permissionsGood Tuition Makes Fast Progress with LinuxFTP finally set up on Ubuntu, using ProftpdInstallation of Domain Name Service (DNS) &#8211; BindLinux, Apache, PHP Success. Next MySQL&#8230;</p>]]></description> <wfw:commentRss>http://www.webologist.co.uk/blog/sudo-chmod-r-755-articles/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Problem with permissions</title><link>http://www.webologist.co.uk/blog/htaccess-is-missing</link> <comments>http://www.webologist.co.uk/blog/htaccess-is-missing#comments</comments> <pubDate>Tue, 25 Sep 2007 19:29:00 +0000</pubDate> <dc:creator>Webologist</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://webologist.co.uk/?p=44</guid> <description><![CDATA[<p>This article was researched and written by <a
href="http://www.webologist.co.uk">Webologist - Internet News and SEO</a> where it was first published. This is a partial copy of the original article: <a
href="http://www.webologist.co.uk/blog/htaccess-is-missing">Problem with permissions</a> All the latest <a
href="http://shareholdersportal.co.uk/ftse-share-index">dividend and stock news</a> for UK investors.</p><p>OK, it seems that I have a problem with permissions now (I initially thought that my .htaccess file is missing, which has code in to allow php to be parsed in html files). Anyway, I decided to create a new .htaccess first, using: sudo gedit /var/www/.htaccess and got this message: (gedit:8583): GnomeUI-WARNING **: While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. gedit opened OK, so I went ahead anyway and added my code; RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html But same problem occurred. I then had a hunch that the .htaccess was there all along, chose to view hidden files, and can see it. So, what is the problem? Permissions again? I think so&#8230; I managed to change the permissions of the directory /var/www/ so can now view all items within. However, I cannot seem to view items in the subdirectories, and the php is not being parsed / processed either. I have attempted the following: root@jon-desktop:/var/www# chmod -R 755 *.* and root@jon-desktop:/var# chmod 755 www but still no luck. Regardng the php, maybe the server is not configured correctly. When I had my site [...]</p>]]></description> <wfw:commentRss>http://www.webologist.co.uk/blog/htaccess-is-missing/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Steep learning curve with Apache server</title><link>http://www.webologist.co.uk/blog/steep-learning-curve-with-apache-server</link> <comments>http://www.webologist.co.uk/blog/steep-learning-curve-with-apache-server#comments</comments> <pubDate>Tue, 25 Sep 2007 19:09:00 +0000</pubDate> <dc:creator>Webologist</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://webologist.co.uk/?p=43</guid> <description><![CDATA[<p>This article was researched and written by <a
href="http://www.webologist.co.uk">Webologist - Internet News and SEO</a> where it was first published. This is a partial copy of the original article: <a
href="http://www.webologist.co.uk/blog/steep-learning-curve-with-apache-server">Steep learning curve with Apache server</a> All the latest <a
href="http://shareholdersportal.co.uk/ftse-share-index">dividend and stock news</a> for UK investors.</p><p>OK, last night I installed Apache and PHP. I was going to install MySQL this evening, but I decided that instead I would start with the next project I have, which is updating the template for Tranquillizer. So I thought that the most sensible way to do this would be to upload all the files to the server and work on it in Linux, rather than work on it in the editor then upload to my web host&#8217;s server without any testing. First problem I had was that I did not have permission to copy files to /var/www/ I searched Google, and found an instruction, which I followed: chown -R jon /var/www/ I then simply copied the files from my external USB drive to the directory. I really need to find out how to copy direct from windows. Was asked for a password when I tried. Anyway, once all files were copied over, I pointed the broswer to http://localhost/ again, but this time was greeted with Forbidden You don&#8217;t have permission to access /index.html on this server. Apache/2.2.3 (Ubuntu) PHP/5.2.1 Server at localhost Port 80 So, why is this? Does only user jon have access, and not any browser? Help! [...]</p>]]></description> <wfw:commentRss>http://www.webologist.co.uk/blog/steep-learning-curve-with-apache-server/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
