<?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>NewPush &#187; Apache</title> <atom:link href="http://newpush.com/tag/apache/feed/" rel="self" type="application/rss+xml" /><link>http://newpush.com</link> <description>Server Hosting, Data Warehouse Hosting, Collaboration</description> <lastBuildDate>Fri, 20 Apr 2012 10:25:44 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Creating an easy to deploy SSL certificate in PEM format</title><link>http://newpush.com/2011/11/creating-an-easy-to-deploy-ssl-certificate-in-pem-format/</link> <comments>http://newpush.com/2011/11/creating-an-easy-to-deploy-ssl-certificate-in-pem-format/#comments</comments> <pubDate>Mon, 07 Nov 2011 17:03:02 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[Cloud Computing]]></category> <category><![CDATA[Dedicated Servers]]></category> <category><![CDATA[Hosting Support]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac OS X]]></category> <category><![CDATA[Managed Hosting]]></category> <category><![CDATA[OpenBSD]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[Certificate Chain]]></category> <category><![CDATA[Certificates]]></category> <category><![CDATA[PEM]]></category> <category><![CDATA[Secure Certificates]]></category> <category><![CDATA[SSL]]></category><guid isPermaLink="false">http://newpush.com/?p=1379</guid> <description><![CDATA[When ordering a secure certificate, most often one has to deal with the following files: certificate key file (aka private key): .key certificate request file: .csr primary certificate file (issued by the CA): .crt certificate chain (aka intermediate certificate, or &#8230; <a href="http://newpush.com/2011/11/creating-an-easy-to-deploy-ssl-certificate-in-pem-format/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>When ordering a secure certificate, most often one has to deal with the following files:</p><ul><li>certificate key file (aka private key): .key</li><li>certificate request file: .csr</li><li>primary certificate file (issued by the CA): .crt</li><li>certificate chain (aka intermediate certificate, or sf bundle): sf_bundle.crt</li></ul><p>As a result, when deploying to a web server, it is necessary to configure 3 files: the key, the cert, and the trust chain.  However, a little known fact is that these can be combined in a &#8220;pem&#8221; file that holds all three.  One may even include the trusted root certificate optionally.  Here is how:</p><ul><li>download your certificates (your_domain_name.crt) from your <a href="http://newpush.com/portal/">NewPush Customer Portal</a>.</li><li>paste the entire body of each certificate one by one into one text file in the following order:<ul><li><strong>domain.key</strong></li><li><strong>domain.crt</strong></li><li><strong>sf_bundle.crt</strong></li></ul><p>Make sure to include the beginning and end tags on each certificate. The result should look like this:<br /> <code><br /> -----BEGIN RSA PRIVATE KEY-----<br /> ...<br /> -----END RSA PRIVATE KEY-----<br /> -----BEGIN CERTIFICATE-----<br /> ...<br /> -----END CERTIFICATE-----<br /> -----BEGIN CERTIFICATE-----<br /> ...<br /> -----END CERTIFICATE-----<br /> -----BEGIN CERTIFICATE-----<br /> ...<br /> -----END CERTIFICATE-----<br /> -----BEGIN CERTIFICATE-----<br /> ...<br /> -----END CERTIFICATE-----<br /> </code></ul><p>The number of<br /> <code><br /> -----BEGIN CERTIFICATE-----<br /> ...<br /> -----END CERTIFICATE-----<br /> </code><br /> sections will depend of the length of the certificate trust chain.</p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2011/11/creating-an-easy-to-deploy-ssl-certificate-in-pem-format/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Qpid, an AMQP implementation</title><link>http://newpush.com/2010/01/qpid_amqp/</link> <comments>http://newpush.com/2010/01/qpid_amqp/#comments</comments> <pubDate>Tue, 19 Jan 2010 06:27:30 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[Java]]></category> <category><![CDATA[AMQP]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[Qpid]]></category><guid isPermaLink="false">http://www.wdream.com/?p=448</guid> <description><![CDATA[Joshua Kramer has an article in LJ about Qpid and AMQP. One of the most compelling aspects of Qpid is its cross plaform and cross language capability. Finally there is a message broker that is easy to use and has &#8230; <a href="http://newpush.com/2010/01/qpid_amqp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a href="http://www.globalherald.net/jb01/weblog/">Joshua Kramer</a> has an article in <a href="http://www.linuxjournal.com/">LJ</a> about <a href="http://qpid.apache.org/getting_started.html">Qpid</a> and AMQP.  One of the most compelling aspects of Qpid is its cross plaform and cross language capability.  Finally there is a message broker that is easy to use and has ready to go clients for C++, Java, Python, Ruby and .Net.   Take a look and let me know what you think.</p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2010/01/qpid_amqp/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Setting up Apache Authentication with htpasswd / htaccess</title><link>http://newpush.com/2009/05/setting-up-apache-authentication-with-htpasswd-htaccess/</link> <comments>http://newpush.com/2009/05/setting-up-apache-authentication-with-htpasswd-htaccess/#comments</comments> <pubDate>Sun, 31 May 2009 15:35:44 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[Cloud Computing]]></category> <category><![CDATA[Hosting Support]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac OS X]]></category> <category><![CDATA[OpenBSD]]></category> <category><![CDATA[Services]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[htaccess]]></category> <category><![CDATA[htpasswd]]></category><guid isPermaLink="false">http://www.wdream.com/?p=297</guid> <description><![CDATA[Authentication in Apache is done through htaccess, either from the configuration file, or from the .htaccess file in a given directory. Note that only full directories can be easily protected with this method. Here is how: (first log in to &#8230; <a href="http://newpush.com/2009/05/setting-up-apache-authentication-with-htpasswd-htaccess/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><span class="grey">Authentication in Apache is done through htaccess, either from the configuration file, or from the .htaccess file in a given directory. Note that only full directories can be easily protected with this method.<br /> Here is how: (first log in to the shell, as this method only works if<br /> you have shell access)</p><pre>
$ cd .../html/protected_dir

$ cat &gt; .htaccess

AuthType Basic

Authname "Protected KLC directory"

AuthUserFile ../../control/htpasswd

AuthGroupFile /dev/null

Require valid-user

+d

$ htpasswd -c ../../control/htpasswd user_name

[give passwd]</pre><p>After the file is created for the first time, to<br /> add more users:</p><pre>
$ htpasswd ../../control/htpasswd user_name</pre><p>There are also more sophisticated authentication schemes available, that allow database driven authentication. Feel free to contact me for more information about those solutions.</span></p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/05/setting-up-apache-authentication-with-htpasswd-htaccess/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Connection pooling with mod_perl</title><link>http://newpush.com/2009/05/connection-pooling-with-mod_perl/</link> <comments>http://newpush.com/2009/05/connection-pooling-with-mod_perl/#comments</comments> <pubDate>Sun, 31 May 2009 15:26:43 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[DB2]]></category> <category><![CDATA[Perl]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[DBI]]></category> <category><![CDATA[IBM]]></category> <category><![CDATA[mod_perl]]></category> <category><![CDATA[PostgreSQL]]></category><guid isPermaLink="false">http://www.wdream.com/?p=289</guid> <description><![CDATA[I found this info in the PostgreSQL archives. Here are  2 methods: Best method from Dan Lyke: Apache::DBI will pool across Perl programs, and you don&#8217;t have to change anything in your scripts. Next best method from Gilles DAROLD: in &#8230; <a href="http://newpush.com/2009/05/connection-pooling-with-mod_perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I found this info in the <a href="http://archives.postgresql.org/pgsql-general/2001-01/msg01362.php">PostgreSQL archives</a>.  Here are  2 methods:</p><p><strong>Best method</strong> from <em>Dan Lyke</em>: <code>Apache::DBI</code> will pool across Perl programs, and you don&#8217;t have to change anything in your scripts.</p><p><strong>Next best method</strong> from <em>Gilles DAROLD</em>: in your perl script use the following code</p><pre>use vars qw($dbh);

