Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Log and redirection with Virtualhost

2 views
Skip to first unread message

Steve

unread,
Nov 21, 2009, 6:06:10 AM11/21/09
to
Hi,

I have a virtualhost which should redirect to another website
BUT I would like to be able to log any entries on this link.

I also want NOT to display the distante website URL, but still mine !!

I wrote this into my config file :

<VirtualHost *:80>
serverAdmin webm...@kxxx.com
Servername kxxx.com
ServerAlias www.kxxx.com
UseCanonicalName on
# LogFormat "%a" common
# ErrorLog logs/kxxx_error_log
# CustomLog logs/kxxx-access_log
Redirect permanent / http://toto.com/sss
</VirtualHost>


- but I still display the remote website
- and the log file is not accepted but Apache ( I had to write # before..
why ? no idea )

What do you think ??

Thanks for your help

Message has been deleted
0 new messages