21293 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 171 Views |
-
htaccess woes

25 May 2012 at 11:16pm Last edited: 25 May 2012 11:17pm
Hi,
I expect this is pretty simple, but I cant get my head around it.
I have a payment page on my SS site and it runs from a secure link given to me by my hosting provider, completely different to my normal SS URL:Whenever I navigate to the URL I get:
The requested URL /sapphire/main.php was not found on this server.
Here is the fix I have tried to apply to my access file:
<IfModule mod_rewrite.c>
SetEnv HTTP_MOD_REWRITE On
RewriteEngine On
RewriteBase /RewriteCond %{HTTP_HOST} ^https://web91.secure-secure.co.uk$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /sapphire/main.php?url=%1&%{QUERY_STRING} [L]RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]</IfModule>
If anyone could shed any light on this that would be great.
| 171 Views | ||
|
Page:
1
|
Go to Top |

