Hi
Recently I've changed my static directory to dynamic with mod_rewrite rules. I've put something like this in my .htaccess file
RewriteRule (.*)\.css $1.css [L]
RewriteRule ^images/(.*) images/$1 [L]
RewriteRule ^AddImages/(.*) AddImages/$1 [L]
RewriteRule ^Images/(.*) Images/$1 [L]
RewriteRule ^p/(.*) /cgi-bin/page.cgi?g=$1 [L]
RewriteRule ^info/(.*) /cgi-bin/page.cgi?p=$1 [L]
RewriteRule ^(.*).shtml /cgi-bin/page.cgi?g=$1.shtml [L]
RewriteRule ^$ /cgi-bin/page.cgi [L]
My question is, can I use .php extension with pages but still run it as dynamic? Will there be any problem with this?
I want to change this line in my .htaccess file:
Regards.
UnReal Network
Recently I've changed my static directory to dynamic with mod_rewrite rules. I've put something like this in my .htaccess file
Code:
RewriteEngine On RewriteRule (.*)\.css $1.css [L]
RewriteRule ^images/(.*) images/$1 [L]
RewriteRule ^AddImages/(.*) AddImages/$1 [L]
RewriteRule ^Images/(.*) Images/$1 [L]
RewriteRule ^p/(.*) /cgi-bin/page.cgi?g=$1 [L]
RewriteRule ^info/(.*) /cgi-bin/page.cgi?p=$1 [L]
RewriteRule ^(.*).shtml /cgi-bin/page.cgi?g=$1.shtml [L]
RewriteRule ^$ /cgi-bin/page.cgi [L]
My question is, can I use .php extension with pages but still run it as dynamic? Will there be any problem with this?
I want to change this line in my .htaccess file:
Code:
RewriteRule ^(.*).php /cgi-bin/page.cgi?g=$1.php [L]Regards.
UnReal Network