I haven't done much more with it other than build it and make sure that it loads, but others have used it and it does work. I will take a look at it with the given configuration to see if there is something that we missed.
Brad Brad Nicholes Senior Software Engineer Novell, Inc., the leading provider of Net business solutions http://www.novell.com >>> Cliff Woolley <[EMAIL PROTECTED]> Wednesday, March 19, 2003 12:17:32 PM >>> Anybody happen to know if mod_rewrite is actually known to work on Netware right now? One of my former colleagues is playing with it (on 2.0.44) and having some problems that smell of a file path canonicalization bug to me. See below. Thanks... Cliff ---------- Forwarded message ---------- Date: Wed, 19 Mar 2003 09:21:29 -0500 From: Jeff Knudson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: mod_rewrite I'm playing with mod_rewrite on Apache2 for NetWare and wanted to bounce a problem off of you. Given the config: <VirtualHost 137.113.100.171> ServerName AcadFsVhosts.wlu.edu DocumentRoot "HOME:/" <IfModule mod_rewrite.c> RewriteEngine on RewriteLog logs/rewrite.log RewriteLogLevel 9 RewriteRule ^(.+) %{HTTP_HOST}$1 [C] RewriteRule ^(.+)\.wlu\.edu\/*(.*) $1/public_html/$2 </IfModule> </VirtualHost> and the input "http://biology2.wlu.edu/index.html", do I get the URL "biology2/public_html/index.html" without the DocumentRoot? 137.113.76.8 - - [19/Mar/2003:09:18:33 --0500] [biology2.wlu.edu/sid#c99f05d8][rid#cc30d910/initial] (2) init rewrite engine with requested uri /index.html 137.113.76.8 - - [19/Mar/2003:09:18:33 --0500] [biology2.wlu.edu/sid#c99f05d8][rid#cc30d910/initial] (3) applying pattern '^(.+)' to uri '/index.html' 137.113.76.8 - - [19/Mar/2003:09:18:33 --0500] [biology2.wlu.edu/sid#c99f05d8][rid#cc30d910/initial] (2) rewrite /index.html -> biology2.wlu.edu/index.html 137.113.76.8 - - [19/Mar/2003:09:18:33 --0500] [biology2.wlu.edu/sid#c99f05d8][rid#cc30d910/initial] (3) applying pattern '^(.+)\.wlu\.edu\/*(.*)' to uri 'biology2.wlu.edu/index.html' 137.113.76.8 - - [19/Mar/2003:09:18:33 --0500] [biology2.wlu.edu/sid#c99f05d8][rid#cc30d910/initial] (2) rewrite biology2.wlu.edu/index.html -> biology2/public_html/index.html 137.113.76.8 - - [19/Mar/2003:09:18:33 --0500] [biology2.wlu.edu/sid#c99f05d8][rid#cc30d910/initial] (2) local path result: biology2/public_html/index.html If I change the last RewriteRule to: RewriteRule ^(.+)\.wlu\.edu\/*(.*) HOME:/$1/public_html/$2 I get the URL "HOME:HOME:/biology2/public_html/index.html" with a Doc Root???? Can you enlighten? JK 137.113.76.8 - - [19/Mar/2003:09:22:01 --0500] [biology2.wlu.edu/sid#c99efd98][rid#cc30d090/initial] (2) init rewrite engine with requested uri /index.html 137.113.76.8 - - [19/Mar/2003:09:22:01 --0500] [biology2.wlu.edu/sid#c99efd98][rid#cc30d090/initial] (3) applying pattern '^(.+)' to uri '/index.html' 137.113.76.8 - - [19/Mar/2003:09:22:01 --0500] [biology2.wlu.edu/sid#c99efd98][rid#cc30d090/initial] (2) rewrite /index.html -> biology2.wlu.edu/index.html 137.113.76.8 - - [19/Mar/2003:09:22:01 --0500] [biology2.wlu.edu/sid#c99efd98][rid#cc30d090/initial] (3) applying pattern '^(.+)\.wlu\.edu\/*(.*)' to uri 'biology2.wlu.edu/index.html' 137.113.76.8 - - [19/Mar/2003:09:22:01 --0500] [biology2.wlu.edu/sid#c99efd98][rid#cc30d090/initial] (2) rewrite biology2.wlu.edu/index.html -> HOME:/biology2/public_html/index.html 137.113.76.8 - - [19/Mar/2003:09:22:01 --0500] [biology2.wlu.edu/sid#c99efd98][rid#cc30d090/initial] (2) local path result: HOME:/biology2/public_html/index.html 137.113.76.8 - - [19/Mar/2003:09:22:01 --0500] [biology2.wlu.edu/sid#c99efd98][rid#cc30d090/initial] (2) prefixed with document_root to HOME:HOME:/biology2/public_html/index.html 137.113.76.8 - - [19/Mar/2003:09:22:01 --0500] [biology2.wlu.edu/sid#c99efd98][rid#cc30d090/initial] (1) go-ahead with HOME:HOME:/biology2/public_html/index.html [OK] Jeff Knudson System Administrator University Computing Email: [EMAIL PROTECTED] Washington & Lee University Phone: 540-458-8108 Lexington, VA 24450 Fax: 540-458-8479