Hello all,

I am really in a pickle, and I need some help.  I am running a small
internal app on RoR and our network guy needs all authentication to
run over SSL.

I have read some docs online, but there are very few examples
involving my setup.  I could install mongrel and follow some better
examples, but I am hesitant because this app is in a production
environment

I have the SSL portion running fine, however trying to access my app
barfs out 404 errors.  I do however get the "Welcome to Rails screen"
but the following error pops up when clicking the "About your
application's environment"

Not Found

The requested URL /rails/info/properties was not found on this server.
Apache/2.0.52 (Red Hat) Server at <hostname> Port 443


The non-SSL is working fine.  Here's my apache conf file

NameVirtualHost *:80
NameVirtualHost *:443
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
#lHost *:80>
<VirtualHost *:80>
    ServerName  servername
    DocumentRoot /var/www/html/kryptonite/public
    ErrorLog logs/error_log
    CustomLog logs/access_log combined
    <Directory /var/www/html/kryptonite >
      Options ExecCGI FollowSymLinks
      AddHandler cgi-script .cgi
      AddHandler cgi-script .fcgi
      AllowOverride all
      Order allow,deny
      Allow from all
    </Directory>
  </VirtualHost>

<VirtualHost *:443>
ServerName servername:443
DocumentRoot /var/www/html/kryptonite/public
TransferLog logs/apache_ssl_transfer_log
ErrorLog logs/error_log
CustomLog logs/access_log combined

    <Directory /var/www/html/kryptonite >
      Options ExecCGI FollowSymLinks
      AddHandler cgi-script .cgi
      AddHandler cgi-script .fcgi
      AllowOverride all
 AllowOverride all
      Order allow,deny
      Allow from all
    </Directory>

SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:
+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key

RequestHeader set X_FORWARDED_PROTO 'https'

<FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
</FilesMatch>
BrowserMatch ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0
</VirtualHost>




The details:
Apache 2.0
FastCGI
Red Hat EL 4.0


My gut feeling is it may be a permission issue, but would like a
second opinion.

Any and all help is greatly appreciated and let me know if you require
anything else

Thanks,

Seth.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to