webtechi2010 - 2:57 pm on Oct 11, 2011 (gmt 0)
Facing a strange problem, not sure if anybody faced similar issue.
Earlier I had a static content website which comprised of html files. In some of the pages I was using embedded PHP codes, which was running fine.
Now I have changed the architecture from static to dynamic as below.
http://example.com/category/subcategory.html is internally redirecting to http://example.com/cgi-bin/display.pl?category=subcategory thanks to .htaccess
Problem is now my embedded PHP codes are not getting executed, and writing the PHP content in PERL is not a valid option here.
How can I execute my old PHP code snippets from within the PERL scripts over apache ?
Please help. Thanks in advance.