Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 15th, 2002, 01:09 AM
kiniticist kiniticist is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 1 kiniticist User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
need help with chmod

i can't chmod files in cgi-bin. it says unknown commnad.
here is the settings. is it correct?? thx

ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache/cgi-bin">
Options ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Deny from all
Allow from 24.199.81.2
</Directory>

Reply With Quote
  #2  
Old February 15th, 2002, 01:28 AM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
At first, chmod has nothing to do with Apache. It's relation to Unix section. Also, I noticed that you are using Windows, which Windows don't have the chmod function as *nix at all. There are no premission file in Windows for the Apache server, which it's only for IIS. Well, I know nothing about IIS..

Anyway, I noticed that you have the Options ExecCGI, so you should change it to Options None because ScriptAlias'ed cgi-bin can't have any of option nor override. I would set it up follows:

Code:
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache/cgi-bin">
Options None
AllowOverride None
Order allow,deny
Allow from all 
</Directory>


If you still want to use ExecCGI then put it in home of <Directory "/xxx/xxx/htdocs">...

Last edited by mezz : February 15th, 2002 at 01:33 AM.

Reply With Quote
  #3  
Old February 15th, 2002, 07:15 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Order allow,deny
Allow from all
Deny from all
Allow from 24.199.81.2


If you only want to allow 24.199.81.2, then remove your Allow from all line, it's useless there because the decision is made from first to last and Deny from all wins over Allow from all in that case.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > need help with chmod


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT