Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-27-2004, 11:51 AM
WebProWorld New Member
 

Join Date: Jan 2004
Posts: 1
flex55 RepRank 0
Default mod_rewrite directives- do'nt work in server config context?

hi guys,

i have the following simple rewrite directives:

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^aaa
RewriteRule ^.* http://www.domain.com [L]

now, it works well on the <virtualhost> directive-
but as I want to apply it to all virtualhosts, i want to put it in server config- yet it doesn't work, for some reason, in the server config.

I tried to add RewriteOptions inherit to all virtualhosts, but no luck
does anyone have an idea?

thanks!
f.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , , , ,



Thread Tools
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

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


Search Engine Optimization by vBSEO 3.2.0