I have an AWS site running Apache, MySQL, Amazon Linux, and Lucee.
Everything works fine thanks to folks here!
Can someone tell me what I need to do to get my domain name to point to a
subdirectory within the Lucee root directory?
Here’s what I have:
Lucee root is:
Right now, my domain name “www.example.com” points to the Lucee root.
However, I want it to point to:
How do I set this up?
PS…my earlier post describes how my system is set up to have Lucee handle
port 80 requests as follows:
Just for the record, here’s what I did:
1.) Edited the “/opt/lucee/tomcat/conf/server.xml” file and changed
“<Connector port=“8080” protocol=“HTTP/1.1”…” to “80” instead of “8888”
2.) Edited the “/etc/httpd/conf/httpd.conf” file and changed “Listen 80”
to “Listen 8087” (to make Apache not listen to port 80 traffic) (link
3.) Created a new file “vhost.conf” in “/etc/httpd/conf.d/” (“cd
/etc/httpd/conf.d/” then “sudo touch vhost.conf”)
4.) Edit the new “vhost.conf” file and add the following into it and save:
CustomLog logs/www.example.com-access_log common
I literally put the above into the file, including the “example.com” stuff.
I might need to change that later, but it works so hey!
5.) Reboot the system with “sudo reboot” and everything works!