I've got a ruby on rails application running on apache2 with phusion-passenger. The application works flawlessly on the local trusted network, but I can't access it on our wireless (untrusted) or any external networks. I can ping the server on the external networks, but I get nothing visiting the url for either the default page or the ssl page. I've already confirmed with our network services that everything is properly configured on the firewall.
I've currently got it set up to forward non secure traffic through https, the configs are:
default:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
Redirect permanent / https://www.example.com/
</VirtualHost>
default-ssl:
<IfModule mod_ssl.c>
NameVirtualHost *:443
<VirtualHost *:443>
ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/rails/example/current/public
<Directory /var/rails/example/current/public>
AllowOverride all
Options -MultiViews
RailsEnv production
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
SSLEngine on
SSLCertificateFile /usr/local/ssl/public/certificate.crt
SSLCertificateKeyFile /usr/local/ssl/private/example.key
SSLCertificateChainFile /usr/local/ssl/crt/intermediate.crt
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
and apache2ctl -S outputs:
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
[Thu Nov 15 10:50:40 2012] [warn] NameVirtualHost *:443 has no VirtualHosts
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:443 is a NameVirtualHost
default server betrnet.mc.vanderbilt.edu (/etc/apache2/sites-enabled/default-ssl:3)
port 443 namevhost betrnet.mc.vanderbilt.edu (/etc/apache2/sites-enabled/default-ssl:3)
*:80 is a NameVirtualHost
default server betrnet.mc.vanderbilt.edu (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost betrnet.mc.vanderbilt.edu (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
Any help would be greatly appreciated!