apache 1.3.14 - rewrite problem?

apache 1.3.14 - rewrite problem?

Post by dino040 » Thu, 04 Jan 2001 13:57:55



I'm using mod_rewrite for some virtual hosting.
It works fine on apache 1.3.12, but not on 1.3.14.
My rewrite command  based on

http://www.veryComputer.com/

In RewriteCond part, value of  ${HTTP_HOST} is not fetched.

What's the problem? By this problem I can't use 1.3.14.

My rewrite configuration is follo
-------------------------------------------------------
Rewri*gine on
RewriteMap   lowercase  int:tolower
RewriteMap   hosting      txt:/usr/local/apache/conf/v.map

# deal with aliases as above
RewriteCond  %{REQUEST_URI}               !^/icons/
RewriteCond  %{REQUEST_URI}               !^/cgi-bin/
RewriteCond  ${lowercase:%{HTTP_HOST}}  ^(.+)$

# this does the file-based remap
RewriteCond  ${hosting:%1}                  ^(/.*)$
RewriteRule  ^/(.*)$                      %1/$1 [L]

RewriteCond  %{REQUEST_URI}               ^/cgi-bin/
RewriteCond  ${lowercase:%{HTTP_HOST}}  ^(.+)$
RewriteCond  ${hosting:%1}                  ^(/.*)$
RewriteRule  ^/(.*)$                      %1/$1
[PT,T=application/x-httpd-cgi]
--------------------------------------------------------

 
 
 

apache 1.3.14 - rewrite problem?

Post by Joshua Sliv » Thu, 04 Jan 2001 14:11:25



> I'm using mod_rewrite for some virtual hosting.
> It works fine on apache 1.3.12, but not on 1.3.14.
> My rewrite command  based on

See
http://httpd.apache.org/dist/apache_1.3.14-fix.diff

--
Joshua Slive

http://slive.ca/

 
 
 

1. Apache 1.3.14 / Netware Perl/CGI PROBLEM, Please help!

Hi All!

I installed the Apache 1.3.14 binary distribution on my Netware 5.1 Server.
Apache works fine, but I didn't figure out, how CGI support is provided
under Netware. I have a .cgi file, that has "#!perl" as the first line, but
Apache ignores that, and just presents the source as plain/text. Also the
test-cgi files don't work. (Also plain/text, not an internal server
error....)

Does anybody has an idea?

Thank you for your help.

--
with best regards

H. Mayer

2. Just a dumb question about plugins

3. PDF problems with Apache 1.3.14

4. How do I time my sockets..

5. Apache SCRIPT_NAME problem after upgrade 1.3.14 - 1.3.22

6. Help please - Apache + HEAD requests

7. problem of compiling apache 1.3.14/17 with mod_auth_mysql

8. Copying CD's

9. Apache 1.3.14/ JServ 1.1.2 with DSO support problem

10. Apache 1.3.14 VHosts Problem

11. Apache 1.3.14 Problem

12. apache 1.3.14 -problem serving .pdf files

13. virtual host problem with apache 1.3.14-6 on suse 7.1