Apache

(tag)

  • Installing Tomcat 9 behind Apache on CentOS 7

    There are a number of posts on how to do this. I have created this post mostly for my own records so I know I will continue to have a record of what I have done. Setup Ensure you have at least JDK 8, I have the RPM “java-1.8.0-openjdk.x86_64” installed by this point. Create a… read more…

    Installing Tomcat 9 behind Apache on CentOS 7
  • Apache doesn’t write to /var/tmp

    I had a really strange problem, I was writing a tiny Python script to learn about Python and it was writing to /var/tmp. Only problem was the file never turned up. This script was run from within Apache 2 on Fedora 18. The file I was trying to create was “webhook_current_json_request.json“. Turns out the problem… read more…

    Apache doesn’t write to /var/tmp
  • Enable python scripts in Apache

    Want to run Python from Apache 2.4, this is what I did to get it working. For this exercise I am creating a web hook script and want to run them from the custom folder “/srv/www/webhooks/”. Apache config changes First backup and then open up “/etc/httpd/conf/httpd.conf” in your favorite editor.. Search for “#AddHandler cgi-script .cgi”… read more…

    Enable python scripts in Apache
  • Segmentation faults uploading images in WordPress

    When I tried uploading images I started getting a “HTTP error”. Not all images but quite a lot and it wasn’t just big images or even the biggest images. I noticed this just after the automatic upgrade to WordPress 4.0.1, but having said that I hadn’t done an upload since I had to rollback my… read more…

    Segmentation faults uploading images in WordPress
  • How to get the mod_jk connector for Apache

    If you want to run Tomcat from behind Apache as many people do then you need to find a method of sending requests from Apache to Tomcat. One of the popular mechanisms is to use “mod_jk”. The problem is that Apache or httpd does not generally come with mod_jk. I had this problem when I… read more…

    How to get the mod_jk connector for Apache
  • Adding an SSL certificate to Apache

    This article is about replacing an existing self-signed SSL certificate. In my case I have an Apache 2.2 server running on Fedora 14, pretty much default settings for a lot of stuff. My SSL certificate expired and I just needed to update it. In my case I have the “ssl.conf” in: /etc/httpd/conf.d/ssh.conf Steps 1. Login… read more…

    Adding an SSL certificate to Apache