httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Raikes" <>
Subject Re: [users@httpd] url masking
Date Thu, 14 Oct 2004 18:11:35 GMT
I modified my virtualhost section in my httpd conf file as  follows,
now when I try to restart my apache server, I get an error (see below).

I rebooted the computer, and the apache server did not start automatically
like it usually does.

Any suggestions appreciated.

---- virtual host section ----
<VirtualHost *>
    RewriteEngine On
    RewriteRule (.*)\.uix$$1.uix
    RewriteRule ^(.*)
    ProxyPassReverse /
    RewriteLog logs/staccessibility-rewrite.log
    ErrorLog logs/
#    CustomLog logs/ common

---- error message from apachectl start command ----
[Thu Oct 14 11:07:42 2004] [warn] module jserv_module is already loaded,
/usr/apache/bin/apachectl start: httpd could not be started

-- end snippets --

The only process which has jserv loaded was the /usr/lib/wynn process
which I stopped and still got the same error.
On Wed, October 13, 2004 11:37, Joshua Slive said:
> On Wed, 13 Oct 2004 10:46:41 -0700 (MST), Donald Raikes <>
> wrote:
>> > You would need to use a "reverse proxy".  See the ProxyPass and
>> > ProxyPassReverse directives in the mod_proxy docs.
>> Ok, but how does that work when I am using redirectmatch to redirect to
>> the other server?
>> My Virtualhost section looks like:
>> <VirtualHost *>
>>     ServerAdmin
>>     ServerName
>>     RedirectMatch (.*)\*.uix$
>>     Redirect permanent /
>> #    ErrorLog logs/
>> #    CustomLog logs/ common
>> </VirtualHost>
> You don't use Redirect(Match).  Redirect(Match) is used to tell the
> client to fetch the document from the other server.  This necessitates
> that the client be given the real addresses.  If you want to hide the
> address from the client, then you need to have the intermediate server
> grab the content and return it to the client.
> Perhaps you are asking how to handle the regular expressions.  In this
> case, you need to use the proxy format of the rewriterule directive.
> A quick example to get you started:
> RewriteEngine On
> RewriteRule   (.*)\.uix$$1.uix
> [P,L]
> RewriteRule ^(.*)$1
> ProxyPassReverse /
> If you have troubles with this, be sure to use the RewriteLog to
> figure out what is going on.
> Joshua.

God Bless,
Don Raikes

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message