First lucee configuration

58 views
Skip to first unread message

matteo-m...@outlook.it

unread,
Jul 10, 2017, 2:52:46 PM7/10/17
to mod_cfml
Sorry, but this is my first Lucee configuration and I would some informations about mod_cfml
I have installed Lucee 5 with mod_cfml on ubuntu 16.04 plus last version of  Apache. In ROOT directory I have a Mura cms  (../webapps/ROOT/mcms).
But I do not understand how I configure vhost in apache and server.xml in Tomcat.
Could you help me?
Thank in advanced

Jordan Michaels

unread,
Jul 10, 2017, 4:48:39 PM7/10/17
to mod cfml
Hi Matteo,

Happy to help! Can you tell us a little about what you're trying to do? Just set up a single domain that points to your Mura install? Or are you wanting to add multiple domains?

Just need to know a little more about your goals before we can help you get there.

Talk to you soon!

--
Kind regards,
Jordan Michaels
Vivio Technologies
--
You received this message because you are subscribed to the Google Groups "mod_cfml" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod_cfml+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

matteo-m...@outlook.it

unread,
Jul 10, 2017, 6:49:09 PM7/10/17
to mod_cfml
Thank Jordan for your reply,
In this moment I have one domain, but I could have other domain to add.

Jordan Michaels

unread,
Jul 10, 2017, 6:58:49 PM7/10/17
to mod cfml
Hi Matteo,

Okay. So, if all you're doing is configuring a second domain, you just need to add your new domain to Apache. mod_cfml will then copy the configuration it sees from your Apache config and import them into Tomcat. If you want to add your new site's config to Tomcat manually (without the help of mod_cfml) you can edit your Tomcat server.xml file to add your new site config in a similar way that you did with Apache. There should be comments in the Tomcat server.xml file that tell you how if you installed Lucee using the Lucee installer.

Hope this helps!
> email to mod_cfml+u...@googlegroups.com <javascript:>.

matteo-m...@outlook.it

unread,
Jul 11, 2017, 6:32:05 AM7/11/17
to mod_cfml
Hi Jordan,
it is very simple!
But I have a little problem. Apache does not serve index.cfm as default page, and in Ubuntu 16 there is not a httpd.conf. How can I fix it?


Il giorno lunedì 10 luglio 2017 22:48:39 UTC+2, Jordan Michaels ha scritto:

Jordan Michaels

unread,
Jul 11, 2017, 2:41:56 PM7/11/17
to mod cfml
Hi Matteo,

Adding a new site to Ubuntu by hand requires that you are comfortable using the Linux command-line and editing files.

You can find the configuration files for Apache on Ubuntu 16 in the /etc/apache2/ directory. If you look in that directory, you'll see a directory named "sites-available/". Each site that you create on your Ubuntu box will have its own configuration file within that directory. The default Ubuntu install of Apache provides a template that you can copy and edit to create new sites on your system. With that in mind, you would add a new site to your system with the following commands:

$ cd /etc/apache2/sites-available/
$ sudo cp 000-default.conf mysite.com.conf
$ sudo vim mysite.com.conf

The above command uses the VIM editor to edit your site's config file. If you're not comfortable with VIM, you can use a different editor like nano:

$ sudo nano mysite.com.conf

... or pico:

$ sudo pico mysite.com.conf

Edit your site's configuration however you need to.... Once you've finished configuring your site, you'll need to run the following commands to enable your new site config within Apache.

$ sudo a2ensite mysite.com
$ sudo systemctl restart apache2.service

... and your new site's configuration will take effect. Here's the Ubuntu documentation on it if you need more details on that:
https://help.ubuntu.com/lts/serverguide/httpd.html

You might also consider running a control panel to do this kind of thing for you. I highly recommend VirtualMin, which is free, easy to use, and works well with Lucee. You can find installation instructions for VirtualMin on Ubuntu here:

https://www.virtualmin.com/documentation/installation/automated

We use and support VirtualMin ourselves here at Vivio, so I can say from experience that it works well!

Hope this helps.

--
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: matteo-m...@outlook.it
To: "mod cfml" <mod_...@googlegroups.com>
Sent: Tuesday, 11 July, 2017 03:32:05
Subject: Re: [mod_cfml] First lucee configuration

Hi Jordan,
it is very simple!
But I have a little problem. Apache does not serve index.cfm as default
page, and in Ubuntu 16 there is not a httpd.conf. How can I fix it?

Il giorno lunedì 10 luglio 2017 22:48:39 UTC+2, Jordan Michaels ha scritto:
>
> Hi Matteo,
>
> Happy to help! Can you tell us a little about what you're trying to do?
> Just set up a single domain that points to your Mura install? Or are you
> wanting to add multiple domains?
>
> Just need to know a little more about your goals before we can help you
> get there.
>
> Talk to you soon!
>
> --
> Kind regards,
> Jordan Michaels
> Vivio Technologies
>
> ----- Original Message -----
> From: matteo-m...@outlook.it <javascript:>
> To: "mod cfml" <mod_...@googlegroups.com <javascript:>>
> Sent: Monday, 10 July, 2017 07:20:11
> Subject: [mod_cfml] First lucee configuration
>
> Sorry, but this is my first Lucee configuration and I would some
> informations about mod_cfml
> I have installed Lucee 5 with mod_cfml on ubuntu 16.04 plus last version
> of Apache. In ROOT directory I have a Mura cms (../webapps/ROOT/mcms).
> But I do not understand how I configure vhost in apache and server.xml in
> Tomcat.
> Could you help me?
> Thank in advanced
>
> --
> You received this message because you are subscribed to the Google Groups
> "mod_cfml" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mod_cfml+u...@googlegroups.com <javascript:>.

matteo-m...@outlook.it

unread,
Jul 12, 2017, 6:12:51 PM7/12/17
to mod_cfml
I resolved questions by hand.
I added index.cfm in dir.conf and I installed mura with www-data permissions. I wrote ServerName & DocumentRoot in vhost.
Then I installed letsencrypt and now I have a ssl certificated on website managed from Apache instead Lucee and mura.
It is easy.
Thanks for your support!

Jordan Michaels

unread,
Jul 12, 2017, 7:08:43 PM7/12/17
to mod cfml
Hi Matteo,

Awesome. Glad you got it figured out my friend. Just say the word if there's anything else we can do to help!
Reply all
Reply to author
Forward
0 new messages