Adding a new lucee site on shared hosting causes all other lucee sites to go down for half an hour?

hi

i have a few sites on shared hosting using lucee. today i wanted to set up
a subdomain for a test site, and was told by the hosting company ( host
media ) that they have to do this in what they call off-peak hours because
setting up a new lucee site means restarting the lucee service;

"Once we have added your domain to lucee configuration file, we will have

to restart the lucee service and it will take about a half hour to complete
the process. During the restart process, all the Lucee enabled domains on
the shared server will be down. In order to avoid this, we are scheduled to
perform the task during off peak hours. Hope you understand the situation.
We will update you once the task has been completed. Your patience is much
appreciated."

is this really true? we were on railo before and i don’t remember this, i
remember setting up new sub domains and new sites with railo really
quickly. is this a change in how lucee does things? or are the hosting
company trying to blag me? they did have some trouble after the railo to
lucee migration …

if thats true, its really bad for those of us on shared hosting that any
time a new lucee site is added, all the other lucee sites are down for half
an hour!

luke

It was, and of course it depends on their set up, but Lucee normally
installs the mod_cfml connector for Apache, which means this isn’t required.

TomOn Friday, July 3, 2015 at 3:05:36 PM UTC+1, Luke wrote:

and was told by the hosting company ( host media ) that they have to do
this in what they call off-peak hours because setting up a new lucee site
means restarting the lucee service;

"Once we have added your domain to lucee configuration file, we will have

to restart the lucee service and it will take about a half hour to complete
the process. During the restart process, all the Lucee enabled domains on
the shared server will be down. In order to avoid this, we are scheduled to
perform the task during off peak hours. Hope you understand the situation.
We will update you once the task has been completed. Your patience is much
appreciated."

is this really true?

Even if they are using mod_ajp, it is still possible to do this without
restarting Lucee, you can do it via the Tomcat Host Manager, which is how
we do it.

Also, it sounds like they have a bad configuration if it is taking 30
minutes for their server to restart. There was a thread in this group a
couple of months ago about this and if they are using Tomcat (I’m assuming
they are) then they need to make the adjustments to their configuration
that were suggested there.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 3 July 2015 at 15:31, Tom Chiverton <@Tom_Chiverton> wrote:

On Friday, July 3, 2015 at 3:05:36 PM UTC+1, Luke wrote:

and was told by the hosting company ( host media ) that they have to do
this in what they call off-peak hours because setting up a new lucee site
means restarting the lucee service;

"Once we have added your domain to lucee configuration file, we will have

to restart the lucee service and it will take about a half hour to complete
the process. During the restart process, all the Lucee enabled domains on
the shared server will be down. In order to avoid this, we are scheduled to
perform the task during off peak hours. Hope you understand the situation.
We will update you once the task has been completed. Your patience is much
appreciated."

is this really true?

It was, and of course it depends on their set up, but Lucee normally
installs the mod_cfml connector for Apache, which means this isn’t required.

Tom


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/f7b785d0-5fa0-4bc5-80f8-43f8495a9a85%40googlegroups.com
https://groups.google.com/d/msgid/lucee/f7b785d0-5fa0-4bc5-80f8-43f8495a9a85%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

Yes Nando that is true if you are only managing a couple of websites or
only change it now and again but when you host hundreds or even thousands
sites over many servers then it is a different story. Integration with
cPanel will increase the exposure of Lucee and CFML.On Monday, 6 July 2015 12:52:22 UTC+1, Nando Breiter wrote:

Not sure this is even worth 2 cents, but it’s dead easy to add an alias or
a new host to a tomcat server.xml file. I’m sure others might find value in
a tool that does that for you, but for me, a text editor is more than
sufficient.

Aria Media Sagl
Via Rompada 40
6987 Caslano
Switzerland

+41 (0)91 600 9601
+41 (0)76 303 4477 cell
skype: ariamedia

On Mon, Jul 6, 2015 at 12:50 PM, Jonathon Lucas <jona...@hostmedia.co.uk <javascript:>> wrote:

The Railo4cPanel was a great start which Jordan (Vivio) created but the
issue is the folder structure that cPanel uses for its addon domain
feature. With cPanel it is possible to create web roots inside the default
web root. For example:

/public_html/ --(Default site: example.com)
/example2.com/ --(Addon domain outside of default web root)
/public_html/example2.com/ --(Addon domain in default web root)
/public_html/example2.com/example3.com/ --(Addon domain in default web
root and an addon domain root)

