Hello, I think I am having a permissions problem running apache2 on windows 2003. My apps runs fine on apache2 on windows xp. What permissions do I need to set for windows 2003? Thanks Frank _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Hello, I had to install ruby, rails and apache on windows 2003 c:\ drive. It would not run on d:\ drive. Does anyone know why? Thanks Frank _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Hi, Frank, i''m running the same configuation on windows 2003 server. apache and ruby are each installed on e:\ which is NOT the drive where the windows-system folders reside but my ''programs''-drive. No problems here with that configuration. regards Jan Frank wrote:> Hello, > > I had to install ruby, rails and apache on windows 2003 c:\ drive. > > It would not run on d:\ drive. > > Does anyone know why? > > Thanks > > Frank > > >------------------------------------------------------------------------ > >_______________________________________________ >Rails mailing list >Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >http://lists.rubyonrails.org/mailman/listinfo/rails > >
Hmm... I''m stumped. I fooled around with this all day and did not get it working until I reinstalled everything to c: FastCGI could not find my app on d: I still have my apps on d: and it works now that ruby & apache2 are on c: Frank ----- Original Message ----- From: "Jan Prill" <JanPrill-sTn/vYlS8ieELgA04lAiVw@public.gmane.org> To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> Sent: Tuesday, December 06, 2005 5:41 PM Subject: Re: resolved - Re: [Rails] apache2 on windows 2003 permissions?> Hi, Frank, > > i''m running the same configuation on windows 2003 server. apache and ruby > are each installed on e:\ which is NOT the drive where the windows-system > folders reside but my ''programs''-drive. No problems here with that > configuration. > > regards > Jan > > Frank wrote: > >> Hello, >> I had to install ruby, rails and apache on windows 2003 c:\ drive. >> It would not run on d:\ drive. >> Does anyone know why? >> Thanks >> >> Frank >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>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 >
What errors/problems are you seeing? Richard. On 12/7/05, Frank <farocco-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> > Hello, > > I think I am having a permissions problem running apache2 on windows 2003. > > My apps runs fine on apache2 on windows xp. > > What permissions do I need to set for windows 2003? > > Thanks > Frank > > _______________________________________________ > 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 second thoughts forget I asked - just saw your resolution :) Richard. On 12/7/05, Richard Bywater <rbywater-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > What errors/problems are you seeing? > > Richard. > > On 12/7/05, Frank <farocco-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > > > Hello, > > > > I think I am having a permissions problem running apache2 on windows > > 2003. > > > > My apps runs fine on apache2 on windows xp. > > > > What permissions do I need to set for windows 2003? > > > > >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Frank, realize this is probably a silly question, but whats the first line in your dispatch.fcgi say? On 12/6/05, Frank Rocco <farocco-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> Hmm... > > I''m stumped. I fooled around with this all day and did not get it working > until I reinstalled everything to c: > > FastCGI could not find my app on d: > I still have my apps on d: and it works now that ruby & apache2 are on c: > > Frank > ----- Original Message ----- > From: "Jan Prill" <JanPrill-sTn/vYlS8ieELgA04lAiVw@public.gmane.org> > To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > Sent: Tuesday, December 06, 2005 5:41 PM > Subject: Re: resolved - Re: [Rails] apache2 on windows 2003 permissions? > > > > Hi, Frank, > > > > i''m running the same configuation on windows 2003 server. apache and ruby > > are each installed on e:\ which is NOT the drive where the windows-system > > folders reside but my ''programs''-drive. No problems here with that > > configuration. > > > > regards > > Jan > > > > Frank wrote: > > > >> Hello, > >> I had to install ruby, rails and apache on windows 2003 c:\ drive. > >> It would not run on d:\ drive. > >> Does anyone know why? > >> Thanks > >> > >> Frank > >> > >>------------------------------------------------------------------------ > >> > >>_______________________________________________ > >>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 >
I solved it by moving it to c: I do not know why it will not run on d: The message was something like FastCGI could not find my app on drive d: I think apache2 could not run FastCGI correctly, but I am not sure. Thanks Frank On Dec 6, 2005, at 7:47 PM, Richard Bywater wrote:> On second thoughts forget I asked - just saw your resolution :) > > Richard. > > On 12/7/05, Richard Bywater <rbywater-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > What errors/problems are you seeing? > > Richard. > > On 12/7/05, Frank < farocco-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > Hello, > > I think I am having a permissions problem running apache2 on > windows 2003. > > My apps runs fine on apache2 on windows xp. > > What permissions do I need to set for windows 2003? > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/railsRegards, Frank Rocco farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
require File.dirname(__FILE__) + "/../config/environment" require ''fcgi_handler'' RailsFCGIHandler.process! This is the default, I did not change it. Frank On Dec 6, 2005, at 9:20 PM, Nick Stuart wrote:> Frank, realize this is probably a silly question, but whats the first > line in your dispatch.fcgi say? > > On 12/6/05, Frank Rocco <farocco-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: >> Hmm... >> >> I''m stumped. I fooled around with this all day and did not get it >> working >> until I reinstalled everything to c: >> >> FastCGI could not find my app on d: >> I still have my apps on d: and it works now that ruby & apache2 >> are on c: >> >> Frank >> ----- Original Message ----- >> From: "Jan Prill" <JanPrill-sTn/vYlS8ieELgA04lAiVw@public.gmane.org> >> To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> >> Sent: Tuesday, December 06, 2005 5:41 PM >> Subject: Re: resolved - Re: [Rails] apache2 on windows 2003 >> permissions? >> >> >>> Hi, Frank, >>> >>> i''m running the same configuation on windows 2003 server. apache >>> and ruby >>> are each installed on e:\ which is NOT the drive where the >>> windows-system >>> folders reside but my ''programs''-drive. No problems here with that >>> configuration. >>> >>> regards >>> Jan >>> >>> Frank wrote: >>> >>>> Hello, >>>> I had to install ruby, rails and apache on windows 2003 c:\ drive. >>>> It would not run on d:\ drive. >>>> Does anyone know why? >>>> Thanks >>>> >>>> Frank >>>> >>>> ------------------------------------------------------------------- >>>> ----- >>>> >>>> _______________________________________________ >>>> 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/railsRegards, Frank Rocco farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Actually, I meant the VERY first line, which looks like a comment but is infact a little magical :) It tells the dispatch process where to find ruby so it can run. It probably reads some thing like: #!c:/ruby/bin/rubyw But, since you said you tried first to install ruby/rails on your d: drive then you''ll run into issues because this is pointing to the wrong spot. The line would instead have to read: #!d:/ruby/bin/rubyw I''m guessing at this, but since you said you developed/ran this fine on an XP machine I''m assuming you had everything on the c: drive there. -Nick On 12/7/05, Frank Rocco <farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org> wrote:> require File.dirname(__FILE__) + "/../config/environment" > require ''fcgi_handler'' > > RailsFCGIHandler.process! > > This is the default, I did not change it. > > Frank > > On Dec 6, 2005, at 9:20 PM, Nick Stuart wrote: > > Frank, realize this is probably a silly question, but whats the first > line in your dispatch.fcgi say? > > On 12/6/05, Frank Rocco <farocco-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: > > Hmm... > > I''m stumped. I fooled around with this all day and did not get it working > until I reinstalled everything to c: > > FastCGI could not find my app on d: > I still have my apps on d: and it works now that ruby & apache2 are on c: > > Frank > ----- Original Message ----- > From: "Jan Prill" <JanPrill-sTn/vYlS8ieELgA04lAiVw@public.gmane.org> > To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > Sent: Tuesday, December 06, 2005 5:41 PM > Subject: Re: resolved - Re: [Rails] apache2 on windows 2003 permissions? > > > > Hi, Frank, > > i''m running the same configuation on windows 2003 server. apache and ruby > are each installed on e:\ which is NOT the drive where the windows-system > folders reside but my ''programs''-drive. No problems here with that > configuration. > > regards > Jan > > Frank wrote: > > > Hello, > I had to install ruby, rails and apache on windows 2003 c:\ drive. > It would not run on d:\ drive. > Does anyone know why? > Thanks > > Frank > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 > > Regards, > > Frank Rocco > farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
Thanks Nick, I will try and install on drive d: tomorrow. Again, thanks for your help. Frank On Dec 7, 2005, at 9:05 AM, Nick Stuart wrote:> Actually, I meant the VERY first line, which looks like a comment but > is infact a little magical :) It tells the dispatch process where > to find ruby so it can run. > > It probably reads some thing like: > #!c:/ruby/bin/rubyw > But, since you said you tried first to install ruby/rails on your d: > drive then you''ll run into issues because this is pointing to the > wrong spot. The line would instead have to read: > #!d:/ruby/bin/rubyw > > I''m guessing at this, but since you said you developed/ran this fine > on an XP machine I''m assuming you had everything on the c: drive > there. > > -Nick > > On 12/7/05, Frank Rocco <farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org> wrote: >> require File.dirname(__FILE__) + "/../config/environment" >> require ''fcgi_handler'' >> >> RailsFCGIHandler.process! >> >> This is the default, I did not change it. >> >> Frank >> >> On Dec 6, 2005, at 9:20 PM, Nick Stuart wrote: >> >> Frank, realize this is probably a silly question, but whats the first >> line in your dispatch.fcgi say? >> >> On 12/6/05, Frank Rocco <farocco-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote: >> >> Hmm... >> >> I''m stumped. I fooled around with this all day and did not get it >> working >> until I reinstalled everything to c: >> >> FastCGI could not find my app on d: >> I still have my apps on d: and it works now that ruby & apache2 >> are on c: >> >> Frank >> ----- Original Message ----- >> From: "Jan Prill" <JanPrill-sTn/vYlS8ieELgA04lAiVw@public.gmane.org> >> To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> >> Sent: Tuesday, December 06, 2005 5:41 PM >> Subject: Re: resolved - Re: [Rails] apache2 on windows 2003 >> permissions? >> >> >> >> Hi, Frank, >> >> i''m running the same configuation on windows 2003 server. apache >> and ruby >> are each installed on e:\ which is NOT the drive where the windows- >> system >> folders reside but my ''programs''-drive. No problems here with that >> configuration. >> >> regards >> Jan >> >> Frank wrote: >> >> >> Hello, >> I had to install ruby, rails and apache on windows 2003 c:\ drive. >> It would not run on d:\ drive. >> Does anyone know why? >> Thanks >> >> Frank >> >> --------------------------------------------------------------------- >> --- >> >> _______________________________________________ >> 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 >> >> Regards, >> >> Frank Rocco >> farocco-H+0wwilmMs3R7s880joybQ@public.gmane.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/railsRegards, Frank Rocco farocco-H+0wwilmMs3R7s880joybQ@public.gmane.org