Hi, am using ubuntu9.10 /xamp webserver. I have index.SHTML ,i want my SHTML file to be displayed when a user type www.abcd.com in the url.. i have written default.aspx to redirect to index.sthml,but it's not working in the local system. asp code is as below default.aspx <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server" > <title>.: OCTAL Technologies :.</title> </head> <body> <!--asp:response.redirect /--> <form id="form1" runat="server"> <table> <tr> <td><asp:contentplaceholder id="Main" runat="server" /></td> <td><p><asp:Response.redirect("/index.shtml")></p></td> <td><asp:contentplaceholder id="Footer" runat="server" /></td> </tr> </table> </form> </body> </html>
|