.htaccess issue
Posted by: neo_phyte (121.54.22.---)
Date: April 16, 2012 10:02AM

I have this .htaccess file:

#php_value display_errors 1
#php_value date.timezone Australia/ACT

RewriteEngine on

#RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1
RewriteCond %{REQUEST_URI} !^/closed\.html$
#RewriteCond %{REQUEST_URI} !^/(images|css|js|scripts|thirdparty|favico)
#RewriteRule ^(.*)$ [localhost] [R=307,L]

RewriteCond %{HTTP_HOST} !^localhost:8080/gdev
RewriteRule (.*) [localhost] [R=301,L,QSA]

ErrorDocument 404 /index.php?layout_page=404

#RewriteRule ^dotwtest/?$ /thirdparty/check_bids.php [QSA]

RewriteRule ^/?$ /index.php?main_page=index [QSA]


but when I access the page in my localhost, it says:


The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept
cookies.


I am using port 8080 and the link is: [localhost]


The directory is: C:\wamp\www\gdev


Please advise...

Options: ReplyQuote
Re: .htaccess issue
Posted by: RiggsFolly (---.as13285.net)
Date: April 18, 2012 10:12AM

To help debug mod_rewrite rules this may help

[www.latenightpc.com]

and

[httpd.apache.org]

Options: ReplyQuote


Sorry, only registered users may post in this forum.