list vhosts on wamp homepage
Posted by: elcangri (---.ip.prioritytelecom.net)
Date: March 29, 2015 12:56PM

Hello,

I recently installed a fresh copy of wamp 2.5 x32 and took the time to setup vhosts which is awesome.
Now when I go to the wamp homepage (localhost) there is a section "your projects" which is now empty because my sites are not set under the wamp/www folder anymore.
My question is , can a vhosts list section be added to the wamp homepage ?

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: Otomatic (Moderator)
Date: March 29, 2015 06:03PM

Hi,

It is possible. See : "MY" WampServer modifications from 2.5 to 2.5.15

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: elcangri (---.ip.prioritytelecom.net)
Date: March 29, 2015 11:33PM

Hi,

thanks for the reply ,

I've tried copying over everything from the zip in the topic you suggested but nothing seems to happen.
are there any instructions i'm missing perhaps ?

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: Otomatic (Moderator)
Date: March 30, 2015 10:28AM

Hi,

Just replace or add all files from the zip file:
wamp
|   wampmanager.tpl
|   images_off.bmp
|   images_on.bmp
|
+---lang
|   english.lang
|   french.lang
|   romanian.lang
|
|   \---modules
|           settings_english.php
|           settings_french.php
|           settings_romanian.php
|
+---scripts
|       checkWampFiles.php
|       config.inc.php
|       msg.php
|       onlineOffline.php
|       refresh.php
|       switchServicesNames.php
|       switchMysqlPort.php
|       switchWampParam.php
|       switchWampPort.php
|       testPort.php
|       wampserver.lib.php
|
+---www
|       index.php
|       testmysql.php
|
\---bin\apache\apache2.x.y\conf\extra\httpd-vhosts.conf.example
- Launch Wampserver.
- Right-click on the icon in the notification zone and Exit
- Launch Wampserver a second time.
- Right-click, Wamp Settings, Validate Locahost sub-menu.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 03/30/2015 11:09AM by Otomatic.

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: elcangri (---.ip.prioritytelecom.net)
Date: March 31, 2015 01:44PM

Hi,

I've done as you said and now I have a right click menu with extra options.
what do you mean with : Right-click, Wamp Settings, Validate Locahost sub-menu. ?
I only have wamp settings and tools in the right click menu.
I tried clicking on wamp settings > VirtualHosts sub menu but nothing happens.

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: Otomatic (Moderator)
Date: March 31, 2015 04:26PM

Hi,

> I tried clicking on wamp settings > VirtualHosts sub menu but nothing happens.
- Wampmanager Icon->Right-Click->Wamp Settings->VirtualHosts Sub-menu (Validate with mouse)
Icon goes red then green.
If now you repeat :
- Wampmanager Icon->Right-click->Wamp Settings (DO NOT VALIDATE any line)
You can see there is a check like this:


- Wampmanager Icon->Left-click. You can see a sub-menu with all your VirtualHost, like this: and you can launch any VirtualHost by validate it by the mouse.

Il you launch localhost (Home page for Wampserver) you have now a list of all your VirtualHost:




Edited 1 time(s). Last edit at 03/31/2015 04:27PM by Otomatic.

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: elcangri (---.ip.prioritytelecom.net)
Date: March 31, 2015 04:50PM

in the wamp settings menu where you have a green check mark , I have red squares for every entry.
And also the left click vhosts menu doesn't show up , I did have it before though.

to be sure i did copy the right files , i clicked this link :

If desired, the archive of all files added or changed here
[aviatechno.net]

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: Otomatic (Moderator)
Date: March 31, 2015 05:41PM

Hi,

In the file wamp/wampmanager.ini is there theses lines:
[submenu.settings]
;WAMPSETTINGSSTART
Type: Separator; Caption: "Wamp Settings"
Type: item; Caption: "VirtualHosts sub-menu"; Glyph: 13; Action: multi; Actions: VirtualHostSubMenu
...
If not, what are the two lines after ;WAMPSETTINGSSTART

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: elcangri (---.ip.prioritytelecom.net)
Date: April 01, 2015 11:10PM

this is what I have :

[submenu.settings]
;WAMPSETTINGSSTART
Type: Separator; Caption: "Wamp Settings"
Type: item; Caption: "VirtualHosts sub-menu"; Action: multi; Actions: VirtualHostSubMenu ;Glyph: 11;
Type: item; Caption: "Projects sub-menu"; Action: multi; Actions: ProjectSubMenu ;Glyph: 11;
Type: item; Caption: "Wampserver Homepage at startup"; Action: multi; Actions: HomepageAtStartup ;Glyph: 11;

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: Otomatic (Moderator)
Date: April 02, 2015 10:41AM

Hi,

Glyph: 11; indicate that options needed are not present in wamp/wampmanager.conf file
Theses options are created at the first launch of Wampserver.
If you've replaced or added ALL the files from the zip archive in the tree Wamp, these options should have been created automatically.
To correct this problem I do not understand, you have to manually apply the setting options, so:

Edit wampmanager.conf file :
After : defaultLanguage = english
add :
[options]
urlAddLocalhost = "off"
ChangeServicesNames = "off"
MenuItemOnline = "off"
HomepageAtStartup = "off"
ProjectSubMenu = "off"
VirtualHostSubMenu = "on"

After : apacheServiceRemoveParams = "-n wampapache -k uninstall"
or apacheServiceRemoveParams = "-n wampapache64 -k uninstall"
(For Wampserver 64 bit)
add :
[apacheoptions]
apachePortUsed = "80"
apacheUseOtherPort = "off"

After : mysqlServiceRemoveParams = "--remove wampmysqld"
or mysqlServiceRemoveParams = "--remove wampmysqld64"
(For Wampserver 64 bit)
add:
[mysqloptions]
mysqlPortUsed = "3306"
mysqlUseOtherPort = "off"

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: elcangri (---.ip.prioritytelecom.net)
Date: April 03, 2015 07:20PM

Thanks a lot for your help and patience, those missing options solved the problem !

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: Otomatic (Moderator)
Date: April 04, 2015 09:32AM

Hi,

> Thanks a lot for your help and patience, those missing options solved the problem !
I'm happy! But somewhat frustrated because I do not understand why those options were not created automatically as should have been done.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: list vhosts on wamp homepage
Posted by: elcangri (---.ip.prioritytelecom.net)
Date: April 04, 2015 01:53PM

if there's any thing I could do to help solve that problem , let me know.

Options: ReplyQuote


Sorry, only registered users may post in this forum.