Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

problem with rewrite

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache 2.0.40 and SSI  
Author Message
thbouhnik

External


Since: Feb 04, 2004
Posts: 9



(Msg. 1) Posted: Sun Feb 08, 2004 3:56 pm
Post subject: problem with rewrite
Archived from groups: alt>apache>configuration (more info?)

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.

 >> Stay informed about: problem with rewrite 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sun Feb 08, 2004 4:09 pm
Post subject: Re: problem with rewrite [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thierry B <thbouhnik.RemoveThis@free.fr> wrote:
<font color=purple> > I'd like to replace <a style='text-decoration: underline;' href="http://mail.bou.xx" target="_blank">http://mail.bou.xx</a> by <a style='text-decoration: underline;' href="http://boubou.bou.xx</font" target="_blank">http://boubou.bou.xx</font</a>>

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
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: problem with rewrite 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
mod rewrite problem - I whould use this rewrite rule RewriteRule categoria_([^/]+).htm categoria.htm?id=$1 [L] RewriteRule sottocategoria_([^/]+).htm sottocategoria.htm?id=$1 [L] but when i call sottocategoria_?? it is parsed as categoria_?? how can i solve? thanks Andre...

Mod rewrite problem - is it possible to use this rewrite rule to call a cgi script: RewriteRule ^xredirect:(.+) /path/to/redirect.cgi/$1and when the redirect.cgi script gets the request, decline it so that another rewrite rule could be used or the document orignally called..

ReWrite Problem - I am setting up a Zope Site (zope) behind an Apache Server. I have the ReWrite rule working correctly: <VirtualHost 10.0.0.12:80> <font color=purple> ; ServerName www.example.com</font> <font color=purple> ; Serve...

rewrite problem with name virtual hosts - Hi list, i have a little problem. I am using Apache 1.3, php4 perl and ssl. I've got several name virtual hosts all listen on the same ip address. I use mod rewrite to simulate static web pages. I put in the same rewrite rules in a couple of virtual..

Rewrite Rule Problem with Zope - I am setting up a Zope Site (zope) behind an Apache Server. I have the ReWrite rule working correctly: <VirtualHost 10.0.0.12:80> ServerName www.example.com ServerAlias example.com RewriteEngine on RewriteRule ^/(.*)..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]