http rewrite for favicon
Posted: Sun May 23, 2010 4:03 pm
Hello,
I have a server up and running with a domain and a subdomain. Depending on how one goes in , it loads a different identity. Now all I need to do is to load a favicobn bases on whether5 they are looking for abc.mydomain.com/favicon.ico
WHereas if they go to mydomain.com or www.mydomain.com, the default favicon.ico would be loaded
I think I need
RewriteCond
but am not sure how to do this .
I think the http rewrite will look at the (sub) domain, correct?
I was going to do this in php but this seems to make more sense , does it not?
thanks for any help in advance
I have a server up and running with a domain and a subdomain. Depending on how one goes in , it loads a different identity. Now all I need to do is to load a favicobn bases on whether5 they are looking for abc.mydomain.com/favicon.ico
WHereas if they go to mydomain.com or www.mydomain.com, the default favicon.ico would be loaded
I think I need
RewriteCond
but am not sure how to do this .
I think the http rewrite will look at the (sub) domain, correct?
I was going to do this in php but this seems to make more sense , does it not?
thanks for any help in advance