- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- CSWS 2.1-1 dynamic config file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2007 05:59 PM
тАО07-20-2007 05:59 PM
I want to have a common httpd.conf in a cluster environment with conditional parts depending a predefined variables or the system name or ...
Dieter
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2007 10:14 PM
тАО07-20-2007 10:14 PM
Re: CSWS 2.1-1 dynamic config file
>>>
I want to have a common httpd.conf in a cluster environment with conditional parts depending a predefined variables or the system name or ...
<<<
It may or may not be useful to you, but the standard VMS way to such effect would be to make a SPECIFIC
I am not aware of CSWS CONF include-file facilities, but if such exists, then use a common main file with some specific includes.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2007 10:54 PM
тАО07-20-2007 10:54 PM
Re: CSWS 2.1-1 dynamic config file
CONF include facilities exist and I use them. I have a common httpd.conf and includes in the specific area.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2007 07:30 AM
тАО07-21-2007 07:30 AM
Re: CSWS 2.1-1 dynamic config file
The command apachectl configtest will tell you where it's looking for the configuration file...
Include conf/mumble.conf
I'd expect to need to experiment with this stuff to see just what gets translated. This might end up needing to add another translation to APACHE$COMMON to aim at the local directory.
Not sure how much of this would be considered supported by HP.
One approach that almost certainly would be supported is the -D parameter directive on the SWS server startup command, and an IfDefine block in the configuration file. Set the parameter in using a DCL lexical and DCL if-else-endif logic and such, and off you go...
There's also the virtual host stuff, which is what I use...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2007 03:39 PM
тАО07-21-2007 03:39 PM
Re: CSWS 2.1-1 dynamic config file
Actually, I server about 20 websites with csws using common- and specific config files, using java, php, mysql, oracle, rdb ...
I have the httpd.conf in the specific path (needs a little modification in the apache startup and shutdown procedures) and the production includes in the common part. The production includes are in the common part, and for every include i want to modify, O have an additional one in the local specific path, overwriting the common on for that node, e.g. switching of support for a website or proxy serving with empty config files. But that's a lot of renaming, creating and deleting files, when I change configurations. I'm looking for a simpler way, easer to maintain, easier to document.
Someting like having an include file with variables, and use these variables to switch on or of special features with som if constructs in the config files.
like this
setup_file:
$ on = 1
$ off = 0
$ website_a == on
$ website_b == off
$ proxy == on
config file
include setup_File
NameVirtualHost 12.34.56.80:80
...
Dieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2007 03:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2007 05:18 AM
тАО07-25-2007 05:18 AM
Re: CSWS 2.1-1 dynamic config file
Dieter