I'm trying to bring up a new Apache web server while maintaining
compatibility with the platform the old server ran on.
The only problem is CGI applications which potentially need to be
recompiled on the new platform to work.
I tried to deal with this as follows:
Using mod_rewrite, I put some lines like this in srm.conf:
RewriteRule ^/cgi-bin/(.*) http://www.veryComputer.com/$1 [T=application/x-httpd-cgi,L]
info0.dr.lucent.com is the old, SunOS server.
I wanted to let developers of CGI applications individually control
whether URLs to their directories would get redirected via the .htaccess
file. I did some casual testing and found that a .htaccess with the
seemed to have the desired effect.
Now that I have deployed this solution, I'm finding that the .htaccess
sometimes seems to be ignored.
Does apache observe the .htaccess file when processing a POST? Is it
necessary to set some option to make this happen?
In access.conf I have:
Options Indexes FollowSymLinks
Computing and Telecommunications Services Unix System Administration Team
Linux: It is now safe to turn on your computer.