Use of navigator parameter rather than default browser
Posted by: DRGreen7 (---.static.tpgi.com.au)
Date: March 26, 2017 09:33AM

I was curious to discover just now, that changing my browser from Firefox, the default when WampServer was installed, to a Chromium browser, Vivaldi in my case and the current default, had no effect on what WampServer referred to when using the tools from the WampServer menu.

I did find the answer; changing the value of the 'navigator' parameter in the wampmanager.conf file.

But my surprise was having to make the change to the wampmanager.conf file in the first place. I naturally assumed that any browser operation would be directed to the default as configured in Windows OS.

Has there ever been any thought to making the 'navigator' parameter an option only to override the default browser only? To me it would be logical that WampServer would follow what ever the default browser was rather than relying on a parameter to set this.

Options: ReplyQuote
Re: Use of navigator parameter rather than default browser
Posted by: Otomatic (Moderator)
Date: March 26, 2017 10:53AM

Hi,

The browser used by Wampserver is the one whose full absolute path is declared in the file: wamp\wampmanager.conf like this:
;Path of the Browser used by Wampserver
;May be modfied with the absolute path of the browser exe file
;(Use / instead of \)
navigator ="J:/Com/Net/Firefox/firefox.exe"
If you modify the path, after saving the file, to be taken into account, restart Wampserver or use:
Right-Click Wampmanager tray icon -> Refresh

But if you want to use another browser, nothing prevents you from launching the said browser and typing the url in the address bar, for example:
'http://localhost/'
'http://my-local-site1/'

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.12/7.0.26/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.12/7.0.26/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Use of navigator parameter rather than default browser
Posted by: DRGreen7 (---.static.tpgi.com.au)
Date: March 26, 2017 11:29PM

Thanks.
I realise that, and did that before looking up how to correct the settings.
I was, as mentioned previously, just surprised that it had WampServer had been setup that way.

I even tried commenting out the parameter to see if WampServer would make a generic http request to call up the default browser, but WampServer just complained about the erroneous 'navigator' parameter.

Options: ReplyQuote


Sorry, only registered users may post in this forum.