htaccess url redirect problem
am 07.11.2007 12:49:04 von pinky goyal------=_Part_22002_8892764.1194436144841
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi All !
I have stuck up due my .htaccess file.
--------------- here in my .htaccess file ----- ----
Options +FollowSymLinks
RewriteEngine On
########################################
# REDIRECTION FROM NONSECURE TO SECURE #
########################################
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(confirmDetails\.php|transResponse\.php)$
https://devfoundry.com/www3/web/shop/$1 [R=301,L]
########################################
# REDIRECTION FROM SECURE TO NONSECURE #
#########################################
#RewriteCond %{SERVER_PORT} ^443$
#RewriteCond %{REQUEST_URI} !^(confirmDetails\.php|transResponse\.php)$
#RewriteRule (.*)
http://%{HTTP_HOST}%{REQUEST_URI
[R=301,L]
------------------------------------------------------------ -------------
i want to redirect url
http://domain.com/www3/web/shop/new.php to
https://domain.com/www3/web/shop/new.php
and url to
http://domain.com.com/www3/web/shop/pay.php to
https://domain.com/www3/web/shop/pay.php
but with this htaccess file when instead redirecting to
https://domain.com/www3/web/shop/new.php it redirects to
https://domain.com/www3/web/shop/index.php
it's reallly urgent as the deadline is very tough.
can anyone please help me out what is the problem.
lot of thanx in advance
pinky
------=_Part_22002_8892764.1194436144841
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
RewriteEngine On
########################################
# REDIRECTION FROM NONSECURE TO SECURE #
########################################
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(confirmDetails\.php|transResponse\.php)$
[R=301,L]
########################################
# REDIRECTION FROM SECURE TO NONSECURE #
#########################################
#RewriteCond %{SERVER_PORT} ^443$
#RewriteCond %{REQUEST_URI} !^(confirmDetails\.php|transResponse\.php)$
#RewriteRule (.*) } [R=301,L]
------------------------------------------------------------ -------------
i want to redirect url
and url to
but with this htaccess file when instead redirecting to it redirects to
https://domain.com/www3/web/shop/index.php
it's reallly urgent as the deadline is very tough.
can anyone please help me out what is the problem.
lot of thanx in advance
pinky
------=_Part_22002_8892764.1194436144841--