SUSE 12 and Apache connector

Hi All

I’m trying to install lucee on SUSE12;
Well, it’s actually already running and listening on port 8888, but the
apache config bit failed at the end as it couldn’t find the correct config
files/lib/modules etc.

So can anyone tell me what config I should be putting where on a SUSE
apache 2.4 install?
I;ve tried for instance, adding this to /etc/apache2/global.conf (also
tried default-server.conf), but no joy.

Allow from 127.0.0.1 ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2 # optional mappings #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1 #ProxyPassMatch ^/messagebroker/(.*)$ http://127.0.0.1:8888/messagebroker/$1 #ProxyPassMatch ^/flashservices/gateway(.*)$ http://127.0.0.1:8888/flashservices/gateway$1 #ProxyPassMatch ^/openamf/gateway/(.*)$ http://127.0.0.1:8888/openamf/gateway/$1 #ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1 ProxyPassReverse / http://127.0.0.1:8888/

YAST claims mod_proxy is installed.

Visiting the default Vhost index.cfm renders the file, but not executing
the CFML, so it’s obviously not proxying.

Anyone have a clue?

Ta!

T

First, let’s double check to make sure that mod_proxy and mod_proxy_html are installed. You can check this (usually) by running the Apache binary or control script with the -M switch.

Here’s a quick return of what I see on a Ubuntu system:======================================
$ sudo apache2ctl -M
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
Loaded Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
mime_module (shared)
mpm_event_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_http_module (shared)
setenvif_module (shared)
status_module (shared)

… and these are the two we’re lookin’ for:

proxy_module (shared)
proxy_http_module (shared)

Can you verify those exist on your system? If they do, then we know it’s a config issue.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tom King” <@Tom_King>
To: “Lucee” lucee@googlegroups.com
Sent: Monday, February 20, 2017 6:51:29 AM
Subject: [Lucee] SUSE 12 and Apache connector

Hi All

I’m trying to install lucee on SUSE12;
Well, it’s actually already running and listening on port 8888, but the
apache config bit failed at the end as it couldn’t find the correct config
files/lib/modules etc.

So can anyone tell me what config I should be putting where on a SUSE
apache 2.4 install?
I;ve tried for instance, adding this to /etc/apache2/global.conf (also
tried default-server.conf), but no joy.

Allow from 127.0.0.1 ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2 # optional mappings #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1 #ProxyPassMatch ^/messagebroker/(.*)$ http://127.0.0.1:8888/messagebroker/$1 #ProxyPassMatch ^/flashservices/gateway(.*)$ http://127.0.0.1:8888/flashservices/gateway$1 #ProxyPassMatch ^/openamf/gateway/(.*)$ http://127.0.0.1:8888/openamf/gateway/$1 #ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1 ProxyPassReverse / http://127.0.0.1:8888/

YAST claims mod_proxy is installed.

Visiting the default Vhost index.cfm renders the file, but not executing
the CFML, so it’s obviously not proxying.

Anyone have a clue?

Ta!

T


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/08adbb59-e812-4b5a-bd16-d98d14fedda6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Tom,

You can remove that entire portion:

<Proxy *>
Allow from 127.0.0.1

This portion is a holdover from old builds and is no longer necessary or present in the latest builds. Apologies for not noticing that sooner.–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tom King” <@Tom_King>
To: “Lucee” lucee@googlegroups.com
Sent: Monday, February 20, 2017 1:03:04 PM
Subject: Re: [Lucee] SUSE 12 and Apache connector

So adding:

Allow from 127.0.0.1 ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2 # optional mappings #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1 #ProxyPassMatch ^/messagebroker/(.*)$ http://127.0.0.1:8888/messagebroker/$1 #ProxyPassMatch ^/flashservices/gateway(.*)$ http://127.0.0.1:8888/flashservices/gateway$1 #ProxyPassMatch ^/openamf/gateway/(.*)$ http://127.0.0.1:8888/openamf/gateway/$1 #ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1 ProxyPassReverse / http://127.0.0.1:8888/

to /etc/apache2/httpd.conf,

Then doing:
service httpd restart

Gives:
Job for apache2.service failed because the control process exited with
error code. See “systemctl status apache2.service” and “journalctl -xe” for
details.

So there’s a syntax error somewhere. doing apachectl configtest gives:

AH00526: Syntax error on line 208 of /etc/apache2/httpd.conf:
Invalid command ‘Allow’, perhaps misspelled or defined by a module not
included in the server configuration

Thoughts?
Ta
T


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/4b7db624-3e32-4c5c-857a-becf71f90547%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Tom,

Okay. Does SuSE have a core apache config file, like /etc/apache2/apache2.conf? If so, try adding the proxy config to the bottom of that file. This is what the installer does on Ubuntu systems and obviously it works as expected. Don’t forget to restart Apache after you add the config!–
Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “jordan” <@Jordan_Michaels>
To: lucee@googlegroups.com
Sent: Monday, February 20, 2017 11:02:50 AM
Subject: Re: [Lucee] SUSE 12 and Apache connector

Hey Tom,

