Postback Problem
6 posts
• Page 1 of 1
Postback Problem
Hi
I have the following url
I have the following url
Last edited by MC076 on 14 Jun 2012, 05:06, edited 1 time in total.
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Postback Problem
Hello,
Not sure what happens.
Please, provide rewrite.log for the testing request. Logging issues described in FAQ
Regards
Andrew
Not sure what happens.
Please, provide rewrite.log for the testing request. Logging issues described in FAQ
Regards
Andrew
Re: Postback Problem
Hi
Sure, see below;
Sure, see below;
Last edited by MC076 on 14 Jun 2012, 05:05, edited 1 time in total.
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Postback Problem
I edited your post to make it more readable.
I thing the problem is in RewriteBase directive. Try to replace it with the directory name, not the Host+DirectoryName, as in the following:
Also try to erase '/' in front of %{REQUEST_URI} as it already includes one:
This will at least fix couple things. You may also provide newer log after applying these fixes.
Regards
Andrew
I thing the problem is in RewriteBase directive. Try to replace it with the directory name, not the Host+DirectoryName, as in the following:
- Code: Select all
RewriteBase /PreviewGames/
Also try to erase '/' in front of %{REQUEST_URI} as it already includes one:
- Code: Select all
RewriteRule ^(.*)$ seo-template.aspx%{REQUEST_URI} [QSA,L]
This will at least fix couple things. You may also provide newer log after applying these fixes.
Regards
Andrew
Re: Postback Problem
Thanks
This is from the rewrite log now;
(2) init rewrite engine with requested uri /PreviewGames/seo-template.aspx/PreviewGames/Blackjack/
(1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
(3) Process <DirectoryMatch> D:/websites/CWC - Clubworld/www.clubworldcasinos.com/PreviewGames/Blackjack/
(1) Htaccess process request
(3) applying pattern '^(.*)$' to uri 'seo-template.aspx/PreviewGames/Blackjack/'
(4) RewriteCond: input='' pattern='^gametype=([^&]+)&gamename=([^&]+)$' => not-matched
(3) applying pattern '^(.*)$' to uri 'seo-template.aspx/PreviewGames/Blackjack/'
(4) RewriteCond: input='D:\websites\CWC - Clubworld\www.clubworldcasinos.com\PreviewGames\Blackjack\' pattern='!-f' => matched
(4) RewriteCond: input='D:\websites\CWC - Clubworld\www.clubworldcasinos.com\PreviewGames\Blackjack\' pattern='!-d' => matched
(4) RewriteCond: input='GET' pattern='^POST$' => matched
(1) Rewrite URL to >> /PreviewGames/seo-template.aspx/PreviewGames/seo-template.aspx/PreviewGames/Blackjack/
(2) rewrite 'seo-template.aspx/PreviewGames/Blackjack/' -> '/PreviewGames/seo-template.aspx/PreviewGames/seo-template.aspx/PreviewGames/Blackjack/'
(2) internal redirect with /PreviewGames/seo-template.aspx/PreviewGames/seo-template.aspx/PreviewGames/Blackjack/ [INTERNAL REDIRECT]
This is from the rewrite log now;
(2) init rewrite engine with requested uri /PreviewGames/seo-template.aspx/PreviewGames/Blackjack/
(1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
(3) Process <DirectoryMatch> D:/websites/CWC - Clubworld/www.clubworldcasinos.com/PreviewGames/Blackjack/
(1) Htaccess process request
(3) applying pattern '^(.*)$' to uri 'seo-template.aspx/PreviewGames/Blackjack/'
(4) RewriteCond: input='' pattern='^gametype=([^&]+)&gamename=([^&]+)$' => not-matched
(3) applying pattern '^(.*)$' to uri 'seo-template.aspx/PreviewGames/Blackjack/'
(4) RewriteCond: input='D:\websites\CWC - Clubworld\www.clubworldcasinos.com\PreviewGames\Blackjack\' pattern='!-f' => matched
(4) RewriteCond: input='D:\websites\CWC - Clubworld\www.clubworldcasinos.com\PreviewGames\Blackjack\' pattern='!-d' => matched
(4) RewriteCond: input='GET' pattern='^POST$' => matched
(1) Rewrite URL to >> /PreviewGames/seo-template.aspx/PreviewGames/seo-template.aspx/PreviewGames/Blackjack/
(2) rewrite 'seo-template.aspx/PreviewGames/Blackjack/' -> '/PreviewGames/seo-template.aspx/PreviewGames/seo-template.aspx/PreviewGames/Blackjack/'
(2) internal redirect with /PreviewGames/seo-template.aspx/PreviewGames/seo-template.aspx/PreviewGames/Blackjack/ [INTERNAL REDIRECT]
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Postback Problem
Seems like it has already come changed: /PreviewGames/seo-template.aspx/PreviewGames/Blackjack/
and has added another section /PreviewGames/seo-template.aspx/PreviewGames/seo-template.aspx/PreviewGames/Blackjack/
For some reason your POST condition doesn't work, so lets try to add another condition to avoid looping:
Regards
Andrew
and has added another section /PreviewGames/seo-template.aspx/PreviewGames/seo-template.aspx/PreviewGames/Blackjack/
For some reason your POST condition doesn't work, so lets try to add another condition to avoid looping:
- Code: Select all
RewriteCond %{REQUEST_URI} !^/.*seo-template.aspx [NC]
Regards
Andrew
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests