plainblack.com
Username Password
search
Bookmark and Share

    

Virtual server configuration

User bradcan
Date 12/11/2009 6:33 am
Views 574
Rating 0    Rate [
|
]
Previous · Next
User Message
bradcan

The PerlSetVar configurations eg:

        PerlSetVar WebguiRoot /data/WebGUI
        PerlSetVar WebguiConfig test.conf

WebguiRoot does not work inside a <Virtualhost *80> block because WebGUI.pm and others use server->dir_config to obtain WebguiRoot where as WebguiConfig is obtained from the Apache request object.

While this is perfectly logical, it would be nice if the source installation instructions made this clear or JSONs error said something more enlightening than 'Cannot read config file: /etc/test.conf'.

This is excruciating confusing since the server startup has already announced that test.conf has already loaded.

Something like "No 'WebguiRoot' found in main server configuration httpd.conf." would be more helpful. This would be better trapped by WebGUI.pm since other modules also suffer.



Back to Top
Rate [
|
]
 
 
perlDreamer

These are excellent suggestions.

For the changes in online documentation, feel free to update the wiki page on that.

To make the changes to the WRE and WebGUI, those would be filed as RFEs.



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved