Scott Caldwell
2005-Oct-10 19:16 UTC
Re: stylesheets directory unavailable in Apache but notWebrick
I''m getting a 404 error...see below 127.0.0.1 - - [10/Oct/2005:13:37:43 -0500] "GET /stylesheets/meetings.css HTTP/1.1" 404 613 When I try to access the stylesheet directly via the browser I get a routing error. Recognition failed for "/stylesheets/meetings.css" The permissions seem correct. Users have read execute, list folder contents & read permissions. 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/>>> Hunter Hillegas <lists-HAWAbpnI61OZ1JSuHaJ1sQC/G2K4zDHf@public.gmane.org> 10/10/2005 1:27:19 PM >>>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