I'm trying to start railo-jetty using supervisor and I'm getting an error:
warning: /service/railo-jetty: unable to open supervice/ok: file does not exist
What could be the issue?
I'm trying to start railo-jetty using supervisor and I'm getting an error:
warning: /service/railo-jetty: unable to open supervice/ok: file does not exist
What could be the issue?
Goodday,
First of all i'm very green when it comes to server related stuff so bear with me. I'm running ubuntu 11.10 and I have installed an apache tomcat railo stack on my server using https://github.com/talltroym/Railo-Ubuntu-Installer-Script/blob/master/setup-railo.sh
So far everything is fine and the server works perfectly, however I seem to be at a loss as to how to configure multiple websites. Right now every connection seems to be going to /var/www/.
I've tried adding a new vhost in apache which worked perfectly apart from the fact that it was just outputting my cfml files and not passing through the railo server.
I'm thinking this is due to the fact that it needs to be told that railo needs to handle this, after some research I found this line in the available-sites/default-ssl file:
DirectoryIndex index.cfm index.cfml default.cfm default.cfml index.htm index.html
#Proxy .cfm and cfc requests to Railo
ProxyPassMatch ^/(.+.cf[cm])(/.*)?$ http://127.0.0.1:8080/$1
ProxyPassReverse / http://127.0.0.1:8080/
after copying these lines into the new vhost railo seemed to be activating correctly but was running from /var/www and not the directory I had set in the vhost.
My new vhost looks like this:
<VirtualHost *:80>
DocumentRoot "/var/www/test"
ServerName -hidden-
<Directory "/var/www/test">
allow from all
Options +Indexes
</Directory>
DirectoryIndex index.cfm index.cfml default.cfm default.cfml index.htm index.html
#Proxy .cfm and cfc requests to Railo
ProxyPassMatch ^/(.+.cf[cm])(/.*)?$ http://127.0.0.1:8080/$1
ProxyPassReverse / http://127.0.0.1:8080/
#Deny access to admin except for local clients
<Location /railo-context/admin/>
Order deny,allow
Deny from all
Allow from 172.16.0.0/16
Allow from 192.168.0.0/24
</Location>
</VirtualHost>
I could use some pointers as to where I need to change things for this to work. Cheers!
I'm part way through setting up a Railo server, running alongside Apache on a Ubuntu Rackpspace cloud server.
I've got Apache working fine, it will server PHP pages, I've got subdomains set up as well, that's all fine.
I've installed Railo, and I briefly got to look at the Railo administrator, but as soon as I added DirectorIndex index.cfm to the config files in /etc/apache/sites-available the Railo administrator stopped working, and all of my CFML domains just seem to load infinitely in the browser.
They never time out, and they never load. I don't understand what I've done wrong?
I've got an entry in my server.xml file like this:
<Host name="dev.willshawmedia.com" appBase="webapps">
<Context path="" docBase="/var/www/vhosts/willshawmedia.com/subdomains/dev/httpdocs/" />
</Host>
And an file in /sites-available/ with the following:
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName dev.willshawmedia.com
DocumentRoot /var/www/vhosts/willshawmedia.com/subdomains/dev/httpdocs
DirectoryIndex index.cfm
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/vhosts/willshawmedia.com/subdomains/dev/httpdocs>
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
I've run a2ensite willshawmedia.com, and that's working becuase http://willshawmedia.com is displaying an old php page.
But I just can't get railo to work. Any ideas?
Have a look at http://dev.willshawmedia.com
EDIT: I've made some progress. I'm using the mod_jk connector, and the mod_jk.log file is saying tomcat is probably listening on the wrong port.
I'm also getting a service error=-3 for worker=ajp13_worker
I am writing a website using Railo. My code is to be deployed on a Railo Server running on Tomcat, overlayed on a regular Apache+PHP server.
I need to send all requests to http://subdomain.myserver.co.uk/
and its child files to the directory /public_html/railo/tomcat/webapps/ROOT/subdomain/
directory.
I defined a subdomain in cPanel, with the document root as /public_html/railo/tomcat/webapps/ROOT/subdomain/
, but still requests to http://subdomain.myserver.co.uk/
display files in /public_html/railo/tomcat/webapps/ROOT/
. I can view my files if I request http://subdomain.myserver.co.uk/subdomain/
I've been fiddling with the .htaccess files for quite some time now, but I'm stuck
Is there any way I can do what I'm trying to achieve, or am I resigned to get those pages using http://subdomain.myserver.co.uk/subdomain/
I've installed Railo 3.2.1.000 final, what worries me is that I can view the contents of the C:\ even though the web-context is located in d:\sites\mysite.com\
Can each website be restricted to ONLY it's files?