file extension and domain redirect
Hi,
Can you give me a sample code for .htaccess so it will treat every .php extension file as .php5 extention in the current directory and alll the sub directories?
One other thing
with the following code
_______
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} mydomain.com
RewriteCond %{REQUEST_URI} !/mydomain
RewriteRule ^(.*)$ mydomain/$1 [L]
________
ok so i point my browser to mydomain.com its showing the following
http://mydomain.com/mydomain/index.php
instead of
http://mydomain.com/index.php
Can you tell me what i'm doing wrong in the above code.
Thanks & Regards
Can you give me a sample code for .htaccess so it will treat every .php extension file as .php5 extention in the current directory and alll the sub directories?
One other thing
with the following code
_______
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} mydomain.com
RewriteCond %{REQUEST_URI} !/mydomain
RewriteRule ^(.*)$ mydomain/$1 [L]
________
ok so i point my browser to mydomain.com its showing the following
http://mydomain.com/mydomain/index.php
instead of
http://mydomain.com/index.php
Can you tell me what i'm doing wrong in the above code.
Thanks & Regards