Apache2 on windows 2003 permissions?


#1

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


#2

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


#3

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


#4

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 P.” removed_email_address@domain.invalid
To: removed_email_address@domain.invalid
Sent: Tuesday, December 06, 2005 5:41 PM
Subject: Re: resolved - Re: [Rails] apache2 on windows 2003 permissions?


#5

What errors/problems are you seeing?

Richard.


#6

On second thoughts forget I asked - just saw your resolution :slight_smile:

Richard.


#7

Frank, realize this is probably a silly question, but whats the first
line in your dispatch.fcgi say?


#8

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 S. wrote:

FastCGI could not find my app on d:

regards

Frank


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

Regards,

Frank R.
removed_email_address@domain.invalid


#9

Actually, I meant the VERY first line, which looks like a comment but
is infact a little magical :slight_smile: 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


#10

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 S. wrote:

RailsFCGIHandler.process!
On 12/6/05, Frank R. removed_email_address@domain.invalid wrote:

Hi, Frank,


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

Regards,

Frank R.
removed_email_address@domain.invalid


#11

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 B. wrote:

Hello,


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

Regards,

Frank R.
removed_email_address@domain.invalid