Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've got Apache2 and Tomcat 7 running and I'm using ProxyPass to direct certain VHosts that require Railo (CFML) through port 8080.

Things are working great, except for the fact that I can only access the root of the directory... subdomains give me a 404.

hosts:

127.0.0.1 railo.testing.local

vhost.config:

<VirtualHost *:80>
  ServerName "railo.testing.local"
  ProxyPass / http://railo.testing.local:8080/
  ProxyPassReverse / http://railo.testing.local:8080/
</VirtualHost>

server.xml:

<Host name="railo.testing.local" appBase="/Users/[myusername]/Sites/railo.testing.local/"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
        <Context path="" docBase="" debug="0"/>
</Host>

From my browser, railo.testing.local works great! However, if I try and access a subdomain like railo.testing.local/sub, this is when I get that ugly 404

share|improve this question
    
Take a look at Apache and Tomcat log, it will tell you the details. –  quanta Jul 29 '11 at 10:46
    
Does it work if you direct your web browser to railo.testing.local:8080/sub ? –  DoubleMalt Jul 29 '11 at 21:36
    
@DoubleMalt, no... I was thinking the same thing. –  dcolumbus Jul 30 '11 at 4:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.