<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; apache server</title> <atom:link href="http://www.ghacks.net/tag/apache-server/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 20:51:26 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Local Apache Web Server Wampserver</title><link>http://www.ghacks.net/2009/09/17/local-apache-web-server-wampserver/</link> <comments>http://www.ghacks.net/2009/09/17/local-apache-web-server-wampserver/#comments</comments> <pubDate>Thu, 17 Sep 2009 09:08:17 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[apache server]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[php]]></category> <category><![CDATA[wampserver]]></category> <category><![CDATA[webmaster]]></category> <category><![CDATA[xampp]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=16430</guid> <description><![CDATA[Running a local Apache web server is essential for many webmasters. It is always a good idea to test code locally before publishing it on the Internet. Professional webmasters usually test their code in a local web server before it gets published. Mainly to avoid possible downtimes in the live environment but also to avoid [...]]]></description> <content:encoded><![CDATA[<p>Running a local Apache web server is essential for many webmasters. It is always a good idea to test code locally before publishing it on the Internet. Professional webmasters usually test their code in a local web server before it gets published. Mainly to avoid possible downtimes in the live environment but also to avoid the hassle of having to upload and edit code on the Internet or network. It&#8217;s simply faster to test everything locally.</p><p>Wampserver is an Apache web server for the Windows operating system. It provides in many regards the same functionality of other web server solutions like <a
href="http://www.ghacks.net/2007/01/31/host-your-own-webserver/">XAMPP</a> or <a
href="http://www.ghacks.net/2009/03/28/home-web-server/">Home Web Server</a> which we have reviewed in the past. The latest version of the local web server package will install Apache 2.2.11, MySQL 5.1.36 and PHP 5.3.0 on the local computer system.</p><p><span
id="more-16430"></span>One interesting unique feature is the ability to add different versions of Apache, MySQL and PHP to the installation in the form of add-ons. This can be very handy to test a website locally under multiple different Apache, MySQL or PHP release versions.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2009/09/apache_web_server.gif" alt="apache web server" title="apache web server" width="281" height="289" class="alignnone size-full wp-image-16431" /></p><p>The installation of Wampserver will always install the latest versions of Apache, MySQL and PHP. One interesting security feature is the ability to limit access to the web server to localhost. It is required to click on the &#8220;put online&#8221; option to make it available to other computer systems as well.</p><p>Additional Apache, MySQL and PHP versions can be installed from the Wamp add-ons <a
href="http://www.wampserver.com/en/add-ons.php">page</a>. All add-ons are provided as executables that can be installed easily on the operating system.</p><p>Webmasters who need to test code offline can use Wampserver to do so. It is especially useful to test code against multiple versions of Apache, MySQL and PHP. Something that the other home server solutions do not provide.</p><p><a
href="http://www.wampserver.com/en/">Wampserver</a> is Open Source and can be downloaded from the developer&#8217;s website.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/09/17/local-apache-web-server-wampserver/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Portable Web Server</title><link>http://www.ghacks.net/2008/12/28/portable-web-server/</link> <comments>http://www.ghacks.net/2008/12/28/portable-web-server/#comments</comments> <pubDate>Sun, 28 Dec 2008 15:28:53 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[apache portable]]></category> <category><![CDATA[apache server]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[pearl]]></category> <category><![CDATA[php]]></category> <category><![CDATA[portable web server]]></category> <category><![CDATA[server2go]]></category> <category><![CDATA[sqlite]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=9407</guid> <description><![CDATA[Server2Go is a portable web server that can be run from any storage space in a Windows environment. It can be placed on USB devices, removable devices, CDs, DVDs or the hard drive of the computer. It requires no installation at all and can be run right from the location where it has been placed [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.server2go-web.de/download/download.html">Server2Go</a> is a portable web server that can be run from any storage space in a Windows environment. It can be placed on USB devices, removable devices, CDs, DVDs or the hard drive of the computer. It requires no installation at all and can be run right from the location where it has been placed it.</p><p>The web server can be downloaded in various configurations. The various configurations range from a bare-bone Apache web server to a web server supporting MySQL, SQLite, Pearl and PHP. The configuration only has an effect on the type of applications that can be run on the web server. Most users will probably need at least MySQL and PHP support to run their websites locally.</p><p>The web server can be started by double-clicking on the Server2Go.exe executable file in the root directory of the server. This will load the various web server modules and display a start page in the web browser. The pms_config.ini file can be used to change various settings of the web server including the default web browser, the port and whether the modules like MySQL or PHP should be started as well.</p><p><span
id="more-9407"></span><img
src="http://www.ghacks.net/wp-content/uploads/2008/12/server2go-500x253.jpg" alt="server2go" title="server2go" width="500" height="253" class="alignnone size-medium wp-image-9408" /></p><p>The actual files of a website are placed in the htdocs directory of the web server. Loading them can be as easy as pointing your browser to 127.0.0.1:4001 or some subdirectory of it depending on the type of site.</p><p>MySQL comes with phpMyAdmin which is accessible from the main interface of the web server. Server2Go offers an uncomplicated way to run a web server, it is especially helpful in environments where software installations are restricted.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/12/28/portable-web-server/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>How To Deal With Huge Apache Web Server Log Files</title><link>http://www.ghacks.net/2008/10/01/how-to-deal-with-huge-apache-web-server-log-files/</link> <comments>http://www.ghacks.net/2008/10/01/how-to-deal-with-huge-apache-web-server-log-files/#comments</comments> <pubDate>Wed, 01 Oct 2008 07:37:08 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[apache log analysis]]></category> <category><![CDATA[apache log files]]></category> <category><![CDATA[apache server]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[dedicated server]]></category> <category><![CDATA[log file analysis]]></category> <category><![CDATA[log files]]></category> <category><![CDATA[root server]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=7325</guid> <description><![CDATA[I must admit that I have not been paying attention to the size of some of the Apache web server log files on my dedicated server. For those that do not know, the Apache logs are the log files of the Apache web server. They log every hit to a website and provide excellent material [...]]]></description> <content:encoded><![CDATA[<p>I must admit that I have not been paying attention to the size of some of the Apache web server log files on my dedicated server. For those that do not know, the Apache logs are the log files of the Apache web server. They log every hit to a website and provide excellent material that can be processed by a log file analysis software.</p><p>This log files can become huge if you have a popular website. The current size of the Ghacks log file is 45 Gigabytes. If it continues growing in that pace the web server will run out of hard disk space pretty soon.</p><p>The first problem was to figure out how to backup the 45 Gigabyte file on the web server since I did not want to loose all the data stored within. The idea was born to compress the Apache web server log file first and then reduce it to a few Kilobytes with the echo command.</p><p><span
id="more-7325"></span>The Apache web server log files are stored in the /var/log/apache2 directory on the Debian dedicated server. The first command to issue would compress the contents of the apache2 directory into multiple tar files if the compressed file reaches a size maximum. This makes it easier to transfer files to another computer.</p><p><code>tar -cz directory | split -d -b 1024m - destination.tgz</code></p><p>Directory is the source directory where the Apache web server log files reside and destination.tgz is the name of the to be created compressed file. It is important to note that you might need to stop the Apache web server for the operation to succeed because the compression utility will stop if files get changed during procession.</p><p>The last thing that is to be done is to clear the original Apache web server log files in the log files directory. This can be done with the following command even if Apache is running.</p><p><code>echo " " > /var/log/apache2/filename.log</code></p><p>This simply overwrites the contents of the file. Please note again that some Linux distributions use another directory structure and that the log files can be located in another directory on the server.<br
/> This takes only a few seconds and the log file will be cleared from all contents afterwards.</p><p>Then it is just a matter of transferring the various compressed archives to another computer.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/10/01/how-to-deal-with-huge-apache-web-server-log-files/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
