LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-19-2009, 10:56 AM   #1
bar338
LQ Newbie
 
Registered: Nov 2009
Posts: 8

Rep: Reputation: 0
Automatically Generated Includes In Httpd.conf


I'm currently running a centos webserver. Within apache I have tomcat setup, in order to connect these two i'm using the JK Connector. I have it setup and working just fine for one website.

My question:
I just added a second website on a different ip/domain. At first when I looked at httpd.conf it was not listed in the virtual host. To fix this I restarted apache and it now appears in the httpd.conf as a virtual host. The virtual host listing for the first website has an include document at the end which allows me to put jk connection info in.
The new website does not have this automatically generated include statement. I figured I would just add it in but the config file explicitly says "# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES." however there is no include file for this generated virtual host.

Can I just type in the include statement and create the directory structure / file that the include points to? Or are there steps I need to take to have this include statement automatically generated? I want to make sure that if I add it in manually it doesn't get deleted when I restart apache.

Thanks for your help and I hope it makes sense. Let me know if you need more information.

-Bryce
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to draw a tree from the includes inside a file ? (ex : httpd.conf) permalac Linux - Software 0 03-17-2009 07:56 AM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
Please, Remove the automatically generated line in the Signatures john_walsh54 LQ Suggestions & Feedback 16 06-05-2005 12:34 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration