Issue #73 new

Poor documentation on Additional Parsing Settings in pms_config.ini file

Anonymous created an issue

I try to parse additionnal file by setup the [AdditionalParsing] section: file1=server\apache\conf\extra\vhosts.cnf

In the vhosts.cnf I have <virtualhost *:%CDPMS:PORT%> ...... </virtualhost>

When running server2go, it create a vhosts.cnf.bak with <virtualhost *:%CDPMS:PORT%> ...... </virtualhost>

and the parse file vhosts.cnf which is the same as vhosts.cnf.bak <virtualhost *:%CDPMS:PORT%> ...... </virtualhost>

seems the parsing doesn't work, I assume it should parse the replacement string to port 80 or what I have setup to.... <virtualhost *:80> ...... </virtualhost>

I have reported this issue in the early v1.8.1 and it still doesn't work in v1.8.2 !!!!

I also have upgrade server2Go to the latest apache 2.4.2, php 5.4.4 and mySQL 5.5.24, myphpAdmin 3.5.2 and it run perfectly. i can upload the new upgrade if needed....

Comments (2)

  1. Anonymous

    I also have upgrade server2Go to the latest apache 2.4.2 with openSSL support, php 5.4.4, mySQL 5.5.24, myphpAdmin 3.5.2 and it run perfectly. i can upload the new upgrade if needed....

  2. Andrew Peacock

    Hi, further to this, I've taken a fresh install of server to go (both server2go.zip and server2go_a22_psm.zip), with a test.ini file in the same folder as server2go.exe.

    The test.ini only contained the tag %CDPMS:BASEDIR% - nothing else.

    The AdditionalParsing section of pms_config.ini starts:

    [AdditionalParsing]

    --- You can define additional file that will be parsed at startup for replacement string. You can use it i.e. to add the
    --- current server path to a htaccess file or changing configuration files of your webapplication at startup
    --- PLEASE NOTE THAT THIS WILL ONLY WORK IF YOU ARE NOT WORKING ON A WRITE PROTECTED MEDIUM LIKE A CD!!!!!
    --- You can use this on harddisk or usb stick...
    File1=test.ini

    The text.ini.bak file was created, but the tag wasn't replaced. I need the tag replacement to work for a live project, and it would be great to use server2go for it.

    Any thoughts?

    Regards, Andy

  3. Log in to comment