Hello,
I am moving a script from apache and having problems with rewrite.
These are the rules added from the LS panel:
RewriteRule ^img-(.*)\.html img.php?id=$1 [L]
RewriteRule ^slide-(.*)\.html slider.php?id=$1 [L]
RewriteRule ^page-(.*)\.html page.php?name=$1 [L]
RewriteRule ^contact\.html$ contact.php [QSA,L,NC]
This is from the log:
2013-11-13 03:41:35.794 INFO [ip:60723] [REWRITE] Rule: Match '/img-526825975586d.html' with pattern '^img-(.*)\.html', result: -1
2013-11-13 03:41:35.794 INFO [ip:60723] [REWRITE] Rule: Match '/img-526825975586d.html' with pattern '^slide-(.*)\.html', result: -1
2013-11-13 03:41:35.794 INFO [ip:60723] [REWRITE] Rule: Match '/img-526825975586d.html' with pattern '^page-(.*)\.html', result: -1
2013-11-13 03:41:35.794 INFO [ip:60723] [REWRITE] Rule: Match '/img-526825975586d.html' with pattern '^contact\.html$', result: -1
Not sure what result -1 means, didn't find anything on the forum...
Thank you
I am moving a script from apache and having problems with rewrite.
These are the rules added from the LS panel:
RewriteRule ^img-(.*)\.html img.php?id=$1 [L]
RewriteRule ^slide-(.*)\.html slider.php?id=$1 [L]
RewriteRule ^page-(.*)\.html page.php?name=$1 [L]
RewriteRule ^contact\.html$ contact.php [QSA,L,NC]
This is from the log:
2013-11-13 03:41:35.794 INFO [ip:60723] [REWRITE] Rule: Match '/img-526825975586d.html' with pattern '^img-(.*)\.html', result: -1
2013-11-13 03:41:35.794 INFO [ip:60723] [REWRITE] Rule: Match '/img-526825975586d.html' with pattern '^slide-(.*)\.html', result: -1
2013-11-13 03:41:35.794 INFO [ip:60723] [REWRITE] Rule: Match '/img-526825975586d.html' with pattern '^page-(.*)\.html', result: -1
2013-11-13 03:41:35.794 INFO [ip:60723] [REWRITE] Rule: Match '/img-526825975586d.html' with pattern '^contact\.html$', result: -1
Not sure what result -1 means, didn't find anything on the forum...
Thank you