Forum Moderators: phranque
so that i can access sub domain as subfolder.example.com
i some how [ newbie ] got the domain diverted with this code .
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} example.com
RewriteCond %{REQUEST_URI} !test/
RewriteRule ^(.*)$ test/$1 [L]
now the subdomain cant be accessed with this subfolder.example.com
i need help on how to divert subdomain rather let them follow normal procedure .
also is it a good thing ?, to do Performance wise !, really looking for help !
Secondly i want to access
example.com/test
through
example.com/TEST ( case senstive)
its not happening now !
Thanks in Advance!
RewriteCond %{HTTP_HOST} ^example\.com
See the regular expressions tutorial cited in our forum charter for more information on regular expresions patterns.
Jim
www.example.com but i can access it through example.com
i added the this in my .htaccess
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} ^example.com
RewriteCond %{REQUEST_URI} !test/
RewriteRule ^(.*)$ test/$1 [L]
what to do now !