NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Title


Joined: 23 Aug 2007
Posts: 16
Reply with quote
(1) Is there a config-value for not displaying urls in the title bar?

Instead of the 'Title' provided in my phpdock.ini I keep on getting
'http://localhost:8001/index.php'

(2) How can I evade webserver conflicts when another webserver
is running?


Tia
Leopolt
View user's profileFind all posts by leopoltSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
Instead of the 'Title' provided in my phpdock.ini I keep on getting

There are two kind of titles in phpdock: Title of the WINDOW and Title of the Application. Latter one is specified in the ini and is displayed in the task bar. Former one is taken directly from the HTML. You may want to have <title> tag in the header with appropriate text you want to be displayed in the window title.

Quote:
How can I evade webserver conflicts when another webserver is running?

Builtin webserver does not conflict with any other servers. It runs quite far from regular TCP/80. The default port is 8001. If it is in-use, phpdock will try 8002 and so forth until it finds a port that is not used. What's important is to have Windows Firewall updated to unblock ports for phpdock. Please read netsh documentation in MSDN. You may want to run appropriate netsh commands when your phpdock-based application is installing.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 23 Aug 2007
Posts: 16
Reply with quote
Quote:
You may want to have <title> tag in the header with appropriate text you want to be displayed in the window title.

Yes, thank you, that's it...maybe too obvious Embarassed
I only had tried the empty <title></title>

Quote:
Builtin webserver does not conflict with any other servers.

Are you sure? When Apache (1.3) is running PHPDock will display the PHP-source.
View user's profileFind all posts by leopoltSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
Are you sure?

Yes, I am sure.
Please make sure that the URL includes port:
Your InitialUrl should be something like below:
InitialUrl=http://localhost:${HTTPServer:Listen}/index.php

Without ${HTTPServer:Listen} it will try to connect TCP/80 and use your web server instead of the built-in one.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 23 Aug 2007
Posts: 16
Reply with quote
Quote:
Please make sure that the URL includes port:
Your InitialUrl should be something like below:
InitialUrl=http://localhost:${HTTPServer:Listen}/index.php

OK - peaceful coexistance IS possible^^

Thanks for your superquick response!
View user's profileFind all posts by leopoltSend private message
Title
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic