Scott Caldwell
2005-Oct-10 17:52 UTC
stylesheets directory unavailable in Apache but not Webrick
I''m just getting started with Rails so be gentle. In apache my
stylesheets are unavailable but in Webrick they work. Has anyone had this
problem?
Here''s the vhost information for my very simple test application:
I''m using Apache on Windows XP with FastCGI
# meetings.caldwells.com
<VirtualHost *>
ServerName meetings.caldwells.com
DocumentRoot "c:/rails_projects/www/meetings/public/"
ErrorLog "c:/rails_projects/www/meetings/log/apache.log"
<Directory "c:/rails_projects/www/meetings/public/">
Options ExecCGI FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Thanks,
Scott Caldwell
Thanks,
Scott Caldwell
Database Administrator
City of Fayetteville
113 W Mountain St
Fayetteville, AR 72701
(479) 575-8329 phone
(479) 575-8316 fax
http://www.accessfayetteville.org/
http://www.faygis.org/
Thanks,
Scott Caldwell
Database Administrator
City of Fayetteville
113 W Mountain St
Fayetteville, AR 72701
(479) 575-8329 phone
(479) 575-8316 fax
http://www.accessfayetteville.org/
http://www.faygis.org/
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Hunter Hillegas
2005-Oct-10 18:27 UTC
Re: stylesheets directory unavailable in Apache but not Webrick
What are the permissions on the public directory?
My guess is that they are too restrictive for the stuff to be served... Are
you getting a 404 or a 403 error?
From: Scott Caldwell
<scaldwell-/DAvXy6QZ+vK3RCjbGthhYxCdd4DKPPf@public.gmane.org>
Reply-To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org>
Date: Mon, 10 Oct 2005 12:52:56 -0500
To: <"<rails"@lists.rubyonrails.org>,
<">"@lists.rubyonrails.org>
Subject: [Rails] stylesheets directory unavailable in Apache but not Webrick
I''m just getting started with Rails so be gentle. In apache my
stylesheets
are unavailable but in Webrick they work. Has anyone had this problem?
Here''s the vhost information for my very simple test application:
I''m using Apache on Windows XP with FastCGI
# meetings.caldwells.com
<VirtualHost *>
ServerName meetings.caldwells.com
DocumentRoot "c:/rails_projects/www/meetings/public/"
ErrorLog "c:/rails_projects/www/meetings/log/apache.log"
<Directory "c:/rails_projects/www/meetings/public/">
Options ExecCGI FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Thanks,
Scott Caldwell
Thanks,
Scott Caldwell
Database Administrator
City of Fayetteville
113 W Mountain St
Fayetteville, AR 72701
(479) 575-8329 phone
(479) 575-8316 fax
http://www.accessfayetteville.org/
http://www.faygis.org/
Thanks,
Scott Caldwell
Database Administrator
City of Fayetteville
113 W Mountain St
Fayetteville, AR 72701
(479) 575-8329 phone
(479) 575-8316 fax
http://www.accessfayetteville.org/
http://www.faygis.org/
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Hunter Hillegas
2005-Oct-10 18:45 UTC
Re: stylesheets directory unavailable in Apache but notWebrick
What are the permissions on the public directory?
My guess is that they are too restrictive for the stuff to be served... Are
you getting a 404 or a 403 error?
From: Scott Caldwell
<scaldwell-/DAvXy6QZ+vK3RCjbGthhYxCdd4DKPPf@public.gmane.org>
Reply-To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org>
Date: Mon, 10 Oct 2005 12:52:56 -0500
To: <"<rails"@lists.rubyonrails.org>,
<">"@lists.rubyonrails.org>
Subject: [Rails] stylesheets directory unavailable in Apache but not Webrick
I''m just getting started with Rails so be gentle. In apache my
stylesheets
are unavailable but in Webrick they work. Has anyone had this problem?
Here''s the vhost information for my very simple test application:
I''m using Apache on Windows XP with FastCGI
# meetings.caldwells.com
<VirtualHost *>
ServerName meetings.caldwells.com
DocumentRoot "c:/rails_projects/www/meetings/public/"
ErrorLog "c:/rails_projects/www/meetings/log/apache.log"
<Directory "c:/rails_projects/www/meetings/public/">
Options ExecCGI FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Thanks,
Scott Caldwell
Thanks,
Scott Caldwell
Database Administrator
City of Fayetteville
113 W Mountain St
Fayetteville, AR 72701
(479) 575-8329 phone
(479) 575-8316 fax
http://www.accessfayetteville.org/
http://www.faygis.org/
Thanks,
Scott Caldwell
Database Administrator
City of Fayetteville
113 W Mountain St
Fayetteville, AR 72701
(479) 575-8329 phone
(479) 575-8316 fax
http://www.accessfayetteville.org/
http://www.faygis.org/
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Wilson Bilkovich
2005-Oct-10 20:07 UTC
Re: stylesheets directory unavailable in Apache but not Webrick
On 10/10/05, Scott Caldwell <scaldwell-/DAvXy6QZ+vK3RCjbGthhYxCdd4DKPPf@public.gmane.org> wrote:> > > I''m just getting started with Rails so be gentle. In apache my stylesheets > are unavailable but in Webrick they work. Has anyone had this problem? > > Here''s the vhost information for my very simple test application: > > I''m using Apache on Windows XP with FastCGI > > # meetings.caldwells.com > <VirtualHost *> > ServerName meetings.caldwells.com > DocumentRoot "c:/rails_projects/www/meetings/public/" > ErrorLog "c:/rails_projects/www/meetings/log/apache.log" > <Directory "c:/rails_projects/www/meetings/public/"> > Options ExecCGI FollowSymLinks > AllowOverride all > Order allow,deny > Allow from all > </Directory> > </VirtualHost> >Is this on 0.13.1, or edge? I had this problem with the trunk until I re-ran the "rails" command to update to the new scripts. --Wilson.