Hello, I''ve followed along the tutorial and hit a roadblock here: ------------------------------ My example will use: http://host/rails as the directory, so: Alias /rails /home/scott/rails/public At this point you ought to be able to go to: http://localhost/rails and see the congratulations screen. ----------------------------- I don''t see a congratulations screen, but instead see 403 forbidden you don''t have permission to access /rails/ on this server. - Thad Guidry
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Dec 23, 2004, at 11:10 AM, Thad Guidry wrote:> Hello, > > I''ve followed along the tutorial and hit a roadblock here: > ------------------------------ > My example will use: > > http://host/rails > > as the directory, so: > > Alias /rails /home/scott/rails/public > > At this point you ought to be able to go to: > > http://localhost/rails > > and see the congratulations screen. > ----------------------------- > > I don''t see a congratulations screen, but instead see 403 forbidden > you don''t have permission to access /rails/ on this server.Try Alias /rails /home/scott/rails/public <Location /rails> DirectoryIndex dispatch.cgi </Location> Or add them to your main DirectoryIndex files. - - - Jason -----BEGIN PGP SIGNATURE----- Version: PGP 8.1 iQA/AwUBQcslEFUyB+ajXkCLEQKsZwCg0Y1uHYzjlsBufhJIwszySa5d3rsAn1XJ ULW5gbGlK3Rm2idLWOuz7+vy =kObV -----END PGP SIGNATURE-----
I now get this for the following URLs: http://sgblibdk6 - Works great, shows Apache http://sgblibdk6/rails - 404 not found The requested URL /rails was not found on this server. http://sgblibdk6/rails/ - 403 forbidden You don''t have permission to access /rails/ on this server. Help again? On Thu, 23 Dec 2004 12:05:36 -0800, Jason Hoffman <jason-0PGoR/GKms8ttkmooHk4QwC/G2K4zDHf@public.gmane.org> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Dec 23, 2004, at 11:10 AM, Thad Guidry wrote: > > > Hello, > > > > I''ve followed along the tutorial and hit a roadblock here: > > ------------------------------ > > My example will use: > > > > http://host/rails > > > > as the directory, so: > > > > Alias /rails /home/scott/rails/public > > > > At this point you ought to be able to go to: > > > > http://localhost/rails > > > > and see the congratulations screen. > > ----------------------------- > > > > I don''t see a congratulations screen, but instead see 403 forbidden > > you don''t have permission to access /rails/ on this server. > > Try > > Alias /rails /home/scott/rails/public > <Location /rails> > DirectoryIndex dispatch.cgi > </Location> > > Or add them to your main DirectoryIndex files. > > - - - Jason > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.1 > > iQA/AwUBQcslEFUyB+ajXkCLEQKsZwCg0Y1uHYzjlsBufhJIwszySa5d3rsAn1XJ > ULW5gbGlK3Rm2idLWOuz7+vy > =kObV > -----END PGP SIGNATURE----- > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
I could be totally off here - I''m not sure if you are installing on windows or Linux/BSD/OS X but I know that I when I installed on my Windows box I had to create "c:\tmp" directory for anything to work. -----Original Message----- From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Thad Guidry Sent: Thursday, December 23, 2004 2:29 PM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: Re: [Rails] Help with install. NonVhost Apache 2 I now get this for the following URLs: http://sgblibdk6 - Works great, shows Apache http://sgblibdk6/rails - 404 not found The requested URL /rails was not found on this server. http://sgblibdk6/rails/ - 403 forbidden You don''t have permission to access /rails/ on this server. Help again? On Thu, 23 Dec 2004 12:05:36 -0800, Jason Hoffman <jason-0PGoR/GKms8ttkmooHk4QwC/G2K4zDHf@public.gmane.org> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Dec 23, 2004, at 11:10 AM, Thad Guidry wrote: > > > Hello, > > > > I''ve followed along the tutorial and hit a roadblock here: > > ------------------------------ > > My example will use: > > > > http://host/rails > > > > as the directory, so: > > > > Alias /rails /home/scott/rails/public > > > > At this point you ought to be able to go to: > > > > http://localhost/rails > > > > and see the congratulations screen. > > ----------------------------- > > > > I don''t see a congratulations screen, but instead see 403 forbidden > > you don''t have permission to access /rails/ on this server. > > Try > > Alias /rails /home/scott/rails/public > <Location /rails> > DirectoryIndex dispatch.cgi > </Location> > > Or add them to your main DirectoryIndex files. > > - - - Jason > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.1 > > iQA/AwUBQcslEFUyB+ajXkCLEQKsZwCg0Y1uHYzjlsBufhJIwszySa5d3rsAn1XJ > ULW5gbGlK3Rm2idLWOuz7+vy > =kObV > -----END PGP SIGNATURE----- > > _______________________________________________ > 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
On Thu, Dec 23, 2004 at 02:29:13PM -0600, Thad Guidry wrote:> I now get this for the following URLs: > > http://sgblibdk6 - Works great, shows Apache > > http://sgblibdk6/rails - 404 not found The requested URL /rails was > not found on this server. > > http://sgblibdk6/rails/ - 403 forbidden You don''t have permission to > access /rails/ on this server. > > Help again?I think you need to change your .htaccess file. Before /dispatch.cgi you need to place /rails> > On Thu, 23 Dec 2004 12:05:36 -0800, Jason Hoffman > <jason-0PGoR/GKms8ttkmooHk4QwC/G2K4zDHf@public.gmane.org> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Dec 23, 2004, at 11:10 AM, Thad Guidry wrote: > > > > > Hello, > > > > > > I''ve followed along the tutorial and hit a roadblock here: > > > ------------------------------ > > > My example will use: > > > > > > http://host/rails > > > > > > as the directory, so: > > > > > > Alias /rails /home/scott/rails/public > > > > > > At this point you ought to be able to go to: > > > > > > http://localhost/rails > > > > > > and see the congratulations screen. > > > ----------------------------- > > > > > > I don''t see a congratulations screen, but instead see 403 forbidden > > > you don''t have permission to access /rails/ on this server. > > > > Try > > > > Alias /rails /home/scott/rails/public > > <Location /rails> > > DirectoryIndex dispatch.cgi > > </Location> > > > > Or add them to your main DirectoryIndex files. > > > > - - - Jason > > > > -----BEGIN PGP SIGNATURE----- > > Version: PGP 8.1 > > > > iQA/AwUBQcslEFUyB+ajXkCLEQKsZwCg0Y1uHYzjlsBufhJIwszySa5d3rsAn1XJ > > ULW5gbGlK3Rm2idLWOuz7+vy > > =kObV > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > 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 > >
Tried this, same 404 not found when trying http://sgblibdk6/rails. Following changes made to .htaccess in my rails/public folder # Change extension from .cgi to .fcgi to switch to FCGI and to .rb to switch to mod_ruby RewriteBase /rails/dispatch.cgi Any other ideas ? - Thad On Thu, 23 Dec 2004 21:46:09 +0100, Roeland Moors <roelandmoors-CNXmb7IdZIWZIoH1IeqzKA@public.gmane.org> wrote:> On Thu, Dec 23, 2004 at 02:29:13PM -0600, Thad Guidry wrote: > > I now get this for the following URLs: > > > > http://sgblibdk6 - Works great, shows Apache > > > > http://sgblibdk6/rails - 404 not found The requested URL /rails was > > not found on this server. > > > > http://sgblibdk6/rails/ - 403 forbidden You don''t have permission to > > access /rails/ on this server. > > > > Help again? > > I think you need to change your .htaccess file. > Before /dispatch.cgi you need to place /rails > > > > > On Thu, 23 Dec 2004 12:05:36 -0800, Jason Hoffman > > <jason-0PGoR/GKms8ttkmooHk4QwC/G2K4zDHf@public.gmane.org> wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > On Dec 23, 2004, at 11:10 AM, Thad Guidry wrote: > > > > > > > Hello, > > > > > > > > I''ve followed along the tutorial and hit a roadblock here: > > > > ------------------------------ > > > > My example will use: > > > > > > > > http://host/rails > > > > > > > > as the directory, so: > > > > > > > > Alias /rails /home/scott/rails/public > > > > > > > > At this point you ought to be able to go to: > > > > > > > > http://localhost/rails > > > > > > > > and see the congratulations screen. > > > > ----------------------------- > > > > > > > > I don''t see a congratulations screen, but instead see 403 forbidden > > > > you don''t have permission to access /rails/ on this server. > > > > > > Try > > > > > > Alias /rails /home/scott/rails/public > > > <Location /rails> > > > DirectoryIndex dispatch.cgi > > > </Location> > > > > > > Or add them to your main DirectoryIndex files. > > > > > > - - - Jason > > > > > > -----BEGIN PGP SIGNATURE----- > > > Version: PGP 8.1 > > > > > > iQA/AwUBQcslEFUyB+ajXkCLEQKsZwCg0Y1uHYzjlsBufhJIwszySa5d3rsAn1XJ > > > ULW5gbGlK3Rm2idLWOuz7+vy > > > =kObV > > > -----END PGP SIGNATURE----- > > > > > > _______________________________________________ > > > 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 >
Rails is installed at C:\rails and ruby installed at C:\ruby and apache installed at C:\apache WEBrick is working ok and I get Rails splash screen with this setup for WEBrick:>---------------------------------#!/usr/local/bin/ruby require ''webrick'' include WEBrick s = HTTPServer.new( :Port => 2000, :DocumentRoot => Dir::pwd + "/htdocs" ) ## mount subdirectories s.mount("/rails",HTTPServlet::FileHandler,"c:/rails/public",true) trap("INT"){ s.shutdown } s.start>----------------------------------Maybe Apache is not configured to work correctly. Or is Ruby not configured correctly? I did a Gem install for Ruby on Rails. All of that worked flawlessly, I think. Must be permissions ? I don''t know much about Apache configuration, but learning every second. - Thad On Thu, 23 Dec 2004 14:48:17 -0600, Thad Guidry <thadguidry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Tried this, same 404 not found when trying http://sgblibdk6/rails. > Following changes made to .htaccess in my rails/public folder > > # Change extension from .cgi to .fcgi to switch to FCGI and to .rb to > switch to mod_ruby > RewriteBase /rails/dispatch.cgi > > Any other ideas ? > > - Thad > > > On Thu, 23 Dec 2004 21:46:09 +0100, Roeland Moors > <roelandmoors-CNXmb7IdZIWZIoH1IeqzKA@public.gmane.org> wrote: > > On Thu, Dec 23, 2004 at 02:29:13PM -0600, Thad Guidry wrote: > > > I now get this for the following URLs: > > > > > > http://sgblibdk6 - Works great, shows Apache > > > > > > http://sgblibdk6/rails - 404 not found The requested URL /rails was > > > not found on this server. > > > > > > http://sgblibdk6/rails/ - 403 forbidden You don''t have permission to > > > access /rails/ on this server. > > > > > > Help again? > > > > I think you need to change your .htaccess file. > > Before /dispatch.cgi you need to place /rails > > > > > > > > On Thu, 23 Dec 2004 12:05:36 -0800, Jason Hoffman > > > <jason-0PGoR/GKms8ttkmooHk4QwC/G2K4zDHf@public.gmane.org> wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > On Dec 23, 2004, at 11:10 AM, Thad Guidry wrote: > > > > > > > > > Hello, > > > > > > > > > > I''ve followed along the tutorial and hit a roadblock here: > > > > > ------------------------------ > > > > > My example will use: > > > > > > > > > > http://host/rails > > > > > > > > > > as the directory, so: > > > > > > > > > > Alias /rails /home/scott/rails/public > > > > > > > > > > At this point you ought to be able to go to: > > > > > > > > > > http://localhost/rails > > > > > > > > > > and see the congratulations screen. > > > > > ----------------------------- > > > > > > > > > > I don''t see a congratulations screen, but instead see 403 forbidden > > > > > you don''t have permission to access /rails/ on this server. > > > > > > > > Try > > > > > > > > Alias /rails /home/scott/rails/public > > > > <Location /rails> > > > > DirectoryIndex dispatch.cgi > > > > </Location> > > > > > > > > Or add them to your main DirectoryIndex files. > > > > > > > > - - - Jason > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: PGP 8.1 > > > > > > > > iQA/AwUBQcslEFUyB+ajXkCLEQKsZwCg0Y1uHYzjlsBufhJIwszySa5d3rsAn1XJ > > > > ULW5gbGlK3Rm2idLWOuz7+vy > > > > =kObV > > > > -----END PGP SIGNATURE----- > > > > > > > > _______________________________________________ > > > > 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 > > >
On Thu, Dec 23, 2004 at 02:48:17PM -0600, Thad Guidry wrote:> Tried this, same 404 not found when trying http://sgblibdk6/rails. > Following changes made to .htaccess in my rails/public folder > > # Change extension from .cgi to .fcgi to switch to FCGI and to .rb to > switch to mod_ruby > RewriteBase /rails/dispatch.cgi > > Any other ideas ? > >I have something like this, but I don''t know if it works for you: remove the RewriteBase line, add /? on the beginning of the line: # Add missing slash RewriteRule ^/?([-_a-zA-Z0-9]+)$ /rails/$1/ [R] # Default rewriting rules. RewriteRule ^/?([-_a-zA-Z0-9]+)/([-_a-zA-Z0-9]+)/([0-9]+)$ /rails/dispatch.cgi?controller=$1&action=$2&id=$3 [QSA,L] RewriteRule ^/?([-_a-zA-Z0-9]+)/([-_a-zA-Z0-9]+)$ /rails/dispatch.cgi?controller=$1&action=$2 [QSA,L] RewriteRule ^/?([-_a-zA-Z0-9]+)/$ /rails/dispatch.cgi?controller=$1&action=index [QSA,L] RewriteRule ^/?([-_a-zA-Z0-9]+)/([-_a-zA-Z0-9]+)/([-_a-zA-Z0-9]+)/([0-9]+)$ /rails/dispatch.cgi?module=$1&controller=$2&action=$3&id=$4 [QSA,L] RewriteRule ^/?([-_a-zA-Z0-9]+)/([-_a-zA-Z0-9]+)/([-_a-zA-Z0-9]+)$ /rails/dispatch.cgi?module=$1&controller=$2&action=$3 [QSA,L] RewriteRule ^/?([-_a-zA-Z0-9]+)/([-_a-zA-Z0-9]+)/$ /rails/dispatch.cgi?module=$1&controller=$2&action=index [QSA,L]> > On Thu, 23 Dec 2004 21:46:09 +0100, Roeland Moors > <roelandmoors-CNXmb7IdZIWZIoH1IeqzKA@public.gmane.org> wrote: > > On Thu, Dec 23, 2004 at 02:29:13PM -0600, Thad Guidry wrote: > > > I now get this for the following URLs: > > > > > > http://sgblibdk6 - Works great, shows Apache > > > > > > http://sgblibdk6/rails - 404 not found The requested URL /rails was > > > not found on this server. > > > > > > http://sgblibdk6/rails/ - 403 forbidden You don''t have permission to > > > access /rails/ on this server. > > > > > > Help again? > > > > I think you need to change your .htaccess file. > > Before /dispatch.cgi you need to place /rails > > > > > > > > On Thu, 23 Dec 2004 12:05:36 -0800, Jason Hoffman > > > <jason-0PGoR/GKms8ttkmooHk4QwC/G2K4zDHf@public.gmane.org> wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > On Dec 23, 2004, at 11:10 AM, Thad Guidry wrote: > > > > > > > > > Hello, > > > > > > > > > > I''ve followed along the tutorial and hit a roadblock here: > > > > > ------------------------------ > > > > > My example will use: > > > > > > > > > > http://host/rails > > > > > > > > > > as the directory, so: > > > > > > > > > > Alias /rails /home/scott/rails/public > > > > > > > > > > At this point you ought to be able to go to: > > > > > > > > > > http://localhost/rails > > > > > > > > > > and see the congratulations screen. > > > > > ----------------------------- > > > > > > > > > > I don''t see a congratulations screen, but instead see 403 forbidden > > > > > you don''t have permission to access /rails/ on this server. > > > > > > > > Try > > > > > > > > Alias /rails /home/scott/rails/public > > > > <Location /rails> > > > > DirectoryIndex dispatch.cgi > > > > </Location> > > > > > > > > Or add them to your main DirectoryIndex files. > > > > > > > > - - - Jason > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: PGP 8.1 > > > > > > > > iQA/AwUBQcslEFUyB+ajXkCLEQKsZwCg0Y1uHYzjlsBufhJIwszySa5d3rsAn1XJ > > > > ULW5gbGlK3Rm2idLWOuz7+vy > > > > =kObV > > > > -----END PGP SIGNATURE----- > > > > > > > > _______________________________________________ > > > > 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 > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >
Just a wild guess here but you say: On Thu, 23 Dec 2004 13:10:18 -0600, Thad Guidry <thadguidry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> [ ... ] > Alias /rails /home/scott/rails/publicDo you have "/home/scott/" as your home directory? And if so, make sure that you apache can actually have permissions to the subdirectories there, usually in linux by default the home directories have 700 as permissions. I would say it''s usually better to have your rails installations outside your home unless you are the only user in the box, then it''s not that bad (just make your user part of the "apache" group -or wathever it is- or give everybody execute or read permissions for this dir). Not sure if this is your problem but ... might help, /B -- Bruno Mattarollo <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Fixed the problem. Basically I followed this tutorial with no problems : http://www.leetsoft.com/rails/lesson3.html Nice tutorial. This needs to be ON rubyonrails.org and HYPERLINKED right on the HOMEPAGE... FOR WINDOWS / APACHE USERS, LOOK HERE FIRST. I basically was screwing up and typing in this : http://localhost/rails when all I needed to do was add rails to my hosts file as shown in the tutorial and then get to rails homepage with this: http://rails - ARRGHH... so simple !!! and PRESTO ! It worked. Just like in the tutorial. My suggestion: Add those damn lessons where folks can find them fast . FOR WINDOWS USERS , CLICK HERE TO ELIMINATE ANY HEADACHES WITH APACHE !! Peace and Grease - Thad On Fri, 24 Dec 2004 12:30:04 +1100, Bruno Mattarollo <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Just a wild guess here but you say: > > On Thu, 23 Dec 2004 13:10:18 -0600, Thad Guidry <thadguidry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > [ ... ] > > Alias /rails /home/scott/rails/public > > Do you have "/home/scott/" as your home directory? > > And if so, make sure that you apache can actually have permissions to > the subdirectories there, usually in linux by default the home > directories have 700 as permissions. I would say it''s usually better > to have your rails installations outside your home unless you are the > only user in the box, then it''s not that bad (just make your user part > of the "apache" group -or wathever it is- or give everybody execute or > read permissions for this dir). > > Not sure if this is your problem but ... might help, > > /B > > -- > Bruno Mattarollo <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >
On Thu, Dec 23, 2004 at 07:45:48PM -0600, Thad Guidry wrote:> Fixed the problem. Basically I followed this tutorial with no problems : > http://www.leetsoft.com/rails/lesson3.html > > Nice tutorial. This needs to be ON rubyonrails.org and HYPERLINKED > right on the HOMEPAGE... FOR WINDOWS / APACHE USERS, LOOK HERE FIRST. > > I basically was screwing up and typing in this : > http://localhost/rails > > when all I needed to do was add rails to my hosts file as shown in the > tutorial and then get to rails homepage with this: > > http://rails - ARRGHH... so simple !!! > > and PRESTO ! It worked. Just like in the tutorial. > > My suggestion: Add those damn lessons where folks can find them fast . > FOR WINDOWS USERS , CLICK HERE TO ELIMINATE ANY HEADACHES WITH APACHE > !! > >Isn''t that just a vhost installation like in the video on the main page of rubyonrails.org? -- Roeland> > On Fri, 24 Dec 2004 12:30:04 +1100, Bruno Mattarollo > <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Just a wild guess here but you say: > > > > On Thu, 23 Dec 2004 13:10:18 -0600, Thad Guidry <thadguidry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > [ ... ] > > > Alias /rails /home/scott/rails/public > > > > Do you have "/home/scott/" as your home directory? > > > > And if so, make sure that you apache can actually have permissions to > > the subdirectories there, usually in linux by default the home > > directories have 700 as permissions. I would say it''s usually better > > to have your rails installations outside your home unless you are the > > only user in the box, then it''s not that bad (just make your user part > > of the "apache" group -or wathever it is- or give everybody execute or > > read permissions for this dir). > > > > Not sure if this is your problem but ... might help, > > > > /B > > > > -- > > Bruno Mattarollo <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >
Thanks for the nice words ! I''m glad they were useful On Thu, 23 Dec 2004 19:45:48 -0600, Thad Guidry <thadguidry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Fixed the problem. Basically I followed this tutorial with no problems : > http://www.leetsoft.com/rails/lesson3.html > > Nice tutorial. This needs to be ON rubyonrails.org and HYPERLINKED > right on the HOMEPAGE... FOR WINDOWS / APACHE USERS, LOOK HERE FIRST. > > I basically was screwing up and typing in this : > http://localhost/rails > > when all I needed to do was add rails to my hosts file as shown in the > tutorial and then get to rails homepage with this: > > http://rails - ARRGHH... so simple !!! > > and PRESTO ! It worked. Just like in the tutorial. > > My suggestion: Add those damn lessons where folks can find them fast . > FOR WINDOWS USERS , CLICK HERE TO ELIMINATE ANY HEADACHES WITH APACHE > !! > > Peace and Grease > - Thad > > On Fri, 24 Dec 2004 12:30:04 +1100, Bruno Mattarollo > <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Just a wild guess here but you say: > > > > On Thu, 23 Dec 2004 13:10:18 -0600, Thad Guidry <thadguidry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > [ ... ] > > > Alias /rails /home/scott/rails/public > > > > Do you have "/home/scott/" as your home directory? > > > > And if so, make sure that you apache can actually have permissions to > > the subdirectories there, usually in linux by default the home > > directories have 700 as permissions. I would say it''s usually better > > to have your rails installations outside your home unless you are the > > only user in the box, then it''s not that bad (just make your user part > > of the "apache" group -or wathever it is- or give everybody execute or > > read permissions for this dir). > > > > Not sure if this is your problem but ... might help, > > > > /B > > > > -- > > Bruno Mattarollo <bruno.mattarollo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Tobi http://blog.leetsoft.com