>>>>> On Mon, 15 Mar 1999 11:14:11 +0100, Jean-Luc Rochat <[EMAIL PROTECTED]>
>said:
This hellish of a problem, a revisit as I never got it to work with Apache
1.3.3, Jserv 1.0.b2. So whats changed since I last reported a problem.
I've now upgraded to 1.3.4 and Jserv 1.0.b4. Yes I had taken heed of
mod_jserv before mod_rewrite in the order of execution. Here is some of the
contents of sr/modules.c as generated on configuration.
/*
* Modules which initially form the
* list of available modules on startup,
* i.e. these are the modules which are
* initially loaded into the Apache process
* [extendable under run-time via LoadModule]
*/
module *ap_preloaded_modules[] = {
&core_module,
&env_module,
&config_log_module,
&mime_module,
&negotiation_module,
&status_module,
&info_module,
&includes_module,
&autoindex_module,
&dir_module,
&cgi_module,
&asis_module,
&imap_module,
&action_module,
&speling_module,
&userdir_module,
&alias_module,
&access_module,
&auth_module,
&anon_auth_module,
&dbm_auth_module,
&digest_module,
&expires_module,
&example_module,
&setenvif_module,
&perl_module,
&jserv_module,
&rewrite_module,
&ssl_module,
NULL
};
Here is the configuration in my httpd.conf that I am using:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteLog "/usr/local/apache/var/log/rewrite.log"
RewriteLogLevel 9
RewriteCond /cvsweb !-f
# RewriteRule ^/cvsweb$ ^/cgi-bin/cvsweb.cgi$1 [R,L]
# RewriteCond %{DOCUMENT_ROOT}/cvsweb !-f
# RewriteRule cvsweb$ /cgi-bin/cvsweb.cgi$1 [R,L]
RewriteRule /cvsweb /cgi-bin/cvsweb.cgi$1 [R,L]
</IfModule>
As you can see I've tried serveral different rules and they all fail to
redirect. All I get is a NULL rewrite.log file and the following error
in my error.log file.
File does not exist: /usr/local/apache/share/htdocs/cvsweb
As I have set :
DocumentRoot /usr/local/apache/share/htdocs
[Q] What's wrong in the set up that I have ?
I would really appreciate your help on this. Having read the excellent
documentation on mod_rewrite, I am truely stuck getting this to work in practice.
Jean-Luc> Tarang Patel wrote:
>> >>>>> On Fri, 12 Mar 1999 13:00:53 -0800 (PST), Tarang Patel
>> <[EMAIL PROTECTED]> said:
>>
>> >>>>> On Thu, 11 Mar 1999 17:01:51 -0800, "jon *" <[EMAIL PROTECTED]>
>> said:
>>> It's like JServ is grabbing the URL and not letting rewrite have a
>>> chance.
jon> You need to re-compile Apache JServ with mod_rewrite.c before
jon> mod_jserv.c
Jean-Luc> Humm,
Jean-Luc> it seem that jon did not read the docs carefully ? ;-)))
Jean-Luc> You must compile mod_jserv BEFORE mod_rewrite check the order of
Jean-Luc> module apparition in src/modules.c. You can just try to put the
Jean-Luc> mod_rewrite lines (yes, there are > 1 lines) at the end of
Jean-Luc> arrays.
Jean-Luc> Hope this solves the problem.
Jean-Luc> Jean-Luc
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]