Jump to content
The Uniform Server Community

cannot start uniserver


jeret
 Share

Recommended Posts

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>

Jeret Christopher WEB DESIGNER
Link to comment
Share on other sites

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.html

and 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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...