Category: Apache
Cannot find setclasspath.sh when starting up Tomcat 7
In attempting to start Tomcat 7 on my MacBook Pro on El Capitan, I was getting the following error: amp-macbook:Cellar anton$ catalina start Cannot find /usr/local/Cellar/tomcat7/7.0.63/libexec/bin/setclasspath.sh This file is needed to run this program I found the issue to be due to my CATALINA_HOME environment variable. To resolve this, just do the following from your…
How to get admin access to Tomcat 7 on OS X Yosemite
In continuing the path to learn more about Tomcat 7, I had to configured my local instance to give me admin access to the “Server Status,” “Manager App,” and “Host Manager” pages. It was actually quiet easy. In your terminal, go to /usr/local/Cellar/tomcat7/7.0.63/libexec/conf vim tomcat-users.xml Add the following: <role rolename="manager-gui"/> <role rolename="admin-gui"/> <user username="tomcat" password="s3cret"…
Installing Tomcat 7 on OS X Yosemite
I needed to install Tomcat 7 on my new MacBook Pro running OS X Yosemite, and I knew I wanted to take advantage of Homebrew. As expected, it was a breeze. In your terminal, do “brew install tomcat7” Type “catalina start” Navigate to http://localhost:8080 In my case, I was running version 7.0.63 with Java 1.8.0.51.…
Fix for undeletable user-defined Squirrelmail folder
I run my own mail server and use Squirrelmail to facilitate webmail access using HTTPS. I encountered problems trying to delete a folder that I created as part of a test to find out if things were working correctly: ERROR : Could not delete “Archive” Given: Invalid mailbox name SquirrelMail is a Webmail application started by Nathan…
Automatically redirect to HTTPS with .htaccess
I caught the flu last week that’s why I haven’t been posting regularly. =0( Anyway, I wrote previously on how to password-protect a website/page, but in this post I’ll show you how to redirect a user automagically to HTTPS. All you need to do is add the following in the .htaccess file (I’ll be using…