Tomcat with DA

prophecy

Verified User
Joined
Jul 8, 2003
Messages
205
Anybody tried this?

I'm going to be giving it a shot today so hopefully it works out ok. The one thing i'm worried about is if DA will overwrite httpd.conf when it changes it?
 
Havn't tried tomcat myself, good luck :)

DirectAdmin will not overwrite the main /etc/httpd/conf/httpd.conf file, it only modifies it. The user httpd.conf files however will be overwritten, so you'll have to be careful of that.

John
 
Could you make it so that you can edit the user conf files without worrying about being overwritten? This is required for setting up Tomcat with Apache.

Maybe have sections that DA would ignore like:

#DA-IGNORE
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
#DA-ENDIGNORE
 
Just add the Tomcat stuff into the vhost templates. Every user you create will follow that template, and include those Tomcat directives.
 
Got it all working!

Then I put in an SSL certificate and doh! the conf file gets overwritten.

Pretty please add this feature... ;-) You add this feature and then you can now start saying "Easily integrate Tomcat with DA".
 
I think I might add a feature, where an admin can add apache config snippets to a particular domain. All vhost templates would have a |CUSTOM| token or something, and if a domain has custom data to be put in, DirectAdmin would grab that data and fill in the token. All other domains would have CUSTOM filled with their custom data (could be empty), which would allow custom settings for any domain.

John
 
That would be perfect. Could this be pushed up the priority ladder or let me beta test it? :)

I am at a stand still right now because I have like 15 sites on one user, half of them being java sites that need this and my settings keep getting toasted.
 
we have had two other requests for tomcat with our dedicated servers in the last month, so tomact support would be a very welcome addition.

as far as i know, it woulld make yours the only cp with built in support for it as well... looks good on a features list, that's for sure.

prophecy, perhaps you can walk me through the install sometime... it would be very useful for us to know how you installed it for future clients.
 
DirectAdmin Support said:
I think I might add a feature, where an admin can add apache config snippets to a particular domain. All vhost templates would have a |CUSTOM| token or something, and if a domain has custom data to be put in, DirectAdmin would grab that data and fill in the token. All other domains would have CUSTOM filled with their custom data (could be empty), which would allow custom settings for any domain.

John


That would be great :D


Many times I need to add something custom to a vhost for a site.. Such as turning safe mode off or something special for their logs...
 
Alright ... the demand is there, thus so is the feature :D I'll get on it right away. You guys realize that all the time taken to add these features, is time away from the completion of FreeBSD? (which by the way is getting closer, not finished yet, but its closer) ... hehe ...

John
 
DirectAdmin Support said:
Alright ... the demand is there, thus so is the feature :D I'll get on it right away. You guys realize that all the time taken to add these features, is time away from the completion of FreeBSD? (which by the way is getting closer, not finished yet, but its closer) ... hehe ...

John


Come on.. I thought you were a sys admin.. Don't you remember the requirements to be a sys admin?

Able to preform multipe tasks at once...
Read the minds of your employers and know exactly what they want..
Understand every question customers ask...
And preform miracles/acts of god on demand :D
 
Back
Top