$dbh ||= DBI::connect($datasrc, $dbuser, $dbpwd);</pre><p>These can be use to create a database connection class in Perl that can handle transparently the connection / reconnection and disconnection for your code.  The end use code doesn&#8217;t have to be OO, thus the connection object can be reused in any legacy code.</p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/05/connection-pooling-with-mod_perl/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to avoid the phpBB worm with Apache Rewrite Engine</title><link>http://newpush.com/2009/05/how-to-avoid-the-phpbb-worm-with-apache-rewrite-engine/</link> <comments>http://newpush.com/2009/05/how-to-avoid-the-phpbb-worm-with-apache-rewrite-engine/#comments</comments> <pubDate>Sun, 31 May 2009 14:50:38 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[mod_rewrite]]></category><guid isPermaLink="false">http://www.wdream.com/?p=263</guid> <description><![CDATA[This solution was suggested by Raymond Dijkxhoorn on BugTraq: If you cannot fix it (virtual servers) fast for all your clients you could also try with something like this: RewriteEngine On RewriteCond %{QUERY_STRING} ^(.*)echr(.*) [OR] RewriteCond %{QUERY_STRING} ^(.*)esystem(.*) RewriteRule ^.*$ &#8230; <a href="http://newpush.com/2009/05/how-to-avoid-the-phpbb-worm-with-apache-rewrite-engine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><span class="grey">This solution was suggested by Raymond Dijkxhoorn  on BugTraq:</p><pre>If you cannot fix it (virtual servers) fast for all your clients you could also try with
something like this:

        RewriteEngine On
        RewriteCond %{QUERY_STRING} ^(.*)echr(.*) [OR]
        RewriteCond %{QUERY_STRING} ^(.*)esystem(.*)
        RewriteRule ^.*$                                -               [F]

We had some vhosts where this worked just fine. On our systems we didnt see any valid
request with echr and esystem, just be gentle with it, it works for me, it could work
for you <img src="http://newpush.com/wp-includes/images/smilies/icon_wink.gif?9d7bd4" alt=';)' class='wp-smiley' /> </pre><p></span></p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/05/how-to-avoid-the-phpbb-worm-with-apache-rewrite-engine/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to make perl work in a chrooted Apache on OpenBSD 4.5</title><link>http://newpush.com/2009/05/how-to-make-perl-work-in-a-chrooted-apache-on-openbsd-45/</link> <comments>http://newpush.com/2009/05/how-to-make-perl-work-in-a-chrooted-apache-on-openbsd-45/#comments</comments> <pubDate>Fri, 29 May 2009 23:54:20 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[OpenBSD]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[chroot]]></category><guid isPermaLink="false">http://www.wdream.com/?p=204</guid> <description><![CDATA[I found this solution on the misc@ list, and just slightly had to update it: Getting Perl/CGI to work in a chroot'd Apache environment : Intentions Let me start off by saying that allowing Perl/CGI in a server environment is &#8230; <a href="http://newpush.com/2009/05/how-to-make-perl-work-in-a-chrooted-apache-on-openbsd-45/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><span class="grey">I found this solution on the misc@ list, and just slightly had to update it:</p><pre> Getting Perl/CGI to work in a chroot'd Apache environment :

Intentions

Let me start off by saying that allowing Perl/CGI in a server
environment is generally a not good idea, unless you like to
spend all of your time auditing the Perl/CGI scripts on your
webserver. Lets face it - a lot of the Perl/CGI code out there
is very poorly written security wise and can present a serious
threat to your business or organization. Crackers know this and
will try to exploit the vulnerabilities in your Perl/CGI scripts
to gain access to your system(s).

Nonetheless, since the OpenBSD 3.2 release with the default
chroot'd Apache, I have been getting a lot of e-mails regarding
problems that users and admins have encountered. For example,
admins like the idea of running Apache in chroot, but their
websites rely heavily upon multiple Perl/CGI scripts. With Apache
running in chroot, Perl/CGI will obviously not work by default.
The dillema here, is that admins do not want to sacrifice the
security of running chroot'd Apache, but at the same time, they
cannot operate their business or oganization successfully without
the Perl/CGI applications. So, this paper was written specifically
for that reason - being able to run Apache in chroot with Perl/CGI
capabilities.

