Thursday, July 30, 2009

How can show a Perl(.pl) page as default home page?

I have a website www.unblockz.com. Now it has an index page(.html) redirecting to the perl page on loading of the site. But I need it to be done without redirection. When I enter www.unblockz.com, then automatically load that Perl page as the home page. How can I done it. Anyone can help me ?





eg : www.unblockmath.com - this site using the same perl script and it is working fine. When a visitor enter the sites URL, it shows the script page as default home page

How can show a Perl(.pl) page as default home page?
several ways... depending on how the apache server was built.





1 modrewrite to internally re-direct the home page to the cgi.


2 config the server to look for index.cgi if it doesn't find index.html


3 or the classic meta refresh.





but, are you sure the home page on unblockmath is from a perl program? it looks like a static html page.


No comments:

Post a Comment