Forum Moderators: phranque
RewriteEngine on
Options +FollowSymlinks
RewriteCond %{REQUEST_URI} !^/(forum¦pages¦images¦errors)
RewriteCond %{HTTP_HOST} !^http://(.+\.)?domain\.com$
RewriteRule !\.(gif¦jpg¦png¦css¦js)$ %{DOCUMENT_ROOT}/index.php [NC]
I have tried what I have above and I have tried placing a blank .htaccess file in each subdomain and neither has worked?
[edited by: jdMorgan at 2:33 am (utc) on Aug. 5, 2004]
[edit reason] Fixed [ code ] formatting to prevent wrapping [/edit]
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(forum¦pages¦images¦errors)
RewriteCond %{HTTP_HOST} ^[b](www\.)?[/b]domain\.com
RewriteRule !\.(gif¦jpg¦png¦css¦js)$ %{DOCUMENT_ROOT}/index.php [L,NC]
Jim