Prozesses on port 80 on *nix Systems needs specials privileges. Try to run the java webcontainer(tomcat) under root rights.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/4e85634b-bd9b-4ad5-9973-890026b9d157%40googlegroups.com.--
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.
Ubuntu is a hot mess as it does not conform to enterprise standards.the real question is, are you trying to get apache to respond and then connect to the request on lucee or do you just want it to run on port 80?
--
You received this message because you are subscribed to a topic in the Google Groups "Lucee" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/psw0ztoqQFQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/a699e9e7-9a60-4959-86b3-616cf7a19577%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to lucee+unsubscribe@googlegroups.com.
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 view this discussion on the web visit https://groups.google.com/d/msgid/lucee/4b274721-0059-4fb4-95ad-94017c894da9%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to lucee+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/a699e9e7-9a60-4959-86b3-616cf7a19577%40googlegroups.com.
No problem. I see you’re planning on using NGINX in front of Apache for balancing. Unless you need something specific with Apache, you could also accomplish the same directly through NGINX and skip using Apache altogether:
upstream lucee {
server 127.0.0.1:8888;
#add more server blocks here for load balancing
}
location ~* ^.+\.(jpe?g|jpg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|swf|avi|mp3|ttf|woff)$
{
root /var/www/mywebroot;
expires 30d;
}
location ~ \.(cfm|cfml|cfc|jsp|cfr)(.*)$ {
proxy_pass http://lucee;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
expires epoch;
}
Make sure to add your remote IP valve in server.xml:
<Valve className="org.apache.catalina.valves.RemoteIpValve" />
If you need rewrite rules there are a few online converters that will do a far job of converting those to NGINX syntax.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/fcc92d34-01cf-4552-85cb-c1aa9ae17b86%40googlegroups.com.