Today, everybody uses the internet to access web content and cloud applications for better productivity. If the selected cloud application fails to deliver fast and secure access to the requested information, there are high chances that most of the employees will look for other means to get it, which can pose a direct threat to […]
Symantec Web Protection Review & Alternatives
Catchpoint Review and Alternatives
Earlier, we all had been through a phase when our local shops were shut down, and there was no earning. As a result, many people started moving to digital platforms and created websites for their businesses to serve customers without any stoppage or delays. This phase made most small businesses realize the importance of the […]
The Best Automated Browser Testing Tools
Today, having a company website is crucial, but what if it doesn’t support different browsers? Have you ever heard customers calling the technical support team to inform them that the website is not opening in specific browsers? In order to deliver quality results, it is important to check and analyze all functions of your website […]
Running Apache on Win32
Do you ever wish you could inch away from IIS and migrate towards Apache on Linux or some other UNIX operating system? Well, in this article we will install Apache on our NT server. Another advantage to using Apache is it is a cool way to get a full fledged web server on your workstation. […]
Compiling Java Telnet (jta25b)
There is an applet that can be used to serve up telnet sessions via a Java applet at Javatelnet.org. Note that this site is often down, although it is the current main site. There is an older version available here. Now, we have been trying to use this to provide a web interface for a […]
Upgrading Apache With Compiled-in Modules
See this article for information on compiling Apache with compiled-in modules. We find that this works well in some cases. The big problem, though, is you have to be very careful that you don’t break your website at upgrade time. There are some options to httpd that help with this. The -l option will list […]
Apache Installation and Configuration
First, get the current Apache distribution from Apache.org, and extract it: [root@srv-3 src]# ls apache_1.3.19.tar.gz bind-9.1.2 bind-9.1.2.tar.gz webmin-0.85.tar.gz [root@srv-3 src]# tar -xzf ap*.gz [root@srv-3 src]# [root@srv-3 src]# ls apache_1.3.19 bind-9.1.2 webmin-0.85.tar.gz apache_1.3.19.tar.gz bind-9.1.2.tar.gz [root@srv-3 src]# cd ap* [root@srv-3 apache_1.3.19]# ls ABOUT_APACHE config.layout INSTALL Makefile.tmpl src Announcement configure KEYS README WARNING-WIN.TXT cgi-bin htdocs LICENSE README.configure conf […]
Upgrading Tomcat
In our article on installing Tomcat, we used version 5.0.18. Well, it has been awhile, and we want to upgrade our system. First, we download the new binary from here. On our system, we put this all in opt. Let’s remove the old symbolic link and extract the tarball: [root@srv-1 opt]# rm tomcat rm: remove […]
Configuring Awstats With Static Pages
For years we have run our own homebrew web stats application out of frustration with currently available tools. Well, web stats packages have certainly improved over the years, and we decided to implement AWStats on one of our servers. We are doing this on a Red Hat Enterprise 4 box with Apache 2, so some […]
Protecting your site from particular IP addresses w/ Apache
If a particular user is abusing your Apache web server, it is quite easy to deny access to your site. We found (with our ISP) that the easiest is to put an entry in the .htaccess file in the root of the directory you want to protect: deny from xxx.xxx.xxx.xxx Where xxx.xxx.xxx.xxx is the offending […]
Using Whois With PHP
If you would like to provide whois queries via PHP, a good package to use is available here. An example script that uses this package is: <?php include(“whois/main.whois”); $whois = new Whois($_GET[‘query’]); $result = $whois->Lookup(); echo “<pre>”; for($i=0;$i<count($result[rawdata]);$i++) { $row = each($result[rawdata]); echo $row[“value”].”\n”; } echo “</pre>”; ?> The query variable is arbitrary. You can […]
Adding PHP Support to Apache
Assuming that you have PHP installed, and the module available for Apache, these lines need to be in httpd.conf for PHP support: DirectoryIndex index.php index.html <Files *.php> SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 10000000 </Files> AddType application/x-httpd-php .php Now, these lines are often in other files that are included; however, if .php pages just spew the […]
Inserting program listings in PHP-Nuke
NetAdminTools used to use PHP-Nuke. For those of you who don’t know, PHP-Nuke is a fabulous Open Source project that gives you everything you need to bring up your own website with a database backend and other features. Now, one annoying thing with PHP-Nuke, and most web based interfaces is that it is quite difficult […]
Adding Modules to httpd.conf With Apache 2
We recently converted from a source version of Apache 2 to an RPM version. We wanted all of the PHP/MySQL stuff compiled in and working quickly. Yes, we were very lazy. Now, we tried to use our old httpd.conf file; however, since the compiled version had many of the options built in, our httpd.conf file […]
Programming With PHP – Part 1
In this series of articles, we will explore the fundamentals of PHP programming with MySQL. For a good reference, try this book. It helped us. In this installment of Programming With PHP, we will set up the Red Hat RPMs, configure our directories, and code a simple “Hello World” app. We are running Red Hat […]
Installing XAMPP on a Minimal System
What would you say if I told you that you could bring up a system that provided LAMP with two files: [usr-1@srv-1 Desktop]$ ls -l total 127720 -rw-rw-r– 1 usr-1 usr-1 88861055 Jul 2 03:37 stage3-i686-2004.3.tar.bz2 -rw-rw-r– 1 usr-1 usr-1 41779457 Jul 2 02:51 xampp-linux-1.4.14.tar.gz [usr-1@srv-1 Desktop]$ I’m talking bare metal here. Do I have […]
Programming With PHP – Part 2
In Part 1 of this series, we set up a basic PHP server with Apache on a Red Hat system, and wrote a simple “Hello World” script. In this article, we will vary content based on browser type. We will use the HTTP_SERVER_VARS server variable. The specific variable we want is HTTP_SERVER_VARS[‘HTTP_USER_AGENT’]. To use this, […]
Compiling Built in Modules with Apache2
If you know exactly what modules you plan to use with a website, and you are sure you don’t need the flexibility of adding in those modules later, you can compile Apache with the modules built in. Here is the configuration statement for a minimal Apache compile with server side includes. This was for an […]
Tidy Up Your HTML
One cool tool for tidying up your HTML, as well as notifying you of coding errors is TIDY. For an overview of what TIDY can do for you see this overview. Installation is quite easy: root@srv-1 src # tar -xzf tidy*.tgz root@srv-1 src # cd tidy root@srv-1 tidy # ls Makefile Makefile.bcc32 Makefile.nmake Makefile.vc6 console […]
Redirecting a Web Page With Javascript
If you need to redirect a web site, just put the following html in place of the page you want to redirect: <head> <script type=”text/javascript”> <!– setTimeout(‘Redirect()’,2000); function Redirect() { location.href=’http://newdomain.com/’; } //–> </script> <html> <body> This site is no longer located here. <br /> You will be redirected in 2 seconds. Please update your […]