All of the above is possible with cPanel so when the entries are created
in Tomcat it needs to check the location and if it is within the web root
it needs to apply an ‘Alias’ to the tomcat entry to the default website. If
it is outside of the default web root (/public_html/) then it needs to
create a new entry in the Tomcat service.

I have spent a little bit of time planning/playing about with this and
should be possible but needs more development.

At the moment Vivio use the Railo4cPanel still (as far as I know) but for
one of their customers to have multi domains they turn off the addon domain
support and the customer needs to buy a reseller hosting package.

Love to hear other peoples insight into this.

Cheers!

On Monday, 6 July 2015 11:37:10 UTC+1, Mark Drew wrote:

What does anyone have to do to make it work in cPanel? Just asking, as
when I was part of the team, these things would get asked but despite
appearances maybe the best placed people to say this are the ones using
cPanel (rather than the ones not using it!)

For example, whilst at Railo, I never used cPanel (as a hoster) so it
would really need to come from the community on what is needed to be done
and how.

Know what I mean?

Regards

Mark Drew

‘Luke’ via Lucee
6 July 2015 11:34
thanks jonathon

as it turns out i don’t think it was anywhere near half hour - at least
i didn’t notice it and i was checking every now and then!

i hope lucee replies and follows things up, i agree with you - with
cpanel being so widely used things need to be made to work as best as
possible. it’ll benefit everyone - lucee, lucee users and hosting providers

luke

On Monday, July 6, 2015 at 10:56:14 AM UTC+1, Jonathon Lucas wrote:

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/f08b7866-cc4c-4a9c-873f-77450b804109%40googlegroups.com
https://groups.google.com/d/msgid/lucee/f08b7866-cc4c-4a9c-873f-77450b804109%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
jona...@hostmedia.co.uk
6 July 2015 10:56
Hi Luke,

The restart is estimated at 30min to be on the safe side and a lot of
the process is the team checking to ensure everything is done correctly. I
have emailed the Lucee team a couple times regarding full cPanel + Lucee
integration but never got a reply from them. This is something that should
be on their high priority list as this would increase the amount of hosting
companies offering Lucee on their services. If more companies offer Lucee
CFML then more people may try using CFML instead of the standard server
setups of PHP/.NET etc.
It would be great if the Railo4cPanel (with mod_cfml) was extended to
work fully with cPanel’s multiply domain system/folder structure but sorry
to say it doesn’t. To have cPanel + Lucee running with all features this
reboot is still required - that is of course if someone knows a better way
then please do share :slight_smile: always happy to improve the service to give
customers the best possible!

Thanks and let us know if you have any questions.

On Friday, 3 July 2015 15:05:36 UTC+1, Luke wrote:

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/32e0f569-4be7-4934-a411-f02d39c5b1d0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/32e0f569-4be7-4934-a411-f02d39c5b1d0%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
‘Luke’ via Lucee
3 July 2015 15:05
hi

i have a few sites on shared hosting using lucee. today i wanted to set
up a subdomain for a test site, and was told by the hosting company ( host
media ) that they have to do this in what they call off-peak hours because
setting up a new lucee site means restarting the lucee service;

is this really true? we were on railo before and i don’t remember this,
i remember setting up new sub domains and new sites with railo really
quickly. is this a change in how lucee does things? or are the hosting
company trying to blag me? they did have some trouble after the railo to
lucee migration …

if thats true, its really bad for those of us on shared hosting that any
time a new lucee site is added, all the other lucee sites are down for half
an hour!

luke


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/79601dd6-7f88-4034-80fc-1d5ec04e3c61%40googlegroups.com
https://groups.google.com/d/msgid/lucee/79601dd6-7f88-4034-80fc-1d5ec04e3c61%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/c5beed24-0018-4b54-b948-f6c3e3b52d8c%40googlegroups.com
https://groups.google.com/d/msgid/lucee/c5beed24-0018-4b54-b948-f6c3e3b52d8c%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

thanks jonathon

as it turns out i don’t think it was anywhere near half hour - at least i
didn’t notice it and i was checking every now and then!

i hope lucee replies and follows things up, i agree with you - with cpanel
being so widely used things need to be made to work as best as possible.
it’ll benefit everyone - lucee, lucee users and hosting providers

lukeOn Monday, July 6, 2015 at 10:56:14 AM UTC+1, Jonathon Lucas wrote:

Hi Luke,

The restart is estimated at 30min to be on the safe side and a lot of the
process is the team checking to ensure everything is done correctly. I have
emailed the Lucee team a couple times regarding full cPanel + Lucee
integration but never got a reply from them. This is something that should
be on their high priority list as this would increase the amount of hosting
companies offering Lucee on their services. If more companies offer Lucee
CFML then more people may try using CFML instead of the standard server
setups of PHP/.NET etc.
It would be great if the Railo4cPanel (with mod_cfml) was extended to work
fully with cPanel’s multiply domain system/folder structure but sorry to
say it doesn’t. To have cPanel + Lucee running with all features this
reboot is still required - that is of course if someone knows a better way
then please do share :slight_smile: always happy to improve the service to give
customers the best possible!

Thanks and let us know if you have any questions.

On Friday, 3 July 2015 15:05:36 UTC+1, Luke wrote:

hi

i have a few sites on shared hosting using lucee. today i wanted to set
up a subdomain for a test site, and was told by the hosting company ( host
media ) that they have to do this in what they call off-peak hours because
setting up a new lucee site means restarting the lucee service;

"Once we have added your domain to lucee configuration file, we will have

to restart the lucee service and it will take about a half hour to complete
the process. During the restart process, all the Lucee enabled domains on
the shared server will be down. In order to avoid this, we are scheduled to
perform the task during off peak hours. Hope you understand the situation.
We will update you once the task has been completed. Your patience is much
appreciated."

is this really true? we were on railo before and i don’t remember this, i
remember setting up new sub domains and new sites with railo really
quickly. is this a change in how lucee does things? or are the hosting
company trying to blag me? they did have some trouble after the railo to
lucee migration …

if thats true, its really bad for those of us on shared hosting that any
time a new lucee site is added, all the other lucee sites are down for half
an hour!

luke

The Railo4cPanel was a great start which Jordan (Vivio) created but the
issue is the folder structure that cPanel uses for its addon domain
feature. With cPanel it is possible to create web roots inside the default
web root. For example:

/public_html/ --(Default site: example.com)
/example2.com/ --(Addon domain outside of default web root)
/public_html/example2.com/ --(Addon domain in default web root)
/public_html/example2.com/example3.com/ --(Addon domain in default web root
and an addon domain root)

All of the above is possible with cPanel so when the entries are created in
Tomcat it needs to check the location and if it is within the web root it
needs to apply an ‘Alias’ to the tomcat entry to the default website. If it
is outside of the default web root (/public_html/) then it needs to create
a new entry in the Tomcat service.

I have spent a little bit of time planning/playing about with this and
should be possible but needs more development.

At the moment Vivio use the Railo4cPanel still (as far as I know) but for
one of their customers to have multi domains they turn off the addon domain
support and the customer needs to buy a reseller hosting package.

Love to hear other peoples insight into this.

Cheers!On Monday, 6 July 2015 11:37:10 UTC+1, Mark Drew wrote:

What does anyone have to do to make it work in cPanel? Just asking, as
when I was part of the team, these things would get asked but despite
appearances maybe the best placed people to say this are the ones using
cPanel (rather than the ones not using it!)

For example, whilst at Railo, I never used cPanel (as a hoster) so it
would really need to come from the community on what is needed to be done
and how.

Know what I mean?

Regards

Mark Drew

‘Luke’ via Lucee <javascript:>
6 July 2015 11:34
thanks jonathon

as it turns out i don’t think it was anywhere near half hour - at least i
didn’t notice it and i was checking every now and then!

i hope lucee replies and follows things up, i agree with you - with cpanel
being so widely used things need to be made to work as best as possible.
it’ll benefit everyone - lucee, lucee users and hosting providers

luke

On Monday, July 6, 2015 at 10:56:14 AM UTC+1, Jonathon Lucas wrote:

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/f08b7866-cc4c-4a9c-873f-77450b804109%40googlegroups.com
https://groups.google.com/d/msgid/lucee/f08b7866-cc4c-4a9c-873f-77450b804109%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
jona...@hostmedia.co.uk <javascript:>
6 July 2015 10:56
Hi Luke,

The restart is estimated at 30min to be on the safe side and a lot of the
process is the team checking to ensure everything is done correctly. I have
emailed the Lucee team a couple times regarding full cPanel + Lucee
integration but never got a reply from them. This is something that should
be on their high priority list as this would increase the amount of hosting
companies offering Lucee on their services. If more companies offer Lucee
CFML then more people may try using CFML instead of the standard server
setups of PHP/.NET etc.
It would be great if the Railo4cPanel (with mod_cfml) was extended to work
fully with cPanel’s multiply domain system/folder structure but sorry to
say it doesn’t. To have cPanel + Lucee running with all features this
reboot is still required - that is of course if someone knows a better way
then please do share :slight_smile: always happy to improve the service to give
customers the best possible!

Thanks and let us know if you have any questions.

On Friday, 3 July 2015 15:05:36 UTC+1, Luke wrote:

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/32e0f569-4be7-4934-a411-f02d39c5b1d0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/32e0f569-4be7-4934-a411-f02d39c5b1d0%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
‘Luke’ via Lucee <javascript:>
3 July 2015 15:05
hi

i have a few sites on shared hosting using lucee. today i wanted to set up
a subdomain for a test site, and was told by the hosting company ( host
media ) that they have to do this in what they call off-peak hours because
setting up a new lucee site means restarting the lucee service;

is this really true? we were on railo before and i don’t remember this, i
remember setting up new sub domains and new sites with railo really
quickly. is this a change in how lucee does things? or are the hosting
company trying to blag me? they did have some trouble after the railo to
lucee migration …

if thats true, its really bad for those of us on shared hosting that any
time a new lucee site is added, all the other lucee sites are down for half
an hour!

luke


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/79601dd6-7f88-4034-80fc-1d5ec04e3c61%40googlegroups.com
https://groups.google.com/d/msgid/lucee/79601dd6-7f88-4034-80fc-1d5ec04e3c61%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Not sure this is even worth 2 cents, but it’s dead easy to add an alias or
a new host to a tomcat server.xml file. I’m sure others might find value in
a tool that does that for you, but for me, a text editor is more than
sufficient.

Aria Media Sagl
Via Rompada 40
6987 Caslano
Switzerland

+41 (0)91 600 9601
+41 (0)76 303 4477 cell
skype: ariamediaOn Mon, Jul 6, 2015 at 12:50 PM, Jonathon Lucas <@Jonathon_Lucas> wrote:

The Railo4cPanel was a great start which Jordan (Vivio) created but the
issue is the folder structure that cPanel uses for its addon domain
feature. With cPanel it is possible to create web roots inside the default
web root. For example:

/public_html/ --(Default site: example.com)
/example2.com/ --(Addon domain outside of default web root)
/public_html/example2.com/ --(Addon domain in default web root)
/public_html/example2.com/example3.com/ --(Addon domain in default web
root and an addon domain root)

All of the above is possible with cPanel so when the entries are created
in Tomcat it needs to check the location and if it is within the web root
it needs to apply an ‘Alias’ to the tomcat entry to the default website. If
it is outside of the default web root (/public_html/) then it needs to
create a new entry in the Tomcat service.

I have spent a little bit of time planning/playing about with this and
should be possible but needs more development.

At the moment Vivio use the Railo4cPanel still (as far as I know) but for
one of their customers to have multi domains they turn off the addon domain
support and the customer needs to buy a reseller hosting package.

Love to hear other peoples insight into this.

Cheers!

On Monday, 6 July 2015 11:37:10 UTC+1, Mark Drew wrote:

What does anyone have to do to make it work in cPanel? Just asking, as
when I was part of the team, these things would get asked but despite
appearances maybe the best placed people to say this are the ones using
cPanel (rather than the ones not using it!)

For example, whilst at Railo, I never used cPanel (as a hoster) so it
would really need to come from the community on what is needed to be done
and how.

Know what I mean?

Regards

Mark Drew

‘Luke’ via Lucee
6 July 2015 11:34
thanks jonathon

as it turns out i don’t think it was anywhere near half hour - at least i
didn’t notice it and i was checking every now and then!

i hope lucee replies and follows things up, i agree with you - with
cpanel being so widely used things need to be made to work as best as
possible. it’ll benefit everyone - lucee, lucee users and hosting providers

luke

On Monday, July 6, 2015 at 10:56:14 AM UTC+1, Jonathon Lucas wrote:

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/f08b7866-cc4c-4a9c-873f-77450b804109%40googlegroups.com
https://groups.google.com/d/msgid/lucee/f08b7866-cc4c-4a9c-873f-77450b804109%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
jona...@hostmedia.co.uk
6 July 2015 10:56
Hi Luke,