* Requirements

This document is specifically written for users and admins of
OpenBSD=&gt;3.2 with chroot'd Apache, but it can be applied to
other operating systems/distributions if the Apache setup follows
the OpenBSD chroot'd Apache setup. If you are an experienced
admin running a different operating system/distribution, this
document can give you the general idea on what to do.

+ OpenBSD=&gt;3.2
+ Perl
+ Default chroot'd Apache

* Instructions

By default, chroot'd Apache is in /var/www. Since Apache cannot
see outside /var/www, we will have to recreate a few directories
for Perl, so it could still be called from scripts with
#!/usr/bin/perl :

root@openwire # cd /var/www
root@openwire # mkdir usr; mkdir usr/lib; mkdir usr/libexec; mkdir usr/bin

Now that the directories have been created, we have to see what
libraries perl depends on :

root@openwire # ldd /usr/bin/perl
/usr/bin/perl:
-lperl.8 =&gt; /usr/lib/libperl.so.8.0 (0x4001d000)
-lm.1 =&gt; /usr/lib/libm.so.1.0 (0x400fa000)
-lc.29 =&gt; /usr/lib/libc.so.29.0 (0x4010e000)
-lutil.8 =&gt; /usr/lib/libutil.so.8.0 (0x401cc000)

Copy those libraries to the correct directories in /var/www/usr/* :

root@openwire # cp /usr/lib/libperl.so.8.0 /var/www/usr/lib/
root@openwire # cp /usr/lib/libm.so.1.0 /var/www/usr/lib/
root@openwire # cp /usr/lib/libc.so.29.0 /var/www/usr/lib/
root@openwire # cp /usr/lib/libutil.so.8.0 /var/www/usr/lib/

Copy ld.so to /var/www/usr/libexec :

root@openwire # cp /usr/libexec/ld.so /var/www/usr/libexec/

Copy perl to /var/www/usr/bin :

root@openwire # cp /usr/bin/perl /var/www/usr/bin

Now adjust your /var/www/conf/httpd.conf file as usually by
adding :

AddHandler cgi-script .cgi
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

AllowOverride None
Options Indexes FollowSymLinks ExecCGI
Order allow,deny
Allow from all

Restart Apache :

root@openwire # apachectl restart
/usr/sbin/apachectl restart: httpd restarted

As well as what others have mentioned, you may find that
  <code>apachectl restart</code>
doesn't quite work the same because the restart is already chrooted.
Any problems:
  <code>apachectl stop; sleep 1; apachectl start</code>
may solve.

That's it. If you have done everything as said in this document,
you should have access to Perl/CGI on your chroot'd Apache.
Good luck.

* Credits

This document is Copyright 2003 by Daniel Selans (metawire system
administrator)

Dom De Vitto has contributed the <code>apachectl restart</code> workaround.</pre><p></span></p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/05/how-to-make-perl-work-in-a-chrooted-apache-on-openbsd-45/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How to fix mod_perl with Apache2 on Ensim 3.7.x and Ensim 4.0.x?</title><link>http://newpush.com/2006/11/how-to-fix-mod_perl-with-apache2-on-ensim-3-7-x-and-ensim-4-0-x/</link> <comments>http://newpush.com/2006/11/how-to-fix-mod_perl-with-apache2-on-ensim-3-7-x-and-ensim-4-0-x/#comments</comments> <pubDate>Sun, 12 Nov 2006 09:22:28 +0000</pubDate> <dc:creator>Domonkos</dc:creator> <category><![CDATA[Cloud Computing]]></category> <category><![CDATA[Dedicated Servers]]></category> <category><![CDATA[Hosting Support]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Managed Hosting]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[ensim]]></category><guid isPermaLink="false">http://newpush.com/?p=1563</guid> <description><![CDATA[Fixing mod_perl Based on Ensim Knowledge ID:964 Description: mod_perl fails with Apache 2.0 on Ensim Pro/Basic Solution: When using Apache 2.0 with Ensim Pro/Basic, mod_perl no longer functions.  This is due to improper module references.  Ensim will provide an official &#8230; <a href="http://newpush.com/2006/11/how-to-fix-mod_perl-with-apache2-on-ensim-3-7-x-and-ensim-4-0-x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><strong>Fixing mod_perl</strong></p><p><strong>Based on Ensim Knowledge ID:</strong>964</p><p> <strong>Description:</strong> <br /> mod_perl fails with Apache 2.0 on Ensim Pro/Basic</p><p> <strong>Solution: </strong></p><p>When using Apache 2.0 with Ensim Pro/Basic, mod_perl no longer functions.  This is due to improper module references.  Ensim will provide an official fix in an upcoming Erratum.  A symptom of this error will be the following error information in /var/log/httpd/error_log</p><p>[Wed May 19 13:42:14 2004] [error] failed to resolve handler `Apache::Registry&#8217;<br /> [Wed May 19 13:42:14 2004] [error] [client 67.172.191.228] Can&#8217;t locate loadable object for module Apache::Constants in @INC (@INC contains: /usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1 . /etc/httpd/ /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/mod_perl.pm line 14<br /> Compilation failed in require at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache.pm line 6.<br /> BEGIN failed&#8211;compilation aborted at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache.pm line 6.<br /> Compilation failed in require at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache/Registry.pm line 2.<br /> BEGIN failed&#8211;compilation aborted at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache/Registry.pm line 2.<br /> Compilation failed in require at (eval 1) line 3.</p><p><strong>Applies to:</strong></p><table width="100%" border="0" cellpadding="0"><tbody><tr><td><p>&nbsp;</p></td><td><p><strong> </strong><strong>Products:</strong></p></td><td><p> Ensim Pro, Ensim Basic</p></td></tr><tr><td> </td><td><p><strong> Versions:</strong></p></td><td><p> 3.7.x, 4.0</p></td></tr><tr><td> </td><td><p><strong> Platforms:</strong></p></td><td><p> Red Hat Enterprise, Fedora</p></td></tr></tbody></table><p><strong>Instructions:</strong></p><p><strong>mkdir /root/working<br /> cd /root/working<br /> wget </strong><strong>ftp://ftp.Ensim.com/outgoing/kb/mod_perl/mod_perl.pyc.gz</strong><br /> <strong>gunzip mod_perl.pyc.gz<br /> cp /usr/lib/python2.2/site-packages/vh3/modules/mod_perl.pyc /root/working/mod_perl.pyc.backup<br /> cp mod_perl.pyc /usr/lib/python2.2/site-packages/vh3/modules/mod_perl.pyc<br /> service webppliance restart<br /> for i in $(sitelookup -a site_handle); do EditVirtDomain $i; done<br /> rpm -e mod_perl-httpd13</strong></p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2006/11/how-to-fix-mod_perl-with-apache2-on-ensim-3-7-x-and-ensim-4-0-x/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to upgrade Chili!ASP (SUN One ASP)</title><link>http://newpush.com/2006/11/how-to-upgrade-chiliasp-sun-one-asp/</link> <comments>http://newpush.com/2006/11/how-to-upgrade-chiliasp-sun-one-asp/#comments</comments> <pubDate>Sun, 12 Nov 2006 08:58:52 +0000</pubDate> <dc:creator>Domonkos</dc:creator> <category><![CDATA[Dedicated Servers]]></category> <category><![CDATA[Apache]]></category><guid isPermaLink="false">http://newpush.com/?p=1546</guid> <description><![CDATA[The modules needs to be recompiled for the new version of Apache. Here are the steps: # mkdir -p /opt/casp/module/linux2_optimized/apache_[version]/eapi # cd /opt/casp/module/source/build/ # apxs -c mod_casp2.c # cp mod_casp2.so /opt/casp/module/linux2_optimized/apache_[version]/eapi # ./configure-server The inital configuration reports: ----------------------------------------------------------------------------- &#124; SERVER &#8230; <a href="http://newpush.com/2006/11/how-to-upgrade-chiliasp-sun-one-asp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>The modules needs to be recompiled for the new version of Apache. Here are the steps:</p><pre>  # mkdir -p /opt/casp/module/linux2_optimized/apache_[version]/eapi
  # cd /opt/casp/module/source/build/
  # apxs -c mod_casp2.c
  # cp mod_casp2.so /opt/casp/module/linux2_optimized/apache_[version]/eapi
  # ./configure-server
</pre><p>The inital configuration reports:</p><pre> -----------------------------------------------------------------------------
| SERVER CONFIGURATION COMPLETE                                               |
|-----------------------------------------------------------------------------|
|  Your server was successfully configured.  Its information is as follows:   |
| Server installed (asp-server-3000):                                         |
|   Associated Web server conf file: /etc/httpd/conf/httpd.conf               |
|   Associated Web server port: 80                                            |
|   Location: /opt/casp/asp-server-3000                                       |
|   Port: 3000                                                                |
|   Samples: Enabled.                                                         |
|   Documentation: Enabled.                                                   |
|   Automatic ASP start on system boot: Enabled.                              |
|   ASP started: Yes.                                                         |
|   ASP start script: /opt/casp/asp-server-3000/startcaspd                    |
|   ASP stop script: /opt/casp/asp-server-3000/stopcaspd                      |
|   ASP general control script: /opt/casp/asp-server-3000/caspctrl            |
|   Samples URL: http://yggdrasill.thenewpush.com:80/caspsamp                 |
|                                                                             |
 -----------------------------------------------------------------------------
</pre>]]></content:encoded> <wfw:commentRss>http://newpush.com/2006/11/how-to-upgrade-chiliasp-sun-one-asp/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Do you have an authentication routine, like htpasswd to protect web pages?</title><link>http://newpush.com/2006/11/do-you-have-an-authentication-routine-like-htpasswd-to-protect-web-pages/</link> <comments>http://newpush.com/2006/11/do-you-have-an-authentication-routine-like-htpasswd-to-protect-web-pages/#comments</comments> <pubDate>Sun, 12 Nov 2006 08:48:07 +0000</pubDate> <dc:creator>Domonkos</dc:creator> <category><![CDATA[Cloud Computing]]></category> <category><![CDATA[Dedicated Servers]]></category> <category><![CDATA[Hosting Support]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Managed Hosting]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[htpasswd]]></category><guid isPermaLink="false">http://newpush.com/?p=1539</guid> <description><![CDATA[authentication in Apache is done through htaccess, either from the configuration file, or from the .htaccess file in a given directory. Note that only full directories can be easily protected with this method. Here is how: (first log in to &#8230; <a href="http://newpush.com/2006/11/do-you-have-an-authentication-routine-like-htpasswd-to-protect-web-pages/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>authentication in Apache is done through htaccess, either from the configuration file, or from the .htaccess file in a given directory. Note that only full directories can be easily protected with this method. <br />Here is how: (first log in to the shell, as this method only works if <br />you have shell access)</p><ul><li>$ cd &#8230;/html/protected_dir</li><li>$ cat &gt; .htaccess</li><li>AuthType Basic</li><li>Authname &#8220;Protected KLC directory&#8221;</li><li>AuthUserFile ../../control/htpasswd</li><li>AuthGroupFile /dev/null</li><li>Require valid-user</li><li>+d</li><li>$ htpasswd -c ../../control/htpasswd user_name</li><li>[give passwd]</li></ul><p>After the file is created for the first time, to <br />add more users:</p><p>$ htpasswd ../../control/htpasswd user_name</p><p>There are also more sophisticated authentication schemes available, that allow database driven authentication. Please contact us for more information about those solutions.</p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2006/11/do-you-have-an-authentication-routine-like-htpasswd-to-protect-web-pages/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: newpush.com @ 2012-05-22 10:53:28 by W3 Total Cache -->
