Forum Moderators: phranque

Message Too Old, No Replies

httpd.conf rewriterule sets

some working some aint

         

operafan

6:09 am on Feb 12, 2004 (gmt 0)

10+ Year Member



I've tried setting the rewrite cond & rule on the conf file rather than using htaccess & I can really see the difference in speed. Though I dont know how to benchmark it.
But the strange thing sometimes the rulesets are working & sometimes it aint?

I've remember to set the / for the rewriterule sets in the conf files.. Strange behaviour..
Any guys experienced the same thing in your host that has VPS.

I've placed the rewritecond in the <virtualhost> section.

operafan

7:49 am on Feb 12, 2004 (gmt 0)

10+ Year Member



I realize that upon placing the " / " my domains without www only will react to the rewrite rule while I'm still having problems with the main domain in the httpd.conf file.

Since I have other virtualdomains under the main domain, I'm still having difficulty getting the main domain to get the rewriterule working. I found this thread [webmasterworld.com...] did the same but did not work either.

Any ideas of where I should put the rewriterule in httpd.conf for the main domain?

operafan

9:05 am on Feb 12, 2004 (gmt 0)

10+ Year Member



Ok I finally placed it it <virtualhost> & it worked.
But I must note, that putting " / " worked only without www, so after removing it it worked bothways. Funny isn't it.