problem with rewrite

This is a discussion on problem with rewrite within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, I've put this in my httpd.conf (apache 2) but it doesn't works why? <VirtualHost *:8080&...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-08-2004
Thierry B
 
Posts: n/a
Default problem with rewrite

Hello,
I've put this in my httpd.conf (apache 2) but it doesn't works why?

<VirtualHost *:8080>
ServerName mail.bou.xx
DocumentRoot "F:\xxxx\quirrelmail"
RewriteLogLevel 9
RewriteLog logs\rewrite.log
RewriteEngine on
RewriteRule ^lmail$ "boubou"
</VirtualHost>

I'd like to replace http://mail.bou.xx by http://boubou.bou.xx
I've also put LoadModule rewrite_module modules/mod_rewrite.so but not
AddModule which is not necessary in pache 2.

Thanks.


  #2 (permalink)  
Old 02-08-2004
Davide Bianchi
 
Posts: n/a
Default Re: problem with rewrite

Thierry B <thbouhnik@free.fr> wrote:
> I'd like to replace http://mail.bou.xx by http://boubou.bou.xx


Why making things difficult?

<VirtualHost *:8080>
ServerName boubou.bou.xx
ServerAlias mail.bou.xx
UseCanonicalName on
DocumentRoot ....
...other directives...
</VirtualHost>

Davide

--
| ...A Microsoft spokesperson said, "while fighting software piracy is
| good for our business, highway robbery is our business." -- From
| a Slashdot.org post
|
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0