Author Topic: OT - Apache for Windows file permissions help  (Read 2704 times)

0 Members and 1 Guest are viewing this topic.

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
OT - Apache for Windows file permissions help
Anyone know how to set file permissions in the Windows version of Apache?

------------------
America, stand assured that Israel truly understands what you are going through.

Know how to use Rhino3D? Want to put your ships into Freespace 2? You've come to the right place!

"He who laughs last thinks slowest."
"Just becase you're paranoid doesn't mean they're not out to get you."
"To err is human; to really screw up you need a computer."
Creator of the Sandvich Bar, the CapShip Turret Upgrade, the Complete FS2 Ship List and the System Backgrounds List (all available from the site)
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

 

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
OT - Apache for Windows file permissions help
*bump*
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

 

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
OT - Apache for Windows file permissions help
Ok, last *bump*...  

------------------
America, stand assured that Israel truly understands what you are going through.

Know how to use Rhino3D? Want to put your ships into Freespace 2? You've come to the right place!

"He who laughs last thinks slowest."
"Just becase you're paranoid doesn't mean they're not out to get you."
"To err is human; to really screw up you need a computer."
Creator of the Sandvich Bar, the CapShip Turret Upgrade, the Complete FS2 Ship List and the System Backgrounds List (all available from the site)
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

 

Offline neimad

  • 23
OT - Apache for Windows file permissions help
AFAIK it cannot be done.  CHMOD commands to Windows-based FTP servers don't work, which means that it is unlikely you can do anything HTTP-wise either.


Neimad

 

Offline Admiral LSD

  • 27
  • Shorter of breath and one day closer to death
    • http://adphq.dyndns.org
OT - Apache for Windows file permissions help
Can't you just change the permissions in the standard Windows NT manner, through the security tab in the files properties?

------------------
"Don't stop, baby, dreamin'"
"Don't stop, baby, lovin'"
"Don't stop, babe, believin'"
Wasurenaide...
"Don't stop, baby, dreamin'"
"Don't stop, baby, lovin'"
"Don't stop, babe, believin'"
...Watashi ga iru koto o.
Itsudatte soba ni iru yo.

Official NMCE www.netwerkin.com
00:19  * Snail cockslaps BotenAnna
00:19 -!- Snail was kicked from #hard-light by BotenAnna [Don't touch me there! RAPE!!!]

15:36 <@Stealth_T1g4h> MASSIVE PENIS IN YOUR ASS Linux

I normally enjoy your pornographic website... - Stealth
Get Internet Explorer!

 

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
OT - Apache for Windows file permissions help
 
Quote
Originally posted by Admiral LSD:
Can't you just change the permissions in the standard Windows NT manner, through the security tab in the files properties?


Nope - Apache doesn't integrate with the windows shell like IIS 4/5. :-/

------------------
America, stand assured that Israel truly understands what you are going through.

Know how to use Rhino3D? Want to put your ships into Freespace 2? You've come to the right place!

"He who laughs last thinks slowest."
"Just becase you're paranoid doesn't mean they're not out to get you."
"To err is human; to really screw up you need a computer."
Creator of the Sandvich Bar, the CapShip Turret Upgrade, the Complete FS2 Ship List and the System Backgrounds List (all available from the site)
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

 

Offline mikhael

  • Back to skool
  • 211
  • Fnord!
    • http://www.google.com/search?q=404error.com
OT - Apache for Windows file permissions help
ACtually, to a certain degree you CAN use NTFS permissions to control Apache access to files on your server. Remember: Apache runs as a user (and you certainly better be running it as an unpriveleged user!). You can give/deny permissions crudely by assigning them to the Apache user. This is rough.

The better method, the Apache method, is to create .htpasswd and .htaccess files. .htpasswd (which can be named almost anything) is a file that contains a list of usernames and some encrypted (via crypt()) passwords. .htaccess describes the sorts of access users will have, as well as the name and location of the password file to use. In order to allow the use of .htaccess files, you need to do an AllowOverride in your httpd.conf file, in the section pertaining to the server, virtual server, or alias in question.

All that said, I'd recommend against Apache on NT/2k/XP, if only because it doesn't integrate with the NT's security services.

------------------
--Mik http://www.404error.com
ruhkferret on ICQ/AIM

"Your guy was a little SQUARE! You had to use your IMAGINATION! There were no multiple levels or screens. There was just one screen forever and you could never win the game. It just kept getting harder and faster until you died. JUST LIKE LIFE." --Ernie Cline

[This message has been edited by mikhael (edited 01-19-2002).]
[I am not really here. This post is entirely a figment of your imagination.]

  

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
OT - Apache for Windows file permissions help
 
Quote
Originally posted by mikhael:
ACtually, to a certain degree you CAN use NTFS permissions to control Apache access to files on your server. Remember: Apache runs as a user (and you certainly better be running it as an unpriveleged user!). You can give/deny permissions crudely by assigning them to the Apache user. This is rough.

The better method, the Apache method, is to create .htpasswd and .htaccess files. .htpasswd (which can be named almost anything) is a file that contains a list of usernames and some encrypted (via crypt()) passwords. .htaccess describes the sorts of access users will have, as well as the name and location of the password file to use. In order to allow the use of .htaccess files, you need to do an AllowOverride in your httpd.conf file, in the section pertaining to the server, virtual server, or alias in question.

All that said, I'd recommend against Apache on NT/2k/XP, if only because it doesn't integrate with the NT's security services.


Hmmmm, the problem is that I tried runnind IIS 5, and all it got me was a swarm of Nimda worms in the \scripts directory. So I said "screw that" and went back to Apache. Besides, I wanted to experiment with PHP/MySQL, not some M$ crap.

The reason I wanted to find out about the permissions in the first place was because I ran across a BB that uses PHP, but it needs to be able to write to files... :-/

------------------
America, stand assured that Israel truly understands what you are going through.

Know how to use Rhino3D? Want to put your ships into Freespace 2? You've come to the right place!

"He who laughs last thinks slowest."
"Just becase you're paranoid doesn't mean they're not out to get you."
"To err is human; to really screw up you need a computer."
Creator of the Sandvich Bar, the CapShip Turret Upgrade, the Complete FS2 Ship List and the System Backgrounds List (all available from the site)
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill