Apache HTTP server redirects

I’ve had the privilege (or substitute your own word) of working on quite a bit of Oracle Application Server configuration lately. The configuration I reviewed today brought to light another common configuration that I just don’t understand. The site is essentially an ASP that hosts their custom application for external customers. Each customer has registered their own domain name. So, when you hit www.mycustomdomain.com, it accesses the ASP’s website and redirects you to app.asphost.com/someurl. The mechanism that has been set up for this is to make each of the customer’s custom domains into a name-based virtualhost with its own DocumentRoot, like this: Continue reading “Apache HTTP server redirects”

Oracle HTTP Server (Apache) rotatelogs configuration

Is it just me, or does Oracle pick useless defaults? The latest case I encountered (just one of several) is the default Oracle Application Server configuration for logging. Both the HTTP Server ErrorLog and CustomLog use rotatelogs, but if they go so far as to configure rotatelogs, why not make some sensible defaults?

Here are the defaults I found at a recent OAS installation: Continue reading “Oracle HTTP Server (Apache) rotatelogs configuration”

Portal Virtual Host Configuration

Today I configured Portal on a test system to handle multiple virtual hosts. This was done as a proof-of-concept to support some work for a customer. We had a standard installation on a server named nap01.itconvergence.com with infrastructure on port 7780 and the middle tier using 7779 (HTTP server listen port) and 7778 (webcache listen port). The desired result of this configuration is to have two additional (virtual) hostnames be available on the middle tier. For our testing, we created fictional aliases named www.dan.com and www.houcine.com. Continue reading “Portal Virtual Host Configuration”