jeret Posted August 12, 2011 Report Share Posted August 12, 2011 hi today when i run start uniserver it's not opening the default index.php page in browser, instead it opens a notepad with this info below:please help, what is wrong ?? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8 " /><meta http-equiv="refresh" content="1;url=http://localhost:80/index.php"><title>Uniform Server</title><style type="text/css"><!--BODY {font-family: Verdana, Trebuchet MS;font-size: 10px;background-color: #4F4F97;background-image: url(images/logo.jpg);background-position: center 240px;background-repeat: no-repeat;}--></style></head> <body> </body></html> Quote Jeret Christopher WEB DESIGNER Link to comment Share on other sites More sharing options...
BobS Posted August 12, 2011 Report Share Posted August 12, 2011 This really isn't a fault with The Uniform Server, but rather with how Windows works. If you look at the properties for a web document (.html), you should see the name of some browser, like Firefox or IE. When UniServer starts the servers, it also looks at the startup flag to see if it should also display the splash redirect page. It does this by executing a "start" command with the name and path of redirect.html (UniServer\home\admin\www\redirect.html). That is the file you copied above.You can do the same at a command prompt. Just type (depending on the location of UniServer) start c:\UniServer\home\admin\www\redirect.htmland your default browser should open up. If it doesn't, that's not because UniServer has done anything wrong, but rather the OS. You can fix this by changing what program opens a .html file. This is done in the Properties page. Regards,BobS Quote Link to comment Share on other sites More sharing options...
jeret Posted August 13, 2011 Author Report Share Posted August 13, 2011 Thanks BobS i will try that... Quote Jeret Christopher WEB DESIGNER Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.