[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Adding Apache configuration directives to Lotus Foundations - Enabling JSON

Posted on 2011-04-25
Medium Priority
Last Modified: 2012-05-11
I asked the following question at IBM and got the the following   I am not an Apache Guru. I am fine with items 1,2,3,4 and 6. Number 5 is the question I want to ask here. As stated below I need to create a text file with a directive to enable JSON on the Apache server. I need to know what would go in the file and what should be the file name and extension.

Could it be a s simple as JSON=ON with a file name of HTTPd2.cfg

Thanks appreciate any help....

The Question asked:  How do I add Apache configuration directives?

***** Here is the INfo IBM provided *******

To modify the Apache configuration, a separate file must be used and included in httpd.conf to reference the changes. Note that the changes applied to Apache are global, and will affect all virtual domains on the server.

   1. Telnet into the server and log in as an administrative user.
   2. Type the following command:

      wv set [httpd]include = 1

   3. A directory named "apache" is created within the home directory the team currently set to act as webmaster. The default webmaster team is named webmaster. To find out which team is configured as the webmaster team use the following command:

      wv get [httpd]Admin Team

   4. Change directories to the httpd directory of your Admin Team. Replace AdminTeam with the output of the previous command.

      cd /home/AdminTeam/apache

   5. Place a file that contains your Apache configuration commands into this directory. Any files placed into this directory will be included into the apache configuration. Only store text files with valid Apache configuration directives in this directory, any other type of file will stop Apache from starting.

   6. Test that Apache understands your configuration directives.

      httpd2 -t

      Note: Ignore any warn messages regarding VirtualHost directives.

   7. Once your configuration is clean, restart Apache with the following command:

      killall -HUP httpd2
Question by:okanekrs
  • 3
  • 2
LVL 38

Accepted Solution

wesly_chen earned 1500 total points
ID: 35463841
JSON (JavaScript Object Notation), should it be apache-tomcat, jboss or IBM websphere Java web server?
Does plan apache http server support Java script?

I think you need to use Tomcat (under Apache project) for JSON support/enable.

Author Comment

ID: 35493750
I apologize I asked the question incorrectly. I should have phrased it as Adding PHP configuration directives to Lotus Foundations - Enabling JSON on PHP. A friend at IBM was able to steer me in the right direction, and JSON is now installed.

So I think Wesly deserves the 500 points for the fact he was the only one who answered and did in a round of bout way set me straight...

Author Comment

ID: 35493764
Can one of the moderators award the points. to Wesly, then close this question. It really was not the solution
LVL 38

Expert Comment

ID: 35978752
Hi, you can close this question by select your post as solution.

Author Closing Comment

ID: 36106777
JOint Solution

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses
Course of the Month18 days, 22 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question