Okay. IIRC SuSE separates out it’s apache config in a similar way that ubuntu does, where each site has it’s own conf file.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tom King” <@Tom_King>
To: “Lucee” lucee@googlegroups.com
Sent: Monday, February 20, 2017 10:09:21 AM
Subject: Re: [Lucee] SUSE 12 and Apache connector

Hi Jordan: they’re there:

Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_prefork_module (static)
unixd_module (static)
systemd_module (static)
authz_host_module (shared)
actions_module (shared)
alias_module (shared)
authz_user_module (shared)
authn_file_module (shared)
auth_basic_module (shared)
authz_groupfile_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
include_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
status_module (shared)
userdir_module (shared)
asis_module (shared)
imagemap_module (shared)
proxy_module (shared)
proxy_ajp_module (shared)
proxy_connect_module (shared)
proxy_http_module (shared)
rewrite_module (shared)
ssl_module (shared)
php5_module (shared)
authn_core_module (shared)
authz_core_module (shared)
reqtimeout_module (shared)
socache_shmcb_module (shared)

T

On Monday, 20 February 2017 18:01:14 UTC, Jordan Michaels wrote:

First, let’s double check to make sure that mod_proxy and mod_proxy_html
are installed. You can check this (usually) by running the Apache binary or
control script with the -M switch.

Here’s a quick return of what I see on a Ubuntu system:

======================================
$ sudo apache2ctl -M
AH00558: apache2: Could not reliably determine the server’s fully
qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive
globally to suppress this message
Loaded Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
mime_module (shared)
mpm_event_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_http_module (shared)
setenvif_module (shared)
status_module (shared)

… and these are the two we’re lookin’ for:

proxy_module (shared)
proxy_http_module (shared)

Can you verify those exist on your system? If they do, then we know it’s a
config issue.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tom King” <t...@oxalto.co.uk <javascript:>>
To: “Lucee” <lu...@googlegroups.com <javascript:>>
Sent: Monday, February 20, 2017 6:51:29 AM
Subject: [Lucee] SUSE 12 and Apache connector

Hi All

I’m trying to install lucee on SUSE12;
Well, it’s actually already running and listening on port 8888, but the
apache config bit failed at the end as it couldn’t find the correct config
files/lib/modules etc.

So can anyone tell me what config I should be putting where on a SUSE
apache 2.4 install?
I;ve tried for instance, adding this to /etc/apache2/global.conf (also
tried default-server.conf), but no joy.

Allow from 127.0.0.1 ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2 # optional mappings #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1

#ProxyPassMatch http://127.0.0.1:8888/flex2gateway/$1#ProxyPassMatch
^/messagebroker/(.)$ http://127.0.0.1:8888/messagebroker/$1
#ProxyPassMatch http://127.0.0.1:8888/messagebroker/$1#ProxyPassMatch
^/flashservices/gateway(.
)$
http://127.0.0.1:8888/flashservices/gateway$1
#ProxyPassMatch
http://127.0.0.1:8888/flashservices/gateway$1#ProxyPassMatch
^/openamf/gateway/(.)$
http://127.0.0.1:8888/openamf/gateway/$1
#ProxyPassMatch http://127.0.0.1:8888/openamf/gateway/$1#ProxyPassMatch
^/rest/(.
)$ http://127.0.0.1:8888/rest/$1
ProxyPassReverse / http://127.0.0.1:8888/

YAST claims mod_proxy is installed.

Visiting the default Vhost index.cfm renders the file, but not executing
the CFML, so it’s obviously not proxying.

Anyone have a clue?

Ta!

T


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/08adbb59-e812-4b5a-bd16-d98d14fedda6%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/c1735218-8197-4736-9285-0ef43875a3e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Jordan: they’re there:

Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_prefork_module (static)
unixd_module (static)
systemd_module (static)
authz_host_module (shared)
actions_module (shared)
alias_module (shared)
authz_user_module (shared)
authn_file_module (shared)
auth_basic_module (shared)
authz_groupfile_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
include_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
status_module (shared)
userdir_module (shared)
asis_module (shared)
imagemap_module (shared)
proxy_module (shared)
proxy_ajp_module (shared)
proxy_connect_module (shared)
proxy_http_module (shared)
rewrite_module (shared)
ssl_module (shared)
php5_module (shared)
authn_core_module (shared)
authz_core_module (shared)
reqtimeout_module (shared)
socache_shmcb_module (shared)

TOn Monday, 20 February 2017 18:01:14 UTC, Jordan Michaels wrote:

First, let’s double check to make sure that mod_proxy and mod_proxy_html
are installed. You can check this (usually) by running the Apache binary or
control script with the -M switch.

Here’s a quick return of what I see on a Ubuntu system:

======================================
$ sudo apache2ctl -M
AH00558: apache2: Could not reliably determine the server’s fully
qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive
globally to suppress this message
Loaded Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
mime_module (shared)
mpm_event_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_http_module (shared)
setenvif_module (shared)
status_module (shared)

… and these are the two we’re lookin’ for:

proxy_module (shared)
proxy_http_module (shared)

