I have it set up where all my .html files are able to receive the network ads.
Has anyone here that uses subdomains have any redirecting problems after installing the script? I came to find out, by messing around with the htaccess file that the rewrite rule hampers with the subdomain redirect. As soon as I remove it my subdomains work fine.
Example: Here is my URL address http://resources.MyDomain.com/ which shows up without the htaccess code.
As soon as I add the code and remove my 404 error code the same URL does not show up. Any suggestions?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} ^(.*)\.htm [NC,OR]
RewriteCond %{REQUEST_FILENAME} ^(.*)\.html [NC]
RewriteRule ^(.*) /phptohtml.php?file=$1
</IfModule>
I can still pull the same files up under www.domain.com/folder however I still want to keep it at a subdomain level.
What can I do. Add another RewriteCondition? Novice, by the way 
Last edited by Intensity : 03-24-2005 at 04:50 PM.
|