The restart is estimated at 30min to be on the safe side and a lot of the
process is the team checking to ensure everything is done correctly. I have
emailed the Lucee team a couple times regarding full cPanel + Lucee
integration but never got a reply from them. This is something that should
be on their high priority list as this would increase the amount of hosting
companies offering Lucee on their services. If more companies offer Lucee
CFML then more people may try using CFML instead of the standard server
setups of PHP/.NET etc.
It would be great if the Railo4cPanel (with mod_cfml) was extended to
work fully with cPanel’s multiply domain system/folder structure but sorry
to say it doesn’t. To have cPanel + Lucee running with all features this
reboot is still required - that is of course if someone knows a better way
then please do share :slight_smile: always happy to improve the service to give
customers the best possible!

Thanks and let us know if you have any questions.

On Friday, 3 July 2015 15:05:36 UTC+1, Luke wrote:

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/32e0f569-4be7-4934-a411-f02d39c5b1d0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/32e0f569-4be7-4934-a411-f02d39c5b1d0%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
‘Luke’ via Lucee
3 July 2015 15:05
hi

i have a few sites on shared hosting using lucee. today i wanted to set
up a subdomain for a test site, and was told by the hosting company ( host
media ) that they have to do this in what they call off-peak hours because
setting up a new lucee site means restarting the lucee service;

is this really true? we were on railo before and i don’t remember this, i
remember setting up new sub domains and new sites with railo really
quickly. is this a change in how lucee does things? or are the hosting
company trying to blag me? they did have some trouble after the railo to
lucee migration …

if thats true, its really bad for those of us on shared hosting that any
time a new lucee site is added, all the other lucee sites are down for half
an hour!

luke


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/79601dd6-7f88-4034-80fc-1d5ec04e3c61%40googlegroups.com
https://groups.google.com/d/msgid/lucee/79601dd6-7f88-4034-80fc-1d5ec04e3c61%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/c5beed24-0018-4b54-b948-f6c3e3b52d8c%40googlegroups.com
https://groups.google.com/d/msgid/lucee/c5beed24-0018-4b54-b948-f6c3e3b52d8c%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

Unless things have changed in Tomcat it didn’t work before when we were
playing around with it. The service wouldn’t start due to errors.

It is annoying we can’t turn off that feature as it would solve a lot
issues for our Lucee customers and even standard hosting customers as it
would be less confusing on where to put the the addon domain path.On Monday, 6 July 2015 13:46:11 UTC+1, Tom Chiverton wrote:

On Monday, July 6, 2015 at 1:21:53 PM UTC+1, Luke wrote:

would it be easier to just make cpanel not allow new domains/sub domains
for lucee accounts to be added inside an existing domain root folder?

Unless that’s an option I don’t know cPanel has, and you expect hosting
provides to toggle it on for Lucee customers (thus making them special), or
otherwise change their entire hosting setup, no, it’s not going to be
easier :slight_smile:

Although I dislike it too, it’s “how it is done”.

Does Tomcat have an issue with nested web root folders like

sitea.com/WEB-INF
sitea.com/siteb.com/WEB-INF

then ?
I’d naively expect that to Just Work ?

Tom

The sites created under the main site are all owned by the same user, so it’s not a security issue, just a pain for Tomcat contexts because of the nesting.

-Jordan----- Original Message -----
From: “Mark Drew” <@Mark_Drew>
To: lucee@googlegroups.com
Sent: Monday, July 6, 2015 5:51:51 AM
Subject: Re: [Lucee] Re: adding a new lucee site on shared hosting causes all other lucee sites to go down for half an hour?

Sounds like an utter security issue to me!

Mark Drew

  • Sent by typing with my thumbs.

On 6 Jul 2015, at 13:46, Tom Chiverton <@Tom_Chiverton> wrote:

On Monday, July 6, 2015 at 1:21:53 PM UTC+1, Luke wrote:
would it be easier to just make cpanel not allow new domains/sub domains for lucee accounts to be added inside an existing domain root folder?

Unless that’s an option I don’t know cPanel has, and you expect hosting provides to toggle it on for Lucee customers (thus making them special), or otherwise change their entire hosting setup, no, it’s not going to be easier :slight_smile:

Although I dislike it too, it’s “how it is done”.

Does Tomcat have an issue with nested web root folders like

sitea.com/WEB-INF
sitea.com/siteb.com/WEB-INF

then ?
I’d naively expect that to Just Work ?

Tom

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/05c91519-4d12-4668-8410-8bfd5d2f301c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/765A109A-004F-488B-95D2-1191C3FCFE7F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hi Luke,

The restart is estimated at 30min to be on the safe side and a lot of the
process is the team checking to ensure everything is done correctly. I have
emailed the Lucee team a couple times regarding full cPanel + Lucee
integration but never got a reply from them. This is something that should
be on their high priority list as this would increase the amount of hosting
companies offering Lucee on their services. If more companies offer Lucee
CFML then more people may try using CFML instead of the standard server
setups of PHP/.NET etc.
It would be great if the Railo4cPanel (with mod_cfml) was extended to work
fully with cPanel’s multiply domain system/folder structure but sorry to
say it doesn’t. To have cPanel + Lucee running with all features this
reboot is still required - that is of course if someone knows a better way
then please do share :slight_smile: always happy to improve the service to give
customers the best possible!

Thanks and let us know if you have any questions.On Friday, 3 July 2015 15:05:36 UTC+1, Luke wrote:

hi

i have a few sites on shared hosting using lucee. today i wanted to set up
a subdomain for a test site, and was told by the hosting company ( host
media ) that they have to do this in what they call off-peak hours because
setting up a new lucee site means restarting the lucee service;

"Once we have added your domain to lucee configuration file, we will have

to restart the lucee service and it will take about a half hour to complete
the process. During the restart process, all the Lucee enabled domains on
the shared server will be down. In order to avoid this, we are scheduled to
perform the task during off peak hours. Hope you understand the situation.
We will update you once the task has been completed. Your patience is much
appreciated."

is this really true? we were on railo before and i don’t remember this, i
remember setting up new sub domains and new sites with railo really
quickly. is this a change in how lucee does things? or are the hosting
company trying to blag me? they did have some trouble after the railo to
lucee migration …

if thats true, its really bad for those of us on shared hosting that any
time a new lucee site is added, all the other lucee sites are down for half
an hour!

luke

Unless that’s an option I don’t know cPanel has, and you expect hosting
provides to toggle it on for Lucee customers (thus making them special), or
otherwise change their entire hosting setup, no, it’s not going to be
easier :slight_smile:

Although I dislike it too, it’s “how it is done”.

Does Tomcat have an issue with nested web root folders like

sitea.com/WEB-INF
sitea.com/siteb.com/WEB-INF

then ?
I’d naively expect that to Just Work ?

TomOn Monday, July 6, 2015 at 1:21:53 PM UTC+1, Luke wrote:

would it be easier to just make cpanel not allow new domains/sub domains
for lucee accounts to be added inside an existing domain root folder?

What does anyone have to do to make it work in cPanel? Just asking, as
when I was part of the team, these things would get asked but despite
appearances maybe the best placed people to say this are the ones using
cPanel (rather than the ones not using it!)

For example, whilst at Railo, I never used cPanel (as a hoster) so it
would really need to come from the community on what is needed to be
done and how.

Know what I mean?

Regards

Mark Drew> ‘Luke’ via Lucee mailto:lucee@googlegroups.com

6 July 2015 11:34
thanks jonathon

as it turns out i don’t think it was anywhere near half hour - at
least i didn’t notice it and i was checking every now and then!

i hope lucee replies and follows things up, i agree with you - with
cpanel being so widely used things need to be made to work as best as
possible. it’ll benefit everyone - lucee, lucee users and hosting
providers

luke

On Monday, July 6, 2015 at 10:56:14 AM UTC+1, Jonathon Lucas wrote:

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/f08b7866-cc4c-4a9c-873f-77450b804109%40googlegroups.com
https://groups.google.com/d/msgid/lucee/f08b7866-cc4c-4a9c-873f-77450b804109%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.
@Jonathon_Lucas mailto:Jonathon_Lucas
6 July 2015 10:56
Hi Luke,

The restart is estimated at 30min to be on the safe side and a lot of
the process is the team checking to ensure everything is done
correctly. I have emailed the Lucee team a couple times regarding full
cPanel + Lucee integration but never got a reply from them. This is
something that should be on their high priority list as this would
increase the amount of hosting companies offering Lucee on their
services. If more companies offer Lucee CFML then more people may try
using CFML instead of the standard server setups of PHP/.NET etc.
It would be great if the Railo4cPanel (with mod_cfml) was extended to
work fully with cPanel’s multiply domain system/folder structure but
sorry to say it doesn’t. To have cPanel + Lucee running with all
features this reboot is still required - that is of course if someone
knows a better way then please do share :slight_smile: always happy to improve the
service to give customers the best possible!