Can you verify those exist on your system? If they do, then we know it’s a
config issue.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tom King” <t...@oxalto.co.uk <javascript:>>
To: “Lucee” <lu...@googlegroups.com <javascript:>>
Sent: Monday, February 20, 2017 6:51:29 AM
Subject: [Lucee] SUSE 12 and Apache connector

Hi All

I’m trying to install lucee on SUSE12;
Well, it’s actually already running and listening on port 8888, but the
apache config bit failed at the end as it couldn’t find the correct config
files/lib/modules etc.

So can anyone tell me what config I should be putting where on a SUSE
apache 2.4 install?
I;ve tried for instance, adding this to /etc/apache2/global.conf (also
tried default-server.conf), but no joy.

Allow from 127.0.0.1 ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2 # optional mappings #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1

#ProxyPassMatch http://127.0.0.1:8888/flex2gateway/$1#ProxyPassMatch
^/messagebroker/(.)$ http://127.0.0.1:8888/messagebroker/$1
#ProxyPassMatch http://127.0.0.1:8888/messagebroker/$1#ProxyPassMatch
^/flashservices/gateway(.
)$
http://127.0.0.1:8888/flashservices/gateway$1
#ProxyPassMatch
http://127.0.0.1:8888/flashservices/gateway$1#ProxyPassMatch
^/openamf/gateway/(.)$
http://127.0.0.1:8888/openamf/gateway/$1
#ProxyPassMatch http://127.0.0.1:8888/openamf/gateway/$1#ProxyPassMatch
^/rest/(.
)$ http://127.0.0.1:8888/rest/$1
ProxyPassReverse / http://127.0.0.1:8888/

YAST claims mod_proxy is installed.

Visiting the default Vhost index.cfm renders the file, but not executing
the CFML, so it’s obviously not proxying.

Anyone have a clue?

Ta!

T


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/08adbb59-e812-4b5a-bd16-d98d14fedda6%40googlegroups.com.

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

So adding:

Allow from 127.0.0.1 ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2 # optional mappings #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1 #ProxyPassMatch ^/messagebroker/(.*)$ http://127.0.0.1:8888/messagebroker/$1 #ProxyPassMatch ^/flashservices/gateway(.*)$ http://127.0.0.1:8888/flashservices/gateway$1 #ProxyPassMatch ^/openamf/gateway/(.*)$ http://127.0.0.1:8888/openamf/gateway/$1 #ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1 ProxyPassReverse / http://127.0.0.1:8888/

to /etc/apache2/httpd.conf,

Then doing:
service httpd restart

Gives:
Job for apache2.service failed because the control process exited with
error code. See “systemctl status apache2.service” and “journalctl -xe” for
details.

So there’s a syntax error somewhere. doing apachectl configtest gives:

AH00526: Syntax error on line 208 of /etc/apache2/httpd.conf:
Invalid command ‘Allow’, perhaps misspelled or defined by a module not
included in the server configuration

Thoughts?
Ta
T

That was it - Thank you Jordan!
TOn Monday, 20 February 2017 23:38:51 UTC, Jordan Michaels wrote:

Hi Tom,

You can remove that entire portion:

<Proxy *>
Allow from 127.0.0.1

This portion is a holdover from old builds and is no longer necessary or
present in the latest builds. Apologies for not noticing that sooner.


Kind regards,
Jordan Michaels
Vivio Technologies

----- Original Message -----
From: “Tom King” <t...@oxalto.co.uk <javascript:>>
To: “Lucee” <lu...@googlegroups.com <javascript:>>
Sent: Monday, February 20, 2017 1:03:04 PM
Subject: Re: [Lucee] SUSE 12 and Apache connector

So adding:

Allow from 127.0.0.1 ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2 ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2 # optional mappings #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1

#ProxyPassMatch http://127.0.0.1:8888/flex2gateway/$1#ProxyPassMatch
^/messagebroker/(.)$ http://127.0.0.1:8888/messagebroker/$1
#ProxyPassMatch http://127.0.0.1:8888/messagebroker/$1#ProxyPassMatch
^/flashservices/gateway(.
)$
http://127.0.0.1:8888/flashservices/gateway$1
#ProxyPassMatch
http://127.0.0.1:8888/flashservices/gateway$1#ProxyPassMatch
^/openamf/gateway/(.)$
http://127.0.0.1:8888/openamf/gateway/$1
#ProxyPassMatch http://127.0.0.1:8888/openamf/gateway/$1#ProxyPassMatch
^/rest/(.
)$ http://127.0.0.1:8888/rest/$1
ProxyPassReverse / http://127.0.0.1:8888/

to /etc/apache2/httpd.conf,

Then doing:
service httpd restart

Gives:
Job for apache2.service failed because the control process exited with
error code. See “systemctl status apache2.service” and “journalctl -xe”
for
details.

So there’s a syntax error somewhere. doing apachectl configtest gives:

AH00526: Syntax error on line 208 of /etc/apache2/httpd.conf:
Invalid command ‘Allow’, perhaps misspelled or defined by a module not
included in the server configuration

Thoughts?
Ta
T


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/4b7db624-3e32-4c5c-857a-becf71f90547%40googlegroups.com.

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