Re-write with Apache2 - one trivial stuff that Apache 1.x users might usually tend to overlook

Submitted by hpn on April 26, 2007 - 09:49
Notes

Add new comment

The content of this field is kept private and will not be shown publicly.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
I've had to remind myself this every time I upgrade the distributions on my Workstations and notebook. Being used to Apache 1.x, I tend to go back to editing the old way - changing httpd.conf or apache2.conf for vhost configuration. On Apache 2 there are separate files for this (under sites-available) which is clean and much more trouble free. But one thing you might overlook for a moment while upgrading distributions, is about mod_rewrite. You see that the module is enabled, you see the rewrite.load file under modules-enabled directory in the apache conf directory (which is usually under /etc/apache2 for standard installs). But the mod_rewrite still doesn't work. Trivial as it is (something that might not even deserve this lengthy note about it), it might baffle you for a bit unless you figure that the AllowOverride all directive that you wrongly placed on apache2.conf should have been on sites-available/default.