Thanks and let us know if you have any questions.

On Friday, 3 July 2015 15:05:36 UTC+1, Luke wrote:

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/32e0f569-4be7-4934-a411-f02d39c5b1d0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/32e0f569-4be7-4934-a411-f02d39c5b1d0%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.
‘Luke’ via Lucee mailto:lucee@googlegroups.com
3 July 2015 15:05
hi

i have a few sites on shared hosting using lucee. today i wanted to
set up a subdomain for a test site, and was told by the hosting
company ( host media ) that they have to do this in what they call
off-peak hours because setting up a new lucee site means restarting
the lucee service;

is this really true? we were on railo before and i don’t remember
this, i remember setting up new sub domains and new sites with railo
really quickly. is this a change in how lucee does things? or are the
hosting company trying to blag me? they did have some trouble after
the railo to lucee migration …

if thats true, its really bad for those of us on shared hosting that
any time a new lucee site is added, all the other lucee sites are down
for half an hour!

luke


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/79601dd6-7f88-4034-80fc-1d5ec04e3c61%40googlegroups.com
https://groups.google.com/d/msgid/lucee/79601dd6-7f88-4034-80fc-1d5ec04e3c61%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

Sounds like an utter security issue to me!

Mark Drew

  • Sent by typing with my thumbs.> On 6 Jul 2015, at 13:46, Tom Chiverton <@Tom_Chiverton> wrote:

On Monday, July 6, 2015 at 1:21:53 PM UTC+1, Luke wrote:
would it be easier to just make cpanel not allow new domains/sub domains for lucee accounts to be added inside an existing domain root folder?

Unless that’s an option I don’t know cPanel has, and you expect hosting provides to toggle it on for Lucee customers (thus making them special), or otherwise change their entire hosting setup, no, it’s not going to be easier :slight_smile:

Although I dislike it too, it’s “how it is done”.

Does Tomcat have an issue with nested web root folders like

sitea.com/WEB-INF
sitea.com/siteb.com/WEB-INF

then ?
I’d naively expect that to Just Work ?

Tom

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/05c91519-4d12-4668-8410-8bfd5d2f301c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark, your suggestion is basically what we’ve been recommending: Use either a place-holder domain or static site for the primary domain, then set up your CFML sites as your add-on domains. That way there’s no context overlap with the primary domain because it doesn’t have or need a context.

But, as Jonathon points out, this is not easy to change once you have things set up, and it’s confusing for folks who don’t understand contexts yet. The improvements Paul has made in mod_cfml 1.1 will help a lot (with it’s alias support and vdir support), and getting the Railo4cPanel project updated to Lucee4cPanel is on my shortlist after an installer update. There are several hosting companies using Railo4cPanel, so it needs to get done soon. I’m still bogged down with Vivio projects though, so it will be a little while longer.

Github repo is here if anyone needs it done faster than I can get to it:

-Jordan----- Original Message -----
From: “Jonathon Lucas” <@Jonathon_Lucas>
To: lucee@googlegroups.com
Sent: Monday, July 6, 2015 6:19:27 AM
Subject: Re: [Lucee] Re: adding a new lucee site on shared hosting causes all other lucee sites to go down for half an hour?

It’s not an option in cPanel to adjust this for customers. Also we can’t
tell customers not to do it how they want it otherwise someone could say
“why does cpanel allow it when I have to do it for Lucee like this”. This
is when the Tomcat connector needs to be able to handle all of this
automatically.

On Monday, 6 July 2015 14:14:43 UTC+1, Mark Drew wrote:

Could you not just make a fake (unavailable and redirected) main domain
and then all the sub domains have to be under it, for example:

markdrew.co.uk - > www.markdrew.co.uk

www.markdrew.co.uk → /domains/markdrew.co.uk/www.markdrew.co.uk
stuff.markdrew.co.uk → /domains/markdrew.co.uk/stuff.markdrew.co.uk
nonsense.markdrew.co.uk → /domains/markdrew.co.uk/nonsense.markdrew.co.uk

Although I am sure you have already thought of this.

MD

Jonathon Lucas wrote:

It is annoying we can’t turn off that feature as it would solve a lot
issues for our Lucee customers and even standard hosting customers as
it would be less confusing on where to put the the addon domain path.


You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/0abc2142-a552-4585-b270-19e5101b541a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Could you not just make a fake (unavailable and redirected) main
domain and then all the sub domains have to be under it, for example:

markdrew.co.uk - > www.markdrew.co.uk

www.markdrew.co.uk → /domains/markdrew.co.uk/www.markdrew.co.uk
stuff.markdrew.co.uk → /domains/markdrew.co.uk/stuff.markdrew.co.uk
nonsense.markdrew.co.uk → /domains/markdrew.co.uk/nonsense.markdrew.co.uk

Although I am sure you have already thought of this.

MD

Jonathon Lucas wrote:>

It is annoying we can’t turn off that feature as it would solve a lot
issues for our Lucee customers and even standard hosting customers as
it would be less confusing on where to put the the addon domain path.

It’s not an option in cPanel to adjust this for customers. Also we can’t
tell customers not to do it how they want it otherwise someone could say
“why does cpanel allow it when I have to do it for Lucee like this”. This
is when the Tomcat connector needs to be able to handle all of this
automatically.On Monday, 6 July 2015 14:14:43 UTC+1, Mark Drew wrote:

Could you not just make a fake (unavailable and redirected) main domain
and then all the sub domains have to be under it, for example:

markdrew.co.uk - > www.markdrew.co.uk

www.markdrew.co.uk → /domains/markdrew.co.uk/www.markdrew.co.uk
stuff.markdrew.co.uk → /domains/markdrew.co.uk/stuff.markdrew.co.uk
nonsense.markdrew.co.uk → /domains/markdrew.co.uk/nonsense.markdrew.co.uk

Although I am sure you have already thought of this.

MD

Jonathon Lucas wrote:

It is annoying we can’t turn off that feature as it would solve a lot
issues for our Lucee customers and even standard hosting customers as
it would be less confusing on where to put the the addon domain path.

thank you both, i will point the hosting company to this thread

thanks again

luke

would it be easier to just make cpanel not allow new domains/sub domains
for lucee accounts to be added inside an existing domain root folder?

i never liked that feature, doesn’t make sense to me to put a new
domain/sub domain inside a folder of an existing one

you could load the example2.com site by going to example.com/example2.com (
because example2.com is just a folder inside /public_html/ for example.com
) - but you’d have the lucee settings from example.com - so its pointless

then you don’t need to check, just create a new entry in the tomcat service

Sure it might be? I can get the WEB-INF for a different site from
sitea.com/siteb.com/WEB-INF
and I bet it isn’t protected by most IP restrictions for things like the
Lucee admin either, because they expect to be in ‘/lucee-admin’ not
‘/siteb.com/lucee-admin’, but I’ve not looked at it extensively.

I’d want to try it more, but it looks like standing up a stand-alone cPanel
is going to take longer than I have.

TomOn Monday, July 6, 2015 at 6:57:29 PM UTC+1, Jordan Michaels wrote:

The sites created under the main site are all owned by the same user, so
it’s not a security issue, just a pain for Tomcat contexts because of the
nesting.

Are there any updates to the Lucee4cPanel project? I’m also a HostMedia
customer using Lucee and ran into this problem when adding a subdomain. I
notice that the last post on this topic is almost exactly a year old. I
also noticed that last commits to github for this project (GitHub - viviotech/Lucee4cPanel: The Railo4cPanel project makes it easy for any hosting company to offer Railo as a value-added service to their cPanel services. Set your hosting company apart from the hosting crowd and give your clients the gift of the open-source CFML language!)
are four years old (ugh). Is there any hope of getting this up and
working anytime soon? I’d volunteer to help work on Lucee4cPanel myself,
but I’m afraid I don’t know enough.

Cheers,
ChrisOn Tuesday, July 7, 2015 at 3:17:26 AM UTC-5, Tom Chiverton wrote:

On Monday, July 6, 2015 at 6:57:29 PM UTC+1, Jordan Michaels wrote:

The sites created under the main site are all owned by the same user, so
it’s not a security issue, just a pain for Tomcat contexts because of the
nesting.

Sure it might be? I can get the WEB-INF for a different site from
sitea.com/siteb.com/WEB-INF
and I bet it isn’t protected by most IP restrictions for things like the
Lucee admin either, because they expect to be in ‘/lucee-admin’ not ‘/
siteb.com/lucee-admin’, but I’ve not looked at it extensively.

I’d want to try it more, but it looks like standing up a stand-alone
cPanel is going to take longer than I have.

Tom