RE: [EMAIL PROTECTED] Server config level RewriteCond not working

2008-11-25 Thread likai
likai [EMAIL PROTECTED]: I am wondering why the server config level settings do not work. Server config level rewrites certainly work, but they are not automatically inherited by a virtual host. Probably this is what you are seeing. If you want to have your server level rewrite rules

[EMAIL PROTECTED] Server config level RewriteCond not working

2008-11-23 Thread likai
Hi, I learned that The RewriteCond has 3 kinds of context(This indicates where in the server's configuration files the directive is legal) Server config, virtual host, directory. I have a httpd.conf file which has several whosts. when configuring the server config level rewritcond

[EMAIL PROTECTED] how to reject head request

2008-11-19 Thread likai
Hi, How could I reject all coming http head request by configuring httpd.conf? I've got no clues. Thanks, _ 超炫人气榜给您所有偶像的最新资讯和排名,快来支持自己的偶像!

RE: [EMAIL PROTECTED] is there any include or reference mechanism in apache to store common entries somewhere and include them in virtualhost

2008-08-22 Thread likai
2008/8/22 likai [EMAIL PROTECTED]: Hi, Right now, in my httpd.conf I have two sets of virtualhosts for two IPs. I just made a copy of the first one and change the IP to another. By doing this, I created a lot of duplicated entries. Probably mod_macro is what you need. Krist

[EMAIL PROTECTED] is there any include or reference mechanism in apache to store common entries somewhere and include them in virtualhost

2008-08-21 Thread likai
Hi, Right now, in my httpd.conf I have two sets of virtualhosts for two IPs. I just made a copy of the first one and change the IP to another. By doing this, I created a lot of duplicated entries. It may cause apache to load a lot of duplicated entries. And sometimes it cannot promise that