Eu tenho um apache com meu vhost como:
<VirtualHost *:81>
ServerName sandbox.myserver.com
DocumentRoot /var/www/mysite/current/public
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
# Insert filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
# the above regex won't work. You can use the following
# workaround to get the desired effect:
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Don't compress images
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
LogLevel error
ErrorLog /var/log/apache2/vgm-error.log
CustomLog /var/log/apache2/vgm-access.log combined
# Turn on the rewrite engine
RewriteEngine on
# X-Request is for older rpm in notifications/vgm, X-Queue is for the newer gems
RequestHeader set X-Request-Start "%t"
RequestHeader set X-Queue-Start "%t"
</VirtualHost>
Portanto, eu tenho um projeto Rails nesse DocumentRoot
, mas quando eu acesso meu Apache na porta 81, recebo um erro 503
Eu estou realmente perplexo e não sei o que fazer a partir daqui. Qualquer ajuda seria muito apreciada
EDITAR
Resultados da execução de apache2ctl -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:81 sandbox.mysite.com (/etc/apache2/sites-enabled/mysite:1)
Syntax OK
Tags ruby-on-rails apache